Skip to content

Commit 4c6960c

Browse files
authored
MAINT: Pixi maintenance (#496)
1 parent ebe9a5b commit 4c6960c

File tree

7 files changed

+3176
-3148
lines changed

7 files changed

+3176
-3148
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
- uses: prefix-dev/setup-pixi@194d461b21b6c5717c722ffc597fa91ed2ff29fa # v0.9.1
3232
with:
33-
pixi-version: v0.50.2
33+
pixi-version: v0.58.0
3434
cache: true
3535
environments: lint
3636

@@ -59,7 +59,7 @@ jobs:
5959

6060
- uses: prefix-dev/setup-pixi@194d461b21b6c5717c722ffc597fa91ed2ff29fa # v0.9.1
6161
with:
62-
pixi-version: v0.50.2
62+
pixi-version: v0.58.0
6363
cache: true
6464
environments: ${{ matrix.environment }}
6565

.github/workflows/docs-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
- uses: prefix-dev/setup-pixi@194d461b21b6c5717c722ffc597fa91ed2ff29fa # v0.9.1
1515
with:
16-
pixi-version: v0.50.2
16+
pixi-version: v0.58.0
1717
cache: true
1818
environments: docs
1919

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"array-api": ("https://data-apis.org/array-api/draft", None),
5959
"dask": ("https://docs.dask.org/en/stable", None),
6060
"numpy": ("https://numpy.org/doc/stable", None),
61-
"jax": ("https://jax.readthedocs.io/en/latest", None),
61+
"jax": ("https://docs.jax.dev/en/latest", None),
6262
}
6363

6464
nitpick_ignore = [

lefthook.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
lefthook: pixi run --no-progress --environment=lint lefthook
1+
lefthook: pixi run --no-progress --environment=lint --frozen lefthook
22

33
templates:
4-
run: run --quiet --no-progress --environment=lint
4+
run: run --quiet --no-progress --environment=lint --frozen
55

66
colors: true
77

pixi.lock

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

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ license.file = "LICENSE"
1414
requires-python = ">=3.10"
1515
classifiers = [
1616
"Intended Audience :: Developers",
17-
"License :: OSI Approved :: MIT License",
1817
"Operating System :: OS Independent",
1918
"Programming Language :: Python",
2019
"Programming Language :: Python :: 3",
@@ -44,7 +43,7 @@ exclude = ["codecov.yml", "pixi.lock", "RELEASING.md", "renovate.json"]
4443

4544
#  Pixi
4645

47-
[tool.pixi.project]
46+
[tool.pixi.workspace]
4847
channels = ["https://prefix.dev/conda-forge"]
4948
platforms = ["linux-64", "osx-64", "osx-arm64", "win-64"]
5049

renovate.json

Lines changed: 45 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3-
"extends": [
4-
"config:recommended",
5-
"helpers:pinGitHubActionDigests",
6-
":automergeMinor"
7-
],
3+
"extends": ["config:recommended", "helpers:pinGitHubActionDigests", ":automergeMinor"],
84
"dependencyDashboardTitle": "META: Dependency Dashboard",
95
"commitMessagePrefix": "deps:",
106
"labels": ["dependencies"],
@@ -13,56 +9,48 @@
139
"pixi": ">=v0.45.0"
1410
},
1511
"minimumReleaseAge": "14 days",
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-
]
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": [
33+
"numpy",
34+
"jax",
35+
"jaxlib",
36+
"sphinx",
37+
"ipython",
38+
"sphinx-autodoc-typehints",
39+
"pytorch"
40+
],
41+
"enabled": false
42+
}, {
43+
"description": "Group Dask packages.",
44+
"matchPackageNames": ["dask", "dask-core"],
45+
"groupName": "dask"
46+
}, {
47+
"description": "Group JAX packages.",
48+
"matchPackageNames": ["jax", "jaxlib"],
49+
"groupName": "jax"
50+
}, {
51+
"description": "Schedule hypothesis monthly as releases are frequent.",
52+
"matchManagers": ["pixi"],
53+
"matchPackageNames": ["hypothesis"],
54+
"schedule": ["* * 10 * *"]
55+
}]
6856
}

0 commit comments

Comments
 (0)