Skip to content

Commit f262748

Browse files
authored
work around a bug in pixi that disallows custom PyPI servers (#11331)
* exclude 0.68.0 to avoid the broken v7 format for now [skip-rtd] * temporarily pin pixi in CI * version formatting * missing propagation of the pixi version [skip-rtd]
1 parent 757a7d4 commit f262748

5 files changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/ci-additional.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ jobs:
5252
persist-credentials: false
5353
- uses: Parcels-code/pixi-lock/create-and-cache@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0
5454
id: pixi-lock
55+
with:
56+
pixi-version: v0.67.1
5557
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
5658
with:
5759
name: pixi-lock

.github/workflows/ci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,16 @@ jobs:
4646

4747
outputs:
4848
cache-key: ${{ steps.pixi-lock.outputs.cache-key }}
49+
pixi-version: ${{ steps.pixi-lock.outputs.pixi-version }}
4950

5051
steps:
5152
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5253
with:
5354
persist-credentials: false
5455
- uses: Parcels-code/pixi-lock/create-and-cache@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0
5556
id: pixi-lock
57+
with:
58+
pixi-version: v0.67.1
5659
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
5760
with:
5861
name: pixi-lock

.github/workflows/hypothesis.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ jobs:
5959
persist-credentials: false
6060
- uses: Parcels-code/pixi-lock/create-and-cache@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0
6161
id: pixi-lock
62+
with:
63+
pixi-version: v0.67.1
6264
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
6365
with:
6466
name: pixi-lock

.github/workflows/upstream-dev-ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ jobs:
6666
persist-credentials: false
6767
- uses: Parcels-code/pixi-lock/create-and-cache@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0
6868
id: pixi-lock
69+
with:
70+
pixi-version: v0.67.1
6971
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
7072
with:
7173
name: pixi-lock

pixi.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
preview = ["pixi-build"]
33
channels = ["conda-forge", "nodefaults"]
44
platforms = ["win-64", "linux-64", "osx-arm64"]
5-
requires-pixi = ">=0.63.2"
5+
requires-pixi = ">=0.63.2,!=0.68.0"
66

77
[package]
88
name = "xarray"

0 commit comments

Comments
 (0)