-
Notifications
You must be signed in to change notification settings - Fork 648
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: Older versions of setuptools no longer work #1896
Comments
This is fixed in #1884, making the build dependency on setuptools>=61 explicit. The version requirement in 25.1.1 ought to be |
Anyone with an old version of setuptools still gets 25.1.1, which will then fail. Can the 25.1.1 version be yanked to avoid that? |
I don't think it should be yanked, but I will publish a 25.1.2 with the version bound, though. |
This is also not true most of the time, because any standard install will get the latest setuptools during build:
gives:
so the vast majority of installs will either
neither of which encounter any errors. The same goes for the documented "install from source", which should use |
If there is another package in your software project that needs an older setuptools, pip would keep that version. In larger projects there are many version requirements, so it would be nice if version resolving works reliably. But you are right, it only appears in special situations. |
Can you point to a concrete example? I might be missing something, because there really are so many ways to install packages. Since pip's standard behavior is isolated environments for each package, pyzmq's build dependencies shouldn't be related to any other package in your environment. The dependency is only shared across packages if each package's build environment is ignored (e.g. |
Build dosen't use any version of setuptools anymore. |
What pyzmq version?
25.1.1
What libzmq version?
Not relevant
Python version (and how it was installed)
3.8.10 via Ubuntu
OS
Ubuntu 20.04
What happened?
Version 25.1.1 no longer installs with older version of setuptools, e.g. setuptools==41.0.0:
This was introduced in 8292503. Version 25.1.0 still works with setuptools==41.0.0.
A minimal version requirement should be added.
Code to reproduce bug
Traceback, if applicable
No response
More info
No response
The text was updated successfully, but these errors were encountered: