You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to install gcloud 449.0.0, the installer attempts to install a python package, including asking for the root password. On rtx, the install appears to hang, because sudo is waiting for input.
The installer may attempt to install a Python package on MacOS,
if the versions do not line up with the minimum version blessed
by the script. To do this, it attempts to run sudo.
This disables the installation with an install flag.
The flag is present in all gcloud versions available from the
bucket that asdf-gcloud downloads from (the oldest version is
371.0.0), so the behavior doesn't need any special-casing.
Fixesjthegedus#82.
fiadliel
added a commit
to fiadliel/asdf-gcloud
that referenced
this issue
Oct 12, 2023
The installer may attempt to install a Python package on MacOS,
if the versions do not line up with the minimum version blessed
by the script. To do this, it attempts to run sudo.
This disables the installation with an install flag.
The flag is present in all versions of gcloud since 352.0.0.
Fixesjthegedus#82.
Describe the bug
When attempting to install gcloud 449.0.0, the installer attempts to install a python package, including asking for the root password. On rtx, the install appears to hang, because sudo is waiting for input.
The command attempted is:
The command comes from
bin/bootstrapping/install.py
It looks like this can be avoided by running
It can also be avoided, by using an archive for installation instead of the install script.
This "feature" appears to have been added in either version 330 or 352 of the CLI (see https://cloud.google.com/sdk/docs/release-notes#33000_2021-03-02), and is now triggered by the script looking for a different python version.
Steps to reproduce
rtx --version
2023.10.1 macos-arm64 (2023-10-05)
rtx use [email protected]
(installation doesn't complete, due to sudo prompt)
Looking for
sudo
in currently running programs, will show the command referenced in the bug report.asdf version
rtx 2023.10.1 macos-arm64 (2023-10-05)
asdf-gcloud version
1.2.3
gcloud version
449.0.0
Additional Information
It looks like since version 448(?) the CLI started looking for
python3
to be version 3.10 or higher: https://cloud.google.com/sdk/docs/release-notes#44800_2023-09-26The text was updated successfully, but these errors were encountered: