New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update setuptools requirements #549
Conversation
Hm....
This does not fit well with On the other hand, Anyway, if version 3 alpha is in a working state, we should push forward to use it and fix possible edge case, instead of putting too much effort into the 2.13 line. |
I hope I'm not misrepresenting anything, but Jim Fulton's goal for zc.buildout was to make it usable for clean non-system Python installations that don't have any 3rd-party packages (like setuptools) installed. That was the job of bootstrap.py and it's dev-only equivalent dev.py. (Unfortunately I don't remember what the exact difference between these two scripts was.) Things in the ecosystem have changed sufficiently that we dropped bootstrap.py and now expect the users to already have a working (Of course the devil is in the details.) |
I do not feel competent to review this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can confirm setuptools needs to be pinned < 52.
Is |
As long as And concerning the Python 2 support - @jamadden indicated that also buildout 3 will /should support Python 2. |
The pin of less than 52 seems good. Minimum 42.0.1 seems reasonable. But is it really needed? Most packages can be installed with much older setuptools versions. If someone wants |
setuptools is now pinned to <52. setuptools version 52 broke support for easy_install https://github.com/pypa/setuptools/blob/main/CHANGES.rst#breaking-changes-1
@mauritsvanrees Thanks for your review - I updated the version pin accordingly. I still think it is a frustrating experience to install a package which leads to a broken environment, but on the other hand, I can fix it by changing the version in my versions.cfg. On the other hand, if we followed my proposal, and for some "reasons" somebody needs e.g. setuptools 9, there would be no way to fix it - except pinning down buildout... So, let's get this merged and look forward to buildout 3! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM now.
setuptools is now pinned to <52.
setuptools version 52 broke support for easy_install
https://github.com/pypa/setuptools/blob/main/CHANGES.rst#breaking-changes-1
info below is now invalid
This fixes #543