Skip to content

Commit d6685d0

Browse files
committed
Test that the install report has requires_dist
This is important for legacy setuptools distributions that do not have Requires-Dist in PKG-INFO.
1 parent fbb8f65 commit d6685d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/functional/test_install_report.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def test_install_report_index(script: PipTestEnvironment, tmp_path: Path) -> Non
8585
paste_report["download_info"]["archive_info"]["hash"]
8686
== "sha256=11645842ba8ec986ae8cfbe4c6cacff5c35f0f4527abf4f5581ae8b4ad49c0b6"
8787
)
88+
assert "requires_dist" in paste_report["metadata"]
8889

8990

9091
@pytest.mark.network

0 commit comments

Comments
 (0)