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
Test failures with Python 3.11 #13522
Comments
Hello! Do you mean astropy 5.1? There is no 5.10 release. Also, did you try with the dev version? I vaguely remember some fix to the pickling in dev not too long ago. We have no yet tested astropy against Python 3.11. @astropy/devops-maintainers , should we do it now? |
Yes, 5.1 I have tried the tests in b6352e1 and it has the same errors in: coordinates/tests/test_pickle.py::test_simple_object[0-StaticMatrixTransform-args6-kwargs6-False] |
The following tests fail also with python 3.11 (both with devel and 5.1) astropy/coordinates/tests/test_pickle.py::test_simple_object |
Hmm lots of cosmology in there... @nstarman ? Though ultimately, this is hard to fix until we update CI to test against Python 3.11. Maybe soon... I just noticed RC1 is out. https://docs.python.org/3.11/whatsnew/3.11.html |
I'll be happy to squash these bugs, just as soon as there's a conda python 3.11 version available, (even a release candidate) :) |
See the failure log in #13614 . Thanks! |
@sergiopasra , please try again with latest dev astropy. Should be fixed now. Thanks for your patience! |
Description
I'm building astropy 5.1 with a prerelease of python 3.11 for the next Fedora release. I'm getting this error in the tests:
This is probably related with a change in how objects are pickled. Now
object
has a default implementation of `getstatehttps://docs.python.org/3.11/library/pickle.html#object.__getstate__
Full details in the Fedora bug report: https://bugzilla.redhat.com/show_bug.cgi?id=2101963
The text was updated successfully, but these errors were encountered: