Package Details: google-cloud-cli-lite 521.0.0-1

Git Clone URL: https://aur.archlinux.org/google-cloud-cli-lite.git (read-only, click to copy)
Package Base: google-cloud-cli-lite
Description: A distribution of the gcloud CLI that strips unnecessary dependencies to reduce the size by > 75%
Upstream URL: https://github.com/tonymet/gcloud-lite
Licenses: Apache-2.0
Conflicts: google-cloud-cli, google-cloud-sdk
Provides: google-cloud-cli, google-cloud-sdk
Replaces: google-cloud-sdk
Submitter: mmoya
Maintainer: mmoya
Last Packager: mmoya
Votes: 4
Popularity: 0.42
First Submitted: 2024-04-18 08:27 (UTC)
Last Updated: 2025-05-07 08:37 (UTC)

Dependencies (3)

Required by (14)

Sources (3)

Latest Comments

yegorius commented on 2025-05-22 20:22 (UTC)

Yes, adding CLOUDSDK_PYTHON_SITEPACKAGES=1 fixes the problem. This is my initial env.

> paru -Q google-cloud-cli-lite python-botocore
google-cloud-cli-lite 521.0.0-1
python-botocore 1.38.18-1

> printenv | grep -E CLOUD_?SDK | sort
CLOUDSDK_PYTHON_ARGS=-S -W ignore
CLOUDSDK_PYTHON=/usr/bin/python
CLOUDSDK_ROOT_DIR=/opt/google-cloud-cli
GOOGLE_CLOUD_SDK_HOME=/opt/google-cloud-cli

Is there anything else I could do to help you diagnose this?

mmoya commented on 2025-05-22 10:42 (UTC) (edited on 2025-05-22 10:42 (UTC) by mmoya)

Hi @yegorius

I can't reproduce the issue locally.

$ paru -Q google-cloud-cli-lite python-botocore
google-cloud-cli-lite 521.0.0-1
python-botocore 1.38.13-1

$ printenv | grep -E CLOUD_?SDK | sort
CLOUDSDK_PYTHON=/usr/bin/python
CLOUDSDK_PYTHON_ARGS=-S -W ignore
CLOUDSDK_PYTHON_SITEPACKAGES=1
CLOUDSDK_ROOT_DIR=/opt/google-cloud-cli
GOOGLE_CLOUD_SDK_HOME=/opt/google-cloud-cli

Can you test if removing the softlink and adding CLOUDSDK_PYTHON_SITEPACKAGES=1 to the environment fixes the issue?

Thanks

yegorius commented on 2025-05-10 15:35 (UTC) (edited on 2025-05-10 15:36 (UTC) by yegorius)

> gcloud storage cp
ERROR: gcloud failed to load (gcloud.storage.cp): Problem loading gcloud.storage.cp: No module named 'botocore'.
> ln -s /usr/lib/python3.13/site-packages/botocore /opt/google-cloud-cli/lib/third_party/
> gcloud storage cp
Usage: gcloud storage cp

BINGO!!!

hossamdash commented on 2025-04-07 15:58 (UTC)

i can be a comaintainer if you like, honestly I don't need it to be at the latest version that much but it's just so that when a problem happens, i can skip the debugging step "upgrade to the latest version". thanks for your contributions.

mmoya commented on 2025-04-07 15:54 (UTC)

Hi @Alghazanth and @hossamdash

I started packaging this to scratch my own itch but gcloud-sdk is not something that I need to be on the latest version as soon as possible (YMMV, of course). On the other hand, it's a package I'm not expecting to be that popular.

The package is maintained but I'm not actively checking upstream for new releases. I have informally deferred the 'there is a new upstream release' to someone marking the package as out-of-date.

Thanks

hossamdash commented on 2025-04-07 14:31 (UTC)

hello @mmoya, I can pick up maintaing this package if you like, it's been out of date for a while now :D

Alghazanth commented on 2024-09-26 17:53 (UTC)

Is it supported?