Код: Выделить всё
gcloud auth application-default login --project ${PROJECT_ID}
uv venv
source .venv/bin/activate
uv pip install keyring keyrings.google-artifactregistry-auth
uv pip install --keyring-provider subprocess ${MY_PACKAGE} --extra-index-url https://${REGION}-python.pkg.dev/${PROJECT_ID}/${REPOSITORY_ID}/simple
Код: Выделить всё
gcloud auth application-default login --project ${PROJECT_ID}
python -m venv .venv
source .venv/bin/activate
pip install keyring keyrings.google-artifactregistry-auth
pip install ${MY_PACKAGE} --extra-index-url https://${REGION}-python.pkg.dev/${PROJECT_ID}/${REPOSITORY_ID}/simple
Подробнее здесь: https://stackoverflow.com/questions/790 ... ct-registr