Package Details: google-cloud-cli-bundled-python3-unix 535.0.0-2

Git Clone URL: https://aur.archlinux.org/google-cloud-cli.git (read-only, click to copy)
Package Base: google-cloud-cli
Description: gcloud Bundled Python 3.12
Upstream URL: https://cloud.google.com/cli/
Keywords: cloud gcloud gcp google sdk
Licenses: Apache-2.0
Submitter: PolarianDev
Maintainer: jvybihal
Last Packager: jvybihal
Votes: 191
Popularity: 0.195103
First Submitted: 2023-03-08 09:33 (UTC)
Last Updated: 2025-08-22 11:02 (UTC)

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 use gcloud storage anyway.

Latest Comments

1 2 3 4 5 6 .. 34 Next › Last »

kubrick commented on 2025-08-25 10:32 (UTC)

@jvybihal; thanks a ton for fixing this, I understand that you don't want to maintain a package for an arch you don't use, fair enough.

It's not quite fixed though,


🚛 Starting the build:
==> ERROR: google-cloud-cli-bundled-python3-unix is not available for the 'aarch64' architecture.

so I had to remove google-cloud-cli-bundled-python3-unix from the list of packages created by this PKGBUILD, but in the end it works.

Herbs3508 commented on 2025-08-25 07:41 (UTC)

I have the following error installing the package:


==> Starting package_google-cloud-cli-component-gke-gcloud-auth-plugin()...
==> ERROR: A failure occurred in package_google-cloud-cli-component-gke-gcloud-auth-plugin().
    Aborting...

Only after installing python312, does the package builds correctly

jvybihal commented on 2025-08-22 11:03 (UTC)

@kubrick thanks for reporting, should be fixed even tho I do not plan supporting aarch64

kubrick commented on 2025-08-22 06:52 (UTC) (edited on 2025-08-22 06:53 (UTC) by kubrick)

The aarch64 package fails to build:


🚛 Starting the build:
==> Making package: google-cloud-cli 535.0.0-1 (Fri 22 Aug 2025 08:33:57 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found google-cloud-cli.sh
  -> Found google-cloud-cli.install
  -> Downloading google-cloud-cli-535.0.0.orig_aarch64.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 61.9M  100 61.9M    0     0  6791k      0  0:00:09  0:00:09 --:--:-- 8250k
==> Validating source files with sha256sums...
    google-cloud-cli.sh ... Passed
    google-cloud-cli.install ... Passed
==> Validating source_aarch64 files with sha256sums...
    google-cloud-cli-535.0.0.orig_aarch64.tar.gz ... Passed
==> Extracting sources...
  -> Extracting google-cloud-cli-535.0.0.orig_aarch64.tar.gz with bsdtar
==> Starting prepare()...
mv: cannot stat 'platform/bundledpythonunix': No such file or directory
==> ERROR: A failure occurred in prepare().

hossamdash commented on 2025-08-17 09:42 (UTC)

latest version doesn't open a browser when you do glcoud auth login (atleast in wsl). going back to version 532.0.0 fixed the issue for me

bacteriostat commented on 2025-07-04 19:10 (UTC) (edited on 2025-07-04 19:11 (UTC) by bacteriostat)

For folks updating from the bundled python version, you need to reboot for the bundled python environment to not be used. If you can't reboot, then follow @arth's solution of passing export CLOUDSDK_PYTHON=$(which python3) to solve it temporarily.

arth commented on 2025-06-30 11:13 (UTC)

I've only mentioned it in case someone else experiences it. I don't think it's an issue with this package itself.

jvybihal commented on 2025-06-30 11:10 (UTC)

@arth I am quite confident it is not. I don't set it myself at all and gcloud has no problem finding python3 path. But if you find it to be a problem with the package after all, please dont hesitate to report it.

arth commented on 2025-06-30 11:03 (UTC) (edited on 2025-06-30 11:05 (UTC) by arth)

@jvybihal maybe it's required to set by gcloud itself:


 # if $CLOUDSDK_PYTHON is not set, look for bundled python else
  # prefer python3 over python
  if [ -z "$CLOUDSDK_PYTHON" ]; then
    # Is bundled python present and working?
    ARCH=$(uname -m 2>/dev/null)
    if [ -x "$CLOUDSDK_ROOT_DIR/platform/bundledpythonunix/bin/python3" ] &&  \
       [ "$ARCH" = "x86_64" ] &&  \
       "$CLOUDSDK_ROOT_DIR/platform/bundledpythonunix/bin/python3" --version > /dev/null 2>&1;
    then
      CLOUDSDK_PYTHON="$CLOUDSDK_ROOT_DIR/platform/bundledpythonunix/bin/python3"
      CLOUDSDK_PYTHON_SITEPACKAGES=1
    else
      GLOBAL_CONFIG="$HOME/.config/gcloud"

jvybihal commented on 2025-06-30 10:59 (UTC)

@arth maybe recheck /etc/profile.d/google-cloud-cli.sh and/or if there is a .pacnew file. It looks, that you might have set python path to budled python somewhere. The package did that in the profile.d dir.