@artafinde the gcloud
is not the main problem. It worked with 3.13 fine for a long time. gsutil
on the other hand still does not. I just tested:
$ gsutil version
Error: gsutil requires Python version 3.8-3.12, but a different version is installed.
You are currently running Python 3.13
Follow the steps below to resolve this issue:
1. Switch to Python 3.8-3.12 using your Python version manager or install an appropriate version.
2. If you are unsure how to manage Python versions, visit [https://cloud.google.com/storage/docs/gsutil_install#specifications] for detailed instructions.
from the docs: //gsutil versions 5.35 or later require Python 3.9 to 3.13, which you can obtain by using your Python version manager or by installing an appropriate version.//
gcloud component is still gsutil 5.34, so hopefully there will be version bump soon. I already have PKGBUILD without the bundled python staged.
Pinned Comments
jvybihal commented on 2025-06-30 06:37 (UTC)
I did a split of the package to 3 packages:
google-cloud-cli
,google-cloud-cli-bq
,google-cloud-cli-gsutil
. There is also package containing the bundled python for those who want it or as a dependency to the gsutil (current version 5.24 does not work with python 3.13 out-of-the-box, although 5.25 which is already available on github should). I am also testing to include other "components".If there will be interest, it's also possible to split the manpages to another package. So for those who don't want them, the install time can get faster and size significantly smaller.
I have tried not to break anyones installation, so please try to install the 3 mentioned packages and it should work the same as before.
You don't need bundled python for the gcloud to work, and I would advice to use
gsutil
only if yo really have to. The prefered way is to usegcloud storage
anyway.