-
Notifications
You must be signed in to change notification settings - Fork 45
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
Installing v1.8.0 from sdist fails with old pip versions #299
Comments
This version has been yanked from PyPI and I will push a new release under 1.8.1 that restricts Previous versions did used to include the cythonised files but it caused all sorts of problems with newer Python versions or gcc versions turning warnings into errors over time which would be fixed by newer Cython versions. I incorrect assumed that since PEP 517 support has been out since 2018 that it would be ok but seems like RHEL 8 slipped through the cracks. I'll try to request it to be deleted but there's no guarantees PyPI will accommodate that request. I've requested the version to be deleted by the PyPI admins but I'm unsure if they will accept the request. Considering there is a |
Closing, now that it's removed from https://pypi.org/project/gssapi/#history. |
Yep, the setting the delete the version was a bit lower than where I checked, 1.8.0 has been removed and 1.8.1 will include |
version 1.8.0 had issues and has been pulled from pypi by the maintainers. It is replaced with 1.8.1 so quick fix that See for more details pythongssapi/python-gssapi#299 Change-Id: Iec56618d1c1c59fdefce4913b8c7595bf4451954
* Update requirements from branch 'master' to 332d9d977692a4def5c9ee0a1d07ff5939ea006f - Update gssapi constraint version 1.8.0 had issues and has been pulled from pypi by the maintainers. It is replaced with 1.8.1 so quick fix that See for more details pythongssapi/python-gssapi#299 Change-Id: Iec56618d1c1c59fdefce4913b8c7595bf4451954
What went wrong?
Whenever a pip version that's used doesn't support PEP 517/518, it just calls
setup.py
commands instead. This means that the dependencies declared inpyproject.toml
don't get pre-installed.This is what's been happening in Ansible Core CI since Friday.
How do we reproduce?
Click to expand the repro log
Component versions (python-gssapi, Kerberos, OS / distro, etc.)
RHEL 8.6, Python 3.6, pip 9
Ideas
As a workaround, the packaging configuration could make use of the deprecated
setup_requires
when setuptools is detected to be below v58.3.0.Alternatively, this package could drop the support for older Pythons that are known to bundle older pip versions.
The latest CPython 3.7 bundles pip v22.0.4: https://github.com/python/cpython/tree/3.7/Lib/ensurepip/_bundled. Though, its first stable release v3.7.0 only has pip v10.0.1 (https://github.com/python/cpython/tree/v3.7.0/Lib/ensurepip/_bundled) while PEP 517 started being implemented around pip v18.1.
We've had the same decisions to make in aiohttp around 3-4 years ago which was being complicated by Cython being an optional dependency so we've opted for shipping C-files in sdist. Although, we're now facing other problems with that due to newer Cython being needed for older releases to function under Python 3.11 that you seem to have attempted to address. FWIW, our case is easier because we can just ship wheels for GNU/Linux as well and gssapi doesn't do that.
The text was updated successfully, but these errors were encountered: