make use of locked markers in lock file version 2.1 and thereby avoid dependency walk failed
#481
Annotations
10 errors and 1 warning
Run pytest:
tests/test_exporter.py#L1334
test_exporter_can_export_requirements_txt_with_git_packages_and_markers[2.1]
assert 'foo @ git+ht...ion < "4.0"\n' == 'foo @ git+ht...ion < "3.7"\n'
- foo @ git+https://github.com/foo/foo.git@abcdef ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "3.7"
? ^ ^
+ foo @ git+https://github.com/foo/foo.git@abcdef ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"
? ^ ^
|
Run pytest:
tests/test_exporter.py#L3281
test_dependency_walk_error[2.1]
assert 'bar==1 ; pyt...ion < "4.0"\n' == 'bar==1 ; pyt...ion < "4.0"\n'
- bar==1 ; python_version >= "3.8" and python_version < "3.9"
? ^ ^
+ bar==1 ; python_version >= "3.8" and python_version < "4.0"
? ^ ^
- bar==2 ; python_version >= "3.9" and python_version < "4.0"
? ^
+ bar==2 ; python_version >= "3.8" and python_version < "4.0"
? ^
- foo==1 ; python_version >= "3.8" and python_version < "3.9"
? ^ ^
+ foo==1 ; python_version >= "3.8" and python_version < "4.0"
? ^ ^
- foo==2 ; python_version >= "3.9" and python_version < "4.0"
? ^
+ foo==2 ; python_version >= "3.8" and python_version < "4.0"
? ^
|
Run pytest:
tests/test_exporter.py#L592
test_exporter_can_export_requirements_txt_with_nested_packages_and_markers_any[2.1-False-lines0]
assert 'a==1.2.3 ; p...rsion < "4.0"' == 'a==1.2.3 ; p...rsion < "3.8"'
- a==1.2.3 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "3.8"
? ^ ^
+ a==1.2.3 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"
? ^ ^
|
Run pytest:
tests/test_exporter.py#L1530
test_exporter_can_export_requirements_txt_with_directory_packages_and_markers[2.1]
assert 'foo @ file:/...ion < "4.0"\n' == 'foo @ file:/...ion < "3.7"\n'
- foo @ file:///home/runner/work/poetry-plugin-export/poetry-plugin-export/tests/fixtures/sample_project ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "3.7"
? ^^^
+ foo @ file:///home/runner/work/poetry-plugin-export/poetry-plugin-export/tests/fixtures/sample_project ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"
? ^^^
|
Run pytest:
tests/test_exporter.py#L338
test_exporter_can_export_requirements_txt_poetry[2.1]
assert <MarkerUnion python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"> == <MultiMarker python_version >= "2.7" and (python_version < "2.8" or python_version >= "3.6") and python_version < "4.0" and sys_platform == "linux">
+ where <MarkerUnion python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"> = <Dependency cryptography (==3.2)>.marker
+ and <MultiMarker python_version >= "2.7" and (python_version < "2.8" or python_version >= "3.6") and python_version < "4.0" and sys_platform == "linux"> = <Dependency cryptography (==3.2)>.marker
|
Run pytest:
tests/test_exporter.py#L218
test_exporter_can_export_requirements_txt_with_standard_packages_and_markers[2.1]
assert 'bar==4.5.6 ;...ion < "4.0"\n' == 'bar==4.5.6 ;...ion < "3.7"\n'
bar==4.5.6 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"
- baz==7.8.9 ; python_version >= "2.7" and python_version < "2.8" and sys_platform == "win32" or python_version >= "3.6" and python_version < "4.0" and sys_platform == "win32"
? ------------- --------------- ----------------------------
+ baz==7.8.9 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"
- foo==1.2.3 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "3.7"
? ^ ^
+ foo==1.2.3 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"
? ^ ^
|
Run pytest:
tests/test_exporter.py#L421
test_exporter_can_export_requirements_txt_pyinstaller[2.1]
assert <MarkerUnion python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"> == <MultiMarker python_version >= "2.7" and (python_version < "2.8" or python_version >= "3.6") and python_version < "4.0" and sys_platform == "darwin">
+ where <MarkerUnion python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"> = <Dependency macholib (==1.8)>.marker
+ and <MultiMarker python_version >= "2.7" and (python_version < "2.8" or python_version >= "3.6") and python_version < "4.0" and sys_platform == "darwin"> = <Dependency macholib (==1.8)>.marker
|
Run pytest:
tests/test_exporter.py#L2849
test_exporter_respects_package_sources[2.1]
assert 'foo @ https:...ion < "4.0"\n' == 'foo @ https:... == "linux"\n'
- foo @ https://example.com/foo-darwin.whl ; python_version >= "3.6" and python_version < "4.0" and sys_platform == "darwin"
? -----------------------------
+ foo @ https://example.com/foo-darwin.whl ; python_version >= "3.6" and python_version < "4.0"
- foo @ https://example.com/foo-linux.whl ; python_version >= "3.6" and python_version < "4.0" and sys_platform == "linux"
? ----------------------------
+ foo @ https://example.com/foo-linux.whl ; python_version >= "3.6" and python_version < "4.0"
|
Run pytest:
tests/test_exporter.py#L1289
test_exporter_can_export_requirements_txt_with_nested_packages_and_multiple_markers[2.1]
assert 'bar==7.8.9 ;...ion < "4.0"\n' == 'bar==7.8.9 ;...ion < "4.0"\n'
bar==7.8.9 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"
- baz==10.11.13 ; python_version >= "2.7" and python_version < "2.8" and platform_system == "Windows" or python_version >= "3.6" and python_version < "4.0" and platform_system == "Windows"
? --------- ------------------------ ---------------------------------
+ baz==10.11.13 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"
foo==1.2.3 ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"
|
Run pytest:
tests/test_exporter.py#L1618
test_exporter_can_export_requirements_txt_with_file_packages_and_markers[2.1]
assert 'foo @ file:/...ion < "4.0"\n' == 'foo @ file:/...ion < "3.7"\n'
- foo @ file:///home/runner/work/poetry-plugin-export/poetry-plugin-export/tests/fixtures/distributions/demo-0.1.0.tar.gz ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "3.7"
? ^^^
+ foo @ file:///home/runner/work/poetry-plugin-export/poetry-plugin-export/tests/fixtures/distributions/demo-0.1.0.tar.gz ; python_version >= "2.7" and python_version < "2.8" or python_version >= "3.6" and python_version < "4.0"
? ^^^
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading