Skip to content

Commit 3c6b050

Browse files
max-sixtyclaude
andauthored
Fix RTD builds by restricting test-nightly to linux/macOS platforms (#11021)
The `test-nightly` environment uses pandas nightly wheels from PyPI, which currently don't have win-64 builds available. This causes `pixi lock` to fail when solving for all platforms. RTD builds fail because they have no lock file cache (unlike GitHub Actions CI which caches pixi.lock). When RTD runs `pixi install -e doc`, pixi must generate the lock file from scratch, which fails on the unsolvable test-nightly/win-64 combination. This restriction can be removed once pandas nightly provides win-64 wheels again. Co-authored-by: Claude <noreply@anthropic.com>
1 parent 9b94a3a commit 3c6b050

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pixi.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,12 @@ sparse = "0.15.*"
143143
toolz = "0.12.*"
144144
zarr = "2.18.*"
145145

146+
# TODO: Remove `platforms` restriction once pandas nightly has win-64 wheels again.
147+
# Without this, `pixi lock` fails because it can't solve the nightly feature for win-64,
148+
# which breaks RTD builds (RTD has no lock file cache, unlike GitHub Actions CI).
149+
[feature.nightly]
150+
platforms = ["linux-64", "osx-arm64"]
151+
146152
[feature.nightly.dependencies]
147153
python = "*"
148154

0 commit comments

Comments
 (0)