Skip to content

Commit 078001f

Browse files
committed
Review feedback
performance -> accel jax move to extras feature spelling
1 parent 961508f commit 078001f

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
5353
# Bookend python versions
5454
pixi-env: ["test-all-deps-py311", "test-all-deps-py313"]
55-
pytest-adopts: [""]
55+
pytest-addopts: [""]
5656
include:
5757
# Minimum python version:
5858
- pixi-env: "test-bare-minimum"
@@ -68,12 +68,12 @@ jobs:
6868
- pixi-env: "test-all-but-dask"
6969
os: ubuntu-latest
7070
- pixi-env: "test-all-deps-py313"
71-
pytest-adopts: "flaky"
71+
pytest-addopts: "flaky"
7272
os: ubuntu-latest
7373
# The mypy tests must be executed using only 1 process in order to guarantee
7474
# predictable mypy output messages for comparison to expectations.
7575
- pixi-env: "test-all-mypy-py311"
76-
pytest-adopts: "mypy"
76+
pytest-addopts: "mypy"
7777
numprocesses: 1
7878
os: ubuntu-latest
7979
- pixi-env: "test-all-mypy-py313"
@@ -102,12 +102,12 @@ jobs:
102102
run: |
103103
echo "TODAY=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
104104
105-
if [[ "${{ matrix.pytest-adopts }}" != "" ]] ;
105+
if [[ "${{ matrix.pytest-addopts }}" != "" ]] ;
106106
then
107-
if [[ "${{ matrix.pytest-adopts }}" == "flaky" ]] ;
107+
if [[ "${{ matrix.pytest-addopts }}" == "flaky" ]] ;
108108
then
109109
echo "PYTEST_ADDOPTS=-m 'flaky or network' --run-flaky --run-network-tests -W default" >> $GITHUB_ENV
110-
elif [[ "${{ matrix.pytest-adopts }}" == "mypy" ]] ;
110+
elif [[ "${{ matrix.pytest-addopts }}" == "mypy" ]] ;
111111
then
112112
echo "PYTEST_ADDOPTS=-n 1 -m 'mypy' --run-mypy -W default" >> $GITHUB_ENV
113113
fi

pixi.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ test-all-but-numba = { features = [
1717
"py313",
1818
"test",
1919
"backends",
20-
"performance",
20+
"accel",
2121
"dask",
2222
"plotting",
2323
"extras",
@@ -26,7 +26,7 @@ test-all-but-dask = { features = [
2626
"py312",
2727
"test",
2828
"backends",
29-
"performance",
29+
"accel",
3030
"numba",
3131
"plotting",
3232
"extras",
@@ -35,7 +35,7 @@ test-all-deps-py313 = { features = [
3535
"py313",
3636
"test",
3737
"backends",
38-
"performance",
38+
"accel",
3939
"numba",
4040
"dask",
4141
"plotting",
@@ -45,7 +45,7 @@ test-all-deps-py311 = { features = [
4545
"py311",
4646
"test",
4747
"backends",
48-
"performance",
48+
"accel",
4949
"numba",
5050
"dask",
5151
"plotting",
@@ -56,7 +56,7 @@ test-all-mypy-py311 = { features = [
5656
"py311",
5757
"test",
5858
"backends",
59-
"performance",
59+
"accel",
6060
"numba",
6161
"dask",
6262
"plotting",
@@ -68,7 +68,7 @@ test-all-mypy-py313 = { features = [
6868
"py313",
6969
"test",
7070
"backends",
71-
"performance",
71+
"accel",
7272
"numba",
7373
"dask",
7474
"plotting",
@@ -89,7 +89,7 @@ doc = { features = [
8989
"doc",
9090
"backends",
9191
"test",
92-
"performance",
92+
"accel",
9393
"plotting",
9494
"extras",
9595
], solve-group = "doc" }
@@ -164,17 +164,13 @@ numbagg = "*"
164164
dask = "*"
165165
distributed = "*"
166166

167-
[feature.performance.dependencies]
167+
[feature.accel.dependencies]
168168
flox = "*"
169169
bottleneck = "*"
170170
numexpr = "*"
171171
pyarrow = "*"
172172
opt_einsum = "*"
173173

174-
[feature.performance.pypi-dependencies]
175-
jax = "*"
176-
177-
178174
[feature.plotting.dependencies]
179175
cartopy = "*"
180176
matplotlib-base = "*"
@@ -198,6 +194,10 @@ cftime = "*"
198194
pint = "*"
199195
iris = "*"
200196

197+
[feature.extras.pypi-dependencies]
198+
# array
199+
jax = "*"
200+
201201
[feature.test.dependencies]
202202
pytest = "*"
203203
pytest-asyncio = "*"

0 commit comments

Comments
 (0)