-
-
Notifications
You must be signed in to change notification settings - Fork 168
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
Python 3.12: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’ #829
Comments
I think it's fixed in newer Cython version. |
@mjpieters where have bumped Cython already? Was it multidict? Do we need to do the same here? |
Ah... it was |
I was waiting to see if there'd be a new 3.0.0 beta or final release as there were new changes in the 3.12 alpha release cycle that broke more things. Let me see what the current status is. |
The latest release is 3.0.0b3, released 2023-05-24, and this produces C code that works with 3.12. It is likely that 3.0.0b3 would also fix this issue. I misstook a 3.12 test failure in frozenlist to be a Cython failure, but the same error happens in the run without Cython, there is a different 3.12 issue where Pytest's assert rewriting triggers a deprecation warning: pytest-dev/pytest#10977 |
pytest is already fixed in git, so hopefully the next release will be green. |
pytest has a fix for the deprecation warnings, and is waiting for another fix in the next Python 3.12 beta: pytest-dev/pytest#10894 (comment) The next Python 3.12 is beta 2, due out today: https://peps.python.org/pep-0693/ |
I just added filterwarnings entries for the pytest issues in frozenlist, and will do so here too, plus move cython to 3.0.0b3. |
Describe the bug
We're using yarl in https://github.com/python/blurb_it and are testing against
3.12-dev
on GitHub Actions to help find problems early so they can be fixed before the full release.With Python 3.12.0a4, yarl-1.8.2.tar.gz installed fine.
With the newest Python 3.12.0a5, yarl-1.8.2.tar.gz fails to install (on Ubuntu). For example:
Looks like this is the cause: python/cpython#101292 / python/cpython#101291
Here's a similar report for Cython: cython/cython#5238
To Reproduce
python3.12 -m pip install yarl
Expected behavior
yarl installs.
Logs/tracebacks
https://github.com/python/blurb_it/actions/runs/4300204463/jobs/7496181606
multidict Version
$ python -m pip show multidict
Not installed.
yarl Version
$ python -m pip show yarl
Not installed.
OS
Ubuntu 22.04
macOS Ventura 13.2.1
Additional context
https://github.com/hugovk/blurb_it/actions/runs/4301170729 shows alpha 4 passing and alpha 5 failing.
Code of Conduct
The text was updated successfully, but these errors were encountered: