Skip to content

Commit cdea17c

Browse files
committed
Add test-minimal group
1 parent ca8647a commit cdea17c

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

.github/workflows/hypothesis.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
matrix:
2828
python-version: ['3.11']
2929
numpy-version: ['2.1']
30-
dependency-set: ["optional"]
30+
dependency-set: ["test-minimal"]
3131

3232
steps:
3333
- uses: actions/checkout@v4

.github/workflows/test.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,24 @@ jobs:
2222
matrix:
2323
python-version: ['3.11', '3.12', '3.13']
2424
numpy-version: ['1.25', '2.1']
25-
dependency-set: ["minimal", "optional"]
25+
dependency-set: ["minimal", "test-minimal"]
2626
os: ["ubuntu-latest"]
2727
include:
2828
- python-version: '3.11'
2929
numpy-version: '1.25'
30-
dependency-set: 'optional'
30+
dependency-set: 'test-minimal'
3131
os: 'macos-latest'
3232
- python-version: '3.13'
3333
numpy-version: '2.1'
34-
dependency-set: 'optional'
34+
dependency-set: 'test-minimal'
3535
os: 'macos-latest'
3636
- python-version: '3.11'
3737
numpy-version: '1.25'
38-
dependency-set: 'optional'
38+
dependency-set: 'test-minimal'
3939
os: 'windows-latest'
4040
- python-version: '3.13'
4141
numpy-version: '2.1'
42-
dependency-set: 'optional'
42+
dependency-set: 'test-minimal'
4343
os: 'windows-latest'
4444
runs-on: ${{ matrix.os }}
4545

@@ -52,7 +52,7 @@ jobs:
5252
cache: 'pip'
5353
- name: Install Hatch
5454
run: |
55-
python -m pip install --upgrade pip
55+
python -m pip install --upgrade pip
5656
pip install hatch
5757
- name: Set Up Hatch Env
5858
run: |
@@ -84,7 +84,7 @@ jobs:
8484
cache: 'pip'
8585
- name: Install Hatch
8686
run: |
87-
python -m pip install --upgrade pip
87+
python -m pip install --upgrade pip
8888
pip install hatch
8989
- name: Set Up Hatch Env
9090
run: |
@@ -111,4 +111,4 @@ jobs:
111111
contains(needs.*.result, 'cancelled')
112112
run: exit 1
113113
- name: Success
114-
run: echo Success!
114+
run: echo Success!

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ gpu = [
6868
universal-pathlib = [
6969
'universal-pathlib>=0.0.22'
7070
]
71+
tree = [
72+
'rich',
73+
]
7174
# Development extras
75+
test-minimal = ["zarr[universal-pathlib, tree]"]
7276
test = [
7377
"coverage",
7478
"pytest",
@@ -94,6 +98,7 @@ docs = [
9498
'msgpack',
9599
]
96100

101+
97102
[project.urls]
98103
"Bug Tracker" = "https://github.com/zarr-developers/zarr-python/issues"
99104
Changelog = "https://zarr.readthedocs.io/en/stable/release.html"
@@ -133,7 +138,7 @@ version = ["minimal"]
133138
[[tool.hatch.envs.test.matrix]]
134139
python = ["3.11", "3.12", "3.13"]
135140
numpy = ["1.25", "2.1"]
136-
features = ["optional"]
141+
features = ["test-minimal"]
137142

138143
[[tool.hatch.envs.test.matrix]]
139144
python = ["3.11", "3.12", "3.13"]

0 commit comments

Comments
 (0)