-
Notifications
You must be signed in to change notification settings - Fork 6
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
Wheel building fails for Python nightly (3.10) #18
Comments
Hi @bsolomon1124, Python 3.10 is out, any follow-up on this? |
I have neglected to get ahead of this so I will now play catch up as soon as I'm able to this week. Thank you for the reminder. |
@adbar are you able to re-run a build using the 3.10.0 final release or point me to such a failed build? I see that your build failure occurred with 3.10.0a0. I very much want to help out and ensure compatibility with 3.10, but the package installs OK with or without
|
@bsolomon1124 Thanks for the prompt answer! Here is a current example on GitHub actions, it seems to be the same problem and only affects Python 3.10: |
That error seems to be different, indicating that protoc (protobuf) is required since there is no wheel available for Python 3.10, while there is a wheel used for lower versions. |
You're right, they appear to be working on supporting Python 3.10: protocolbuffers/protobuf#9034 |
@bsolomon1124 The problem now seems to be fixed, could you give it a try? |
I'm closing the issue since things work, but you might want to think about a new release targeting Python 3.10 explicitly. |
Hi @bsolomon1124! A release with wheels for Python 3.10 would be nice to have, especially now when Ubuntu 22.04 is released with 3.10 as the default Python version. |
Hi, Python 3.10 seems to require a different syntax for wheel building (PEP 517).
I just caught the following error on Travis, see this log (https://travis-ci.org/github/adbar/trafilatura/jobs/715201011):
ERROR: Command errored out with exit status 1:
command: /home/travis/virtualenv/python3.10-dev/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-suhzcy17/pycld3/setup.py'"'"'; file='"'"'/tmp/pip-install-suhzcy17/pycld3/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-plzmgvyb
...
DEPRECATION: Could not build wheels for pycld3 which do not use PEP 517. pip will fall back to legacy 'setup.py install' for these. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at pypa/pip#8368.
The text was updated successfully, but these errors were encountered: