-
Notifications
You must be signed in to change notification settings - Fork 336
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
gsutil 5.31 doesn't work with Python 3.12.7 in alpine #1808
Comments
It looks like gsutil is incompatible with Python 3.12 due to the removal of the imp module, as described here: https://issuetracker.google.com/issues/303737178. Python 3.12.6 shouldn't work either, since the imp module was removed starting with Python 3.12.0. |
"Shouldn't" but it works, because I actually using it in version 5.30 with |
In addition, I found this meta issue which says the problem with Python 3.12 on So sorry If i'm missing something, but still don't understand the check |
Just ran
Debugging now. But just wanted to pass on feedback this is frustrating, as I'm doing a time sensitive task and now |
I just applied #1809 but with this addition https://github.com/GoogleCloudPlatform/gsutil/pull/1809/files#r1806891229 to |
My fault while testing 😅 |
the gsutil wrapper that
|
For anyone who reached this page looking for a quick fix, reverting the version of my gcloud components update --version 494.0.0 |
Context
Python 3.12.7
is the default python version inalpine 3:20
, and it breaksgsutil
on its version5.31
. Looking into the code, it seems 3 weeks ago this check was added.Why is the incompatibility issue on this version? Because
gsutil 5.30
works fine withPython 3.12.6
Thanks
The text was updated successfully, but these errors were encountered: