Update legacy editables support for compatibility with setuptools >= 69#12477
Update legacy editables support for compatibility with setuptools >= 69#12477
Conversation
f00a2be to
630ba15
Compare
|
Obvious question, but is there an easy way to run the Pip test suite using setuptools<69? Some users pin their build dependencies either for their own project via |
630ba15 to
98dc4b2
Compare
|
You can test that by constraining setuptools in |
|
Thanks, I tested this branch locally using I did have one flaky test |
|
Thanks for confirming @notatallshaw. I have not experienced the flakyness myself, though. |
Since version 69, setuptools preserves
_in Name metadata and.egg-linkfiles (before it converted them to-).This is an attempt to make pip freeze and pip uninstall compatible with that behaviour, as well as fix various part of the testsuite that depended on that. The changes should be compatible with previous setuptools versions too.
This includes and extends #12458.