Skip to content

Commit 554637c

Browse files
cursoragentkkraus14
andcommitted
Cherry-pick: fix invalid python_version target in cuda_core/pixi.toml
Cherry-picked from PR #2029 (commit 18f5a02) to unblock pixi install. Pixi's [package.target.<X>] only accepts platform identifiers; the 'python_version < "3.11"' selector caused parse failures. Co-authored-by: Keith Kraus <kkraus14@users.noreply.github.com>
1 parent e54d169 commit 554637c

2 files changed

Lines changed: 36 additions & 2 deletions

File tree

cuda_core/pixi.lock

Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cuda_core/pixi.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,10 @@ cuda-version = "*"
185185
numpy = "*"
186186
cuda-bindings = "*"
187187
cuda-pathfinder = "*"
188-
189-
[package.target.'python_version < "3.11"'.run-dependencies]
188+
# Conda-forge ships per-Python variants of backports.strenum (real impl on
189+
# <3.11, no-op stub on >=3.12); pixi-build doesn't accept PEP 508-style
190+
# `python_version` selectors in [package.target.<X>], so list it
191+
# unconditionally and let the solver pick the right variant.
190192
"backports.strenum" = "*"
191193

192194
[target.linux.tasks.build-cython-tests]

0 commit comments

Comments
 (0)