Repository navigation
Test with setuptools 79 and 80. - #708
Conversation
|
Indeed it fails on setuptools 80 as we are calling We could try replacing that with I am unlikely to work on this the next few days. |
|
Ah, wait, it fails because we call And calling it still works, just tried on a random project outside of buildout: With setuptools 80, the help is much smaller: I removed the So |
|
Locally, with This comes from setuptools here and here. Anyway, we are getting into territory of Okay, enough for now. :-) |
Locally I already saw problems due to recent changes. https://setuptools.pypa.io/en/latest/history.html At first I tested with 80.0.0, now with 80.2.0. Later versions will still fail, because `package_index.py` was removed. That should be fixed separately.
This option does not exist on setuptools 80+. But this needs more changes.
The warnings that setuptools prints, are interfering with fixing bugs. See reasoning in comment in the code.
That setuptools version uses pip, which does things rather differently.
These lines are easier to test for, as we control them. Otherwise there are differences depending on the setuptools version.
distutils scripts are no longer detected here.
Our changes seem to work on setuptools 79 and lower as well, but they are only mandatory on 80 and higher.
ff4c09e to
19c38bc
Compare
19c38bc to
770a51f
Compare
|
It works! The build is green (and hopefully stays green now that I did a final rebase, edited some comments, and moved to testing setuptools 80.2.0 instead of 80.0.0). And it works locally when I try it on the Plone coredev Buildout with setuptools 80.0.0. This PR fixes editable installs on setuptools 80.0.0 until and including 80.2.0. Later versions have different problems, to be solved separately. The main fix is that with setuptools 80 we now need to "manually" create an On setuptools 79 and lower, Buildout basically does the same thing as it did before. "distutils scripts" are not detected anymore with setuptools 80, but I don't even know what these are, so this is probably not a problem. See comments in the code. |
|
@icemac @dataflake @gotcha This is ready. Or try my follow-up PR #712 which builds on this one plus it fixes the problems caused by the removal of |
|
I have released |
Locally I already saw problems due to recent changes. https://setuptools.pypa.io/en/latest/history.html