1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Test that the install report has requires_dist

This is important for legacy setuptools distributions that do not
have Requires-Dist in PKG-INFO.
This commit is contained in:
Stéphane Bidoul 2022-06-03 22:36:57 +02:00
parent fbb8f6509d
commit d6685d09cf
No known key found for this signature in database
GPG key ID: BCAB2555446B5B92

View file

@ -85,6 +85,7 @@ def test_install_report_index(script: PipTestEnvironment, tmp_path: Path) -> Non
paste_report["download_info"]["archive_info"]["hash"]
== "sha256=11645842ba8ec986ae8cfbe4c6cacff5c35f0f4527abf4f5581ae8b4ad49c0b6"
)
assert "requires_dist" in paste_report["metadata"]
@pytest.mark.network