-
Notifications
You must be signed in to change notification settings - Fork 185
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
Add support for Python 3.12, install.sh fails (distutils module removed in Python 3.12 -- Ubuntu 24.04 users affected) #850
Comments
Hi @damntourists , the OCI CLI does not yet support Python 3.12, so I suggest using Python 3.11 to resolve this issue, till CLI comes out with support for Python 3.12. |
FYI, we plan to support Python 3.12 in 1-2 months time |
Right, that is the issue I'm reporting. The CLI installer is incorrectly showing Python 3.12 as compatible and proceeds to try to install anyway. A fix would be to set a maximum compatible version instead of saying any version greater than or equal to X. I'm curious why this ticket is closed when the issue is not resolved? You say it comes in 1-2mo time, however now the public has to take your word for it and a record of this issue can easily fall into the void. I had trouble finding information about this issue because the other ticket I mentioned was closed as completed. |
Thanks Brett for sharing more on why the incompatibility is not obvious when using the installer. |
Thanks @karthik-k-kamath! |
Previously, this issue was marked as completed without a resolution #778, however users have been responding saying that it's not corrected. I did not see any open issues regarding this (please correct me if I've missed it) so I'm resubmitting a request to have this resolved.
This is still an issue for Ubuntu 24.04 users, since it comes with Python 3.12.3 as the default python version which does not include distutils. The CLI installer marks Python 3.12.3 as OK when installing then breaks since distutils was deprecated and not included with this version of python.
Could we at least get the installer updated to recognize that Python 3.12 is not supported for the short term? Ideally we'd have a fallback built into the installer if a version higher than 3.11 is detected.
The text was updated successfully, but these errors were encountered: