Skip to content
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

The python 3.11 wheel for linux x86 is missing #179

Closed
wosc opened this issue Nov 30, 2022 · 7 comments
Closed

The python 3.11 wheel for linux x86 is missing #179

wosc opened this issue Nov 30, 2022 · 7 comments

Comments

@wosc
Copy link

wosc commented Nov 30, 2022

I'm not fully up to date with wheel classifiers, but I think I'm reading https://pypi.org/project/persistent/4.9.3/#files correctly that there is only a linux/arm wheel on pypi currently, but no x86_64 one. (There is one for 3.10, though.)

This causes e.g. this kind of error, because pip tries to build from sdist instead:

$ docker run --rm -it python:3.11.0-slim pip install persistent==4.9.3
  Building wheel for persistent (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
      gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.11 -c src/persistent/cPersistence.c -o build/temp.linux-x86_64-cpython-311/src/persistent/cPersistence.o
      error: command 'gcc' failed: No such file or directory
@icemac
Copy link
Member

icemac commented Dec 1, 2022

We are using the containers quay.io/pypa/manylinux2010_x86_64 resp. quay.io/pypa/manylinux2010_i686 to build the linux wheels. The lastest versions of that containers seem to contain Python 3.6 up to 3.10 as well as PyPy 3.7 and 3.8 but no Python 3.11.
Please create an issue at pypa, when this is fixed on their side we can rerun the release process to produce the missing wheels.

@wosc
Copy link
Author

wosc commented Dec 2, 2022

If I'm reading this correctly, I'm afraid that manylinux2010 is no longer supported as of 2022-08-01, and 3.11 will not be made available there. I think you'll need to update the build process to at least manylinux2014, or even the most current version manylinux_2_28 (2_24 seems to have issues, via) yes 2014 includes 3.11 to get 3.11.

@icemac
Copy link
Member

icemac commented Dec 30, 2022

This suggestion is implemented in zopefoundation/meta#183.

@wosc
Copy link
Author

wosc commented Jan 9, 2023

That sounds great, thank you! I'm looking forward to the next releases then. :)

@icemac
Copy link
Member

icemac commented Jan 9, 2023

I just released https://pypi.org/project/persistent/5.0/#files. The wheels should follow in the next minutes.

@icemac
Copy link
Member

icemac commented Jan 9, 2023

Please try if the result works for you.

@wosc
Copy link
Author

wosc commented Jan 10, 2023

The 5.0 wheel works perfectly with python-3.11, thank you!

@wosc wosc closed this as completed Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants