Skip to content

Commit e16ffbf

Browse files
committed
MAINT: fix pytorch py310 dep
1 parent 12a7945 commit e16ffbf

File tree

3 files changed

+60
-40
lines changed

3 files changed

+60
-40
lines changed

pixi.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ numpy = "=1.22.0"
150150
# Backends that can run on CPU-only hosts
151151
# Note: JAX and PyTorch will install CPU variants.
152152
[tool.pixi.feature.backends.dependencies]
153-
pytorch = ">=2.8.0"
153+
pytorch = ">=2.7.0"
154154
dask-core = ">=2025.9.1" # No distributed, tornado, etc.
155155
sparse = ">=0.17.0"
156156

@@ -182,7 +182,7 @@ system-requirements = { cuda = "12" }
182182
cupy = ">=13.6.0"
183183
# JAX 0.6.2 and 0.7.0 segfault on CUDA
184184
jaxlib = { version = ">=0.6.0,!=0.6.2,!=0.7.0", build = "cuda12*" }
185-
pytorch = { version = ">=2.8.0", build = "cuda12*" }
185+
pytorch = { version = ">=2.7.0", build = "cuda12*" }
186186

187187
[tool.pixi.feature.cuda-backends.target.osx-64.dependencies]
188188
# cupy = "*" # unavailable

renovate.json

Lines changed: 57 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": ["config:recommended", "helpers:pinGitHubActionDigests", ":automergeMinor"],
3+
"extends": [
4+
"config:recommended",
5+
"helpers:pinGitHubActionDigests",
6+
":automergeMinor"
7+
],
48
"dependencyDashboardTitle": "META: Dependency Dashboard",
59
"commitMessagePrefix": "deps:",
610
"labels": ["dependencies"],
@@ -9,40 +13,56 @@
913
"pixi": ">=v0.45.0"
1014
},
1115
"minimumReleaseAge": "14 days",
12-
"packageRules": [{
13-
"description": "Do not bump deps pinned with '~=' or '='.",
14-
"matchManagers": ["pixi"],
15-
"matchCurrentValue": "/^~?=/",
16-
"enabled": false
17-
}, {
18-
"description": "Do not bump requires-python.",
19-
"matchManagers": ["pep621"],
20-
"matchPackageNames": ["python"],
21-
"enabled": false
22-
}, {
23-
"description": "Schedule automerged GHA updates for the 15th of each month.",
24-
"matchManagers": ["github-actions"],
25-
"groupName": "gha",
26-
"schedule": ["* * 15 * *"],
27-
"automerge": true
28-
}, {
29-
"description": "Block PRs for updates blocked on dropping Python 3.10.",
30-
"matchManagers": ["pixi"],
31-
"matchUpdateTypes": ["major", "minor"],
32-
"matchPackageNames": ["numpy", "jax", "jaxlib", "sphinx", "ipython", "sphinx-autodoc-typehints"],
33-
"enabled": false
34-
}, {
35-
"description": "Group Dask packages.",
36-
"matchPackageNames": ["dask", "dask-core"],
37-
"groupName": "dask"
38-
}, {
39-
"description": "Group JAX packages.",
40-
"matchPackageNames": ["jax", "jaxlib"],
41-
"groupName": "jax"
42-
}, {
43-
"description": "Schedule hypothesis monthly as releases are frequent.",
44-
"matchManagers": ["pixi"],
45-
"matchPackageNames": ["hypothesis"],
46-
"schedule": ["* * 10 * *"]
47-
}]
16+
"packageRules": [
17+
{
18+
"description": "Do not bump deps pinned with '~=' or '='.",
19+
"matchManagers": ["pixi"],
20+
"matchCurrentValue": "/^~?=/",
21+
"enabled": false
22+
},
23+
{
24+
"description": "Do not bump requires-python.",
25+
"matchManagers": ["pep621"],
26+
"matchPackageNames": ["python"],
27+
"enabled": false
28+
},
29+
{
30+
"description": "Schedule automerged GHA updates for the 15th of each month.",
31+
"matchManagers": ["github-actions"],
32+
"groupName": "gha",
33+
"schedule": ["* * 15 * *"],
34+
"automerge": true
35+
},
36+
{
37+
"description": "Block PRs for updates blocked on dropping Python 3.10.",
38+
"matchManagers": ["pixi"],
39+
"matchUpdateTypes": ["major", "minor"],
40+
"matchPackageNames": [
41+
"numpy",
42+
"jax",
43+
"jaxlib",
44+
"sphinx",
45+
"ipython",
46+
"sphinx-autodoc-typehints",
47+
"pytorch"
48+
],
49+
"enabled": false
50+
},
51+
{
52+
"description": "Group Dask packages.",
53+
"matchPackageNames": ["dask", "dask-core"],
54+
"groupName": "dask"
55+
},
56+
{
57+
"description": "Group JAX packages.",
58+
"matchPackageNames": ["jax", "jaxlib"],
59+
"groupName": "jax"
60+
},
61+
{
62+
"description": "Schedule hypothesis monthly as releases are frequent.",
63+
"matchManagers": ["pixi"],
64+
"matchPackageNames": ["hypothesis"],
65+
"schedule": ["* * 10 * *"]
66+
}
67+
]
4868
}

0 commit comments

Comments
 (0)