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: Python 3.11.0b1, test_generic_alias, TypeError: 'property' object is not iterable #21526
Comments
@BvB93 Ping. |
I have to do a bit more checking, but creating a type-alias involving the numpy/numpy/_typing/_generic_alias.py Lines 93 to 96 in 59aad3c
The good news is that |
@BvB93 I will do 1.22.4 in the next few days. Since the 1.22.x series is not expected to support Python 3.11, and the Python rc is not expected for several months, is there any reason not to tag this with 1.23.1 release? |
Ah, I didn't realize there wouldn't be any 1.22x python 3.11 wheels. No, if that's the case let's stick to a 1.23.1 tag. |
Describe the issue:
Numpy's tests are failing with Python 3.11.0b1. test_generic_alias fails with
TypeError: 'property' object is not iterable
during collection. The problem seems to be connected to this change in CPython python/cpython#31143. I am not sure if it's a regression in CPython or Numpy needs to be adapted.Reproduce the code example:
Error message:
NumPy/Python version information:
numpy 1.22.3
python 3.11.0b1
The text was updated successfully, but these errors were encountered: