-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
[core] AttributeError: module 'abc' has no attribute '_get_dump' #13209
Comments
|
Additionally we see here that some
but not all of them. Is there a reason e.g. _abc_generic_negative_cache and _abc_generic_negative_cache_version are not popped?Because these keys/values are causing pickle issues in our use cases... |
we can hardcode these fields in cloudpickle as the workaround. Such issues would not be fully solved before python3.7 (where some patches are appiled), because python typing object has poor serialization support and failed a wide range of softwares: python/typing#511 |
The PR was merged. @PidgeyBE please try out latest master! |
@simon-mo I've tested it on master and it works! |
@simon-mo hello, the same bug came out in ray 2.0.0 with python 3.6. I tried to fix it as your PR shows. And it works. Maybe you can merge a PR again? |
ray 1.1.0
What is the problem?
In ray 1.1.0 the following critical lines where removed from the codebase in 871cde9:
As a result, our software CICD fails after upgrading to ray 1.1.0 with:
AttributeError: module 'abc' has no attribute '_get_dump'
If I just open ipython and import abc, I get the same error on
abc._get_dump
. We are using python 3.6.Reproduction (REQUIRED)
The issue is hard to reproduce in a standalone script. But anyhow
result in the same error (in Python 3.6), so I assume the workaround should have stayed?
The text was updated successfully, but these errors were encountered: