diff --git a/setuptools/tests/test_core_metadata.py b/setuptools/tests/test_core_metadata.py index bc2e09ba7e..cf0bb32e9f 100644 --- a/setuptools/tests/test_core_metadata.py +++ b/setuptools/tests/test_core_metadata.py @@ -378,6 +378,7 @@ def dist(self, request, monkeypatch, tmp_path): config = retrieve_file(request.param) yield setupcfg.apply_configuration(Distribution({}), config) + @pytest.mark.uses_network def test_equivalent_output(self, tmp_path, dist): """Ensure output from setuptools is equivalent to the one from `pypa/wheel`""" # Generate a METADATA file using pypa/wheel for comparison @@ -455,6 +456,7 @@ def _normalize_metadata(msg: Message) -> str: del msg["Requires-Dist"] del msg["Provides-Extra"] + # Ensure consistent ord for req in sorted(reqs): msg["Requires-Dist"] = req for extra in sorted(extras):