inspection: error on unsupported metadata versions #9350
Annotations
2 errors
Run pytest:
tests/inspection/test_info.py#L213
test_info_from_wheel_metadata_version_unknown
AssertionError: assert 'Unknown metadata version' in 'Unable to determine package info for path: /home/runner/work/poetry/poetry/tests/fixtures/distributions/demo_metadata_version_unknown-0.1.0-py2.py3-none-any.whl\n\nNo such file: /home/runner/work/poetry/poetry/tests/fixtures/distributions/demo_metadata_version_unknown-0.1.0-py2.py3-none-any.whl'
+ where 'Unable to determine package info for path: /home/runner/work/poetry/poetry/tests/fixtures/distributions/demo_metadata_version_unknown-0.1.0-py2.py3-none-any.whl\n\nNo such file: /home/runner/work/poetry/poetry/tests/fixtures/distributions/demo_metadata_version_unknown-0.1.0-py2.py3-none-any.whl' = str(PackageInfoError('Unable to determine package info for path: /home/runner/work/poetry/poetry/tests/fixtures/distributions/demo_metadata_version_unknown-0.1.0-py2.py3-none-any.whl\n\nNo such file: /home/runner/work/poetry/poetry/tests/fixtures/distributions/demo_metadata_version_unknown-0.1.0-py2.py3-none-any.whl'))
+ where PackageInfoError('Unable to determine package info for path: /home/runner/work/poetry/poetry/tests/fixtures/distributions/demo_metadata_version_unknown-0.1.0-py2.py3-none-any.whl\n\nNo such file: /home/runner/work/poetry/poetry/tests/fixtures/distributions/demo_metadata_version_unknown-0.1.0-py2.py3-none-any.whl') = <ExceptionInfo PackageInfoError('Unable to determine package info for path: /home/runner/work/poetry/poetry/tests/fixtures/distributi.../home/runner/work/poetry/poetry/tests/fixtures/distributions/demo_metadata_version_unknown-0.1.0-py2.py3-none-any.whl') tblen=2>.value
|
Run pytest
Process completed with exit code 1.
|
Loading