The test test_pkginfo_to_metadataexpects "pip @ https://..."(space before @) but the _convert_requirementsfunction produces "pip@ https://..."(space after @). This inconsistency causes test failure.
Environment:
wheel 0.46.3
Python 3.14.2
Minimal reproduction:
/usr/lib/python3-wheel/ptest# python3 -m pytest tests/test_metadata.py::test_pkginfo_to_metadata -v
......
At index 3 diff: ('Requires-Dist', 'pip@ https://github.com/pypa/pip/archive/1.3.1.zip')
!= ('Requires-Dist', 'pip @ https://github.com/pypa/pip/archive/1.3.1.zip').
......
Question:
Should the implementation be fixed to match the test (space before @), or should the test be fixed to match the implementation (space after @)?