-
Notifications
You must be signed in to change notification settings - Fork 173
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
[BUG] Setuptools 58+ breaks prospector #438
Comments
We solved it hardcoding |
Bleh, this is going to be a pain. Having said that I was considering removing it anyway but it'll take a while. Unfortunately for now, |
Hardcoding might cause problems to users. If there is a different dependency that requires Since |
I think the temporary hard coding should be |
This is breakout our CI pipeline in an indirect and hard to debug way, so I share this here: During installation of
This results in pip installing
It would be great if this can be fixed properly! |
… fork which is compatible with setuptools 58 and also fixes compatibility with python 3.6+ (and drops <3.6)
I have just released version I made a new package - https://github.com/carlio/setoptconf-tmp - which is just setoptconf but fixes compatibility with setuptools>=58 and also removes some unnecessary backwards-compatible code: it was supporting python versions 2.7-3.3 but now only 3.6+ :-) If any of you could test that this pre-release version of prospector works in your CI pipeline, I will promote it to being a real release. Thanks @pmav99 for the suggestion of the temporary setoptconf version. I'll get on with replacing it separately. |
Thanks @carlio ! I tested using |
Ok, I promoted it to a full release ( if not I'm sure I'll be told soon enough... |
+ fix requirements-linter.txt prospector-dev/prospector#438
+ fix requirements-linter.txt prospector-dev/prospector#438
+ fix requirements-linter.txt prospector-dev/prospector#438
- Remove setuptools version pinning as the prospector issue has been fixed: - prospector-dev/prospector#438 - Fix webapp prod build on alpine
- Remove setuptools version pinning as the prospector issue has been fixed: - prospector-dev/prospector#438 - Fix webapp prod build on alpine
Describe the bug
Install latest
setuptools
. It seems automatic 2to3 has been removed which breakssetoptconf
internally.Related issue: pypa/setuptools#2086
As a workaround one can pin
setuptools
to57.*
mean while.To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: