Python 3.12 incompatibility tracking issue: https://issuetracker.google.com/issues/373925130
Search Criteria
Package Details: google-cloud-cli 499.0.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/google-cloud-cli.git (read-only, click to copy) |
---|---|
Package Base: | google-cloud-cli |
Description: | A set of command-line tools for the Google Cloud Platform. Includes gcloud (with beta and alpha commands), gsutil, and bq. |
Upstream URL: | https://cloud.google.com/cli/ |
Keywords: | cloud gcloud gcp google sdk |
Licenses: | Apache-2.0 |
Conflicts: | google-cloud-sdk |
Provides: | google-cloud-sdk |
Replaces: | google-cloud-sdk |
Submitter: | PolarianDev |
Maintainer: | jvybihal |
Last Packager: | jvybihal |
Votes: | 189 |
Popularity: | 0.53 |
First Submitted: | 2023-03-08 09:33 (UTC) |
Last Updated: | 2024-10-29 19:40 (UTC) |
Dependencies (2)
- python (python37AUR, python311AUR, python310AUR)
- python-crcmod (optional) – [gsutil] verify the integrity of GCS object contents
Required by (15)
- arkade-bin (requires google-cloud-sdk) (optional)
- gcsfuse (requires google-cloud-sdk) (optional)
- google-cloud-cli-firestore-emulator
- google-cloud-cli-gke-gcloud-auth-plugin
- google-cloud-sdk-app-engine-java (requires google-cloud-sdk)
- google-cloud-sdk-app-engine-python (requires google-cloud-sdk)
- google-cloud-sdk-app-engine-python-extras (requires google-cloud-sdk)
- google-cloud-sdk-bigtable-emulator (requires google-cloud-sdk)
- google-cloud-sdk-cbt (requires google-cloud-sdk)
- google-cloud-sdk-datastore-emulator (requires google-cloud-sdk)
- k3sup-bin (requires google-cloud-sdk) (optional)
- porter-bin (requires google-cloud-sdk) (optional)
- python-google-earthengine-api (requires google-cloud-sdk)
- repman (optional)
- repman-git (optional)
Sources (3)
ewirch commented on 2024-10-22 14:32 (UTC)
ewirch commented on 2024-10-22 14:23 (UTC)
Recent google-cloud-sdk is not compatible with python 3.12:
Error: gsutil requires Python version 2.7 or 3.5-3.11, but a different version is installed. You are currently running Python 3.12
Need to depend on an older version.
Jaga commented on 2024-07-12 09:40 (UTC)
Installed version 483.0.0-1
of google-cloud-cli
, had to perform the following configuration in order for the commands to exist:
echo "source /etc/profile.d/google-cloud-cli.sh" >> ~/.bashrc
(updated PATH)
jvybihal commented on 2024-07-02 11:47 (UTC) (edited on 2024-07-02 11:48 (UTC) by jvybihal)
Please be aware there is an issue with google-cloud-cli
and python-protobuf
>=27.0 which renders gcloud unusable. There is an issue already open.
The error is "AttributeError: module 'google._upb._message' has no attribute 'MessageMapContainer'"
jvybihal commented on 2024-05-14 10:25 (UTC)
Seems like compatibility issue with python 3.12. I have hidden the warning with the profile file. Or you can try to run pyupgrade over the project. I have included little template in PKGBUILD, but it's not enabled by default, and did not work for me on the first try. Patches welcome.
Alghazanth commented on 2024-05-12 12:34 (UTC)
I'm facing the same issue @sirianni described, did someone figure out the reason?
sirianni commented on 2024-05-07 20:19 (UTC)
I just upgraded to the latest and now I'm getting a bunch of python warnings every time I run a command
/opt/google-cloud-cli/platform/gsutil/gslib/vendored/boto/boto/__init__.py:1105: SyntaxWarning: invalid escape sequence '\c'
PanZWarzywniaka commented on 2024-03-29 10:14 (UTC) (edited on 2024-03-29 10:28 (UTC) by PanZWarzywniaka)
Edit: Solved!
Hi, when I try to install I get following error:
==> Starting prepare()...
failed to apply patch: 0003-add-compdef-to-zsh-completion.patch
-> Failed to install the following packages. Manual intervention is required:
google-cloud-cli - exit status
I am using zsh. Edit: My bad I didn't have base-devel installed:
pacman -Syu base-devel
AnhQuanTrl commented on 2024-03-26 13:54 (UTC)
@jvybihal Thank you for help. I think you are right. It is just big package so it took quite some time to copy all those debug symbols.
Pinned Comments