Skip to content
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

[query] Hail Python jobs do not work when Python is version greater than 3.9. #13535

Closed
danking opened this issue Sep 1, 2023 · 0 comments · Fixed by #13536
Closed

[query] Hail Python jobs do not work when Python is version greater than 3.9. #13535

danking opened this issue Sep 1, 2023 · 0 comments · Fixed by #13536
Labels
needs-triage A brand new issue that needs triaging.

Comments

@danking
Copy link
Contributor

danking commented Sep 1, 2023

What happened?

This is a known issue in our underlying serialization library: uqfoundation/dill#609.

I've discovered that if you have dill 0.3.7 (latest) and try to use our image (which has dill 0.3.5.1) you get this error:

Traceback (most recent call last):
File "", line 27, in
File "/usr/local/lib/python3.10/site-packages/dill/_dill.py", line 373, in load
return Unpickler(file, ignore=ignore, **kwds).load()
File "/usr/local/lib/python3.10/site-packages/dill/_dill.py", line 646, in load
obj = StockUnpickler.load(self)
File "/usr/local/lib/python3.10/site-packages/dill/_dill.py", line 805, in _create_code
return CodeType(args[0], 0, 0, *args[1:])
TypeError: code expected at most 16 arguments, got 19
Switching local dill to the remote version eliminates the error.

Fix is to ensure the de-serializer is >0.3.5.1.

Version

0.2.120

Relevant log output

No response

@danking danking added the needs-triage A brand new issue that needs triaging. label Sep 1, 2023
danking pushed a commit to danking/hail that referenced this issue Sep 1, 2023
danking added a commit that referenced this issue Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage A brand new issue that needs triaging.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant