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
cloudpickle is not compatible with Python 3.11 #466
Comments
Thanks for the report, would you be interested in contributing a pull request? |
I'm not sure I understand it well enough any my time is very limited now but I can try it if nobody will be faster. |
So, I've spent a few hours with this and I'm now certainly smarter than I was but the problem is still unsolved. It seems that the problem is caused by the differences in code objects in Python 3.11 – there are at least two new attributes for code objects The remaining question is: where can I find the expected order of codeobject attributes expected by |
@frenzymadness very likely what needs to be updated is The order of the arguments is going to want to be the order that |
The tests are failing, for example:
Failed tests are:
FAILED tests/cloudpickle_test.py::CloudPickleTest::test_abc - TypeError: code expected at l...
FAILED tests/cloudpickle_test.py::CloudPickleTest::test_abstracts - TypeError: code expecte...
FAILED tests/cloudpickle_test.py::CloudPickleTest::test_bound_classmethod - TypeError: code...
FAILED tests/cloudpickle_test.py::CloudPickleTest::test_classmethod - TypeError: code expec...
FAILED tests/cloudpickle_test.py::CloudPickleTest::test_closure_interacting_with_a_global_variable
The text was updated successfully, but these errors were encountered: