Skip to content

Commit e25f703

Browse files
authored
[cuda_pathfinder] Add CUDA 12 support to cuda-pathfinder pixi environments and removing build-variants (#1365)
* Adding cu12 support * Remove invalid noarch key from pixi.toml
1 parent 4f910cb commit e25f703

2 files changed

Lines changed: 128 additions & 6 deletions

File tree

cuda_pathfinder/pixi.lock

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

cuda_pathfinder/pixi.toml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,18 @@ channels = ["conda-forge"]
77
platforms = ["linux-64", "linux-aarch64", "win-64"]
88
preview = ["pixi-build"]
99

10-
[workspace.build-variants]
11-
python = ["3.10.*", "3.11.*", "3.12.*", "3.13.*", "3.14.*"]
12-
1310
[dependencies]
1411
cuda-pathfinder = { path = "." }
1512

1613
[feature.test.dependencies]
1714
pytest = ">=6.2.4"
1815

16+
[feature.cu12.system-requirements]
17+
cuda = "12"
18+
19+
[feature.cu12.dependencies]
20+
cuda-version = ">=12.0,<13"
21+
1922
[feature.cu13.system-requirements]
2023
cuda = "13"
2124

@@ -24,6 +27,7 @@ cuda-version = ">=13.1,<14"
2427

2528
[environments]
2629
default = { features = ["test"], solve-group = "default" }
30+
cu12 = { features = ["cu12", "test"], solve-group = "cu12" }
2731
cu13 = { features = ["cu13", "test"], solve-group = "cu13" }
2832

2933
# TODO: check if these can be extracted from pyproject.toml
@@ -39,7 +43,7 @@ python = "*"
3943
setuptools = ">=64"
4044

4145
[package.run-dependencies]
42-
python = "*"
46+
python = ">=3.10"
4347

4448
[target.linux.tasks.test]
4549
cmd = ["pytest", "$PIXI_PROJECT_ROOT"]

0 commit comments

Comments
 (0)