Skip to content

Commit c71742a

Browse files
eightysteeleAaron Steele
andauthored
Fix PyPi authentication (#195)
This PR locks `keyring` to `25.3.0` since later versions break PyPi authentication. cc: @mirkoklukas --------- Co-authored-by: Your Name <Your Email> Co-authored-by: Aaron Steele <eighty@31-33-174.wireless.csail.mit.edu>
1 parent 007915b commit c71742a

5 files changed

Lines changed: 1372 additions & 1549 deletions

File tree

.github/workflows/pdoc.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,12 @@ jobs:
3535
3636
# install pipx and inject gcp backend
3737
pixi global install pipx
38-
pipx install keyring
38+
pipx install --force keyring==25.3.0
3939
pipx inject keyring \
40-
keyrings.google-artifactregistry-auth \
40+
keyrings.google-artifactregistry-auth \
4141
--index-url \
42-
https://pypi.org/simple
42+
https://pypi.org/simple \
43+
--force
4344
4445
# render docs
4546
pixi run docs

.github/workflows/pixi.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,16 @@ jobs:
3030
3131
# install pipx and inject gcp backend
3232
pixi global install pipx
33-
pipx install keyring
33+
pipx install --force keyring==25.3.0
3434
pipx inject keyring \
3535
keyrings.google-artifactregistry-auth \
3636
--index-url \
37-
https://pypi.org/simple
37+
https://pypi.org/simple \
38+
--force
3839
3940
# ensure all deps across all environments and platforms are solving
4041
pixi --version
41-
pixi clean && pixi clean cache --yes
42+
pixi clean && pixi clean cache -y
4243
pixi install --locked -e default -v --pypi-keyring-provider subprocess
4344
pixi install --locked -e cpu -v --pypi-keyring-provider subprocess
4445
pixi install --locked -e gpu -v --pypi-keyring-provider subprocess

.github/workflows/pytest.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,15 @@ jobs:
4343
4444
# install pipx and inject gcp backend
4545
pixi global install pipx
46-
pipx install keyring
46+
pipx install --force keyring==25.3.0
4747
pipx inject keyring \
4848
keyrings.google-artifactregistry-auth \
4949
--index-url \
50-
https://pypi.org/simple
50+
https://pypi.org/simple \
51+
--force
5152
5253
# install gpu environment
53-
pixi clean && pixi clean cache --yes
54+
pixi clean && pixi clean cache -y
5455
pixi install --locked -e gpu -v --pypi-keyring-provider subprocess
5556
5657
# run tests

install/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ __wrap__() {
260260
pipx ensurepath &>/dev/null
261261

262262
printf "\n→ installing keyring into %s\n\n" "$PIPX_BIN"
263-
pipx install keyring
263+
pipx install --force keyring==25.3.0
264264

265265
printf "\n→ injecting gauth backend into keyring...\n\n"
266266
if ! is-gauth-injected; then

0 commit comments

Comments
 (0)