-
Notifications
You must be signed in to change notification settings - Fork 45
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
SoS is broken on Python 3.12? #1542
Comments
I can reproduce the problem with a Python 3.12 environment, but cannot figure out what went wrong immediately. I have updated the test suite to add python 3.12 to catch all such problems. |
ok, find the source of the problem. What we did was sending a compiled global statement in task file to be executed on remote host. However, the docker side uses python 3.10, and the test side uses 3.9, and a change in the
So the problem happens if local and remote sos has different versions of python, which we can fix, or ignore. |
Ahh .... I think it is enough to check and report error or warning for that case, leaving it for users to fix. That should be fair enough. |
sos 0.25.1 is released for this fix. |
great thanks @BoPeng , i take that conda release is automatic and will be there in a few hours? Sorry i cannot remember if it is automatic or you have to click on some extra buttons. I'll merge the PR once I see it pass on conda-forge GitHub. |
automatic, merged. |
On Python 3.10 and SoS 0.25.0 this workflow:
it works well.
But on Python 3.12, it fails:
I have another workflow that shows a different error:
after we upgrade from Python 3.10 to 3.12 it seems we are crippled ..
The text was updated successfully, but these errors were encountered: