Skip to content

Commit ecd97fd

Browse files
committed
chore: spec0 compat (python 3.14 compat, numpy 2 min)
1 parent e6ef2b1 commit ecd97fd

File tree

11 files changed

+32
-32
lines changed

11 files changed

+32
-32
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ body:
6161
value: |
6262
```python
6363
# /// script
64-
# requires-python = ">=3.11"
64+
# requires-python = ">=3.12"
6565
# dependencies = [
6666
# "zarr@git+https://github.com/zarr-developers/zarr-python.git@main",
6767
# ]

.github/workflows/gpu_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: gpu-runner
2525
strategy:
2626
matrix:
27-
python-version: ['3.11']
27+
python-version: ['3.12']
2828
numpy-version: ['2.2']
2929
dependency-set: ["minimal"]
3030

.github/workflows/nightly_wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/setup-python@v6
2121
name: Install Python
2222
with:
23-
python-version: '3.13'
23+
python-version: '3.14'
2424

2525
- name: Install build dependencies
2626
run: |

.github/workflows/releases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/setup-python@v6
2020
name: Install Python
2121
with:
22-
python-version: '3.11'
22+
python-version: '3.12'
2323

2424
- name: Install PyBuild
2525
run: |

.github/workflows/test.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,24 @@ jobs:
2020

2121
strategy:
2222
matrix:
23-
python-version: ['3.11', '3.12', '3.13']
24-
numpy-version: ['1.26', '2.2']
23+
python-version: ['3.12', '3.13', '3.14']
24+
numpy-version: ['2', '2.2']
2525
dependency-set: ["minimal", "optional"]
2626
os: ["ubuntu-latest"]
2727
include:
28-
- python-version: '3.11'
29-
numpy-version: '1.26'
28+
- python-version: '3.12'
29+
numpy-version: '2'
3030
dependency-set: 'optional'
3131
os: 'macos-latest'
32-
- python-version: '3.13'
32+
- python-version: '3.14'
3333
numpy-version: '2.2'
3434
dependency-set: 'optional'
3535
os: 'macos-latest'
36-
- python-version: '3.11'
37-
numpy-version: '1.26'
36+
- python-version: '3.12'
37+
numpy-version: '2'
3838
dependency-set: 'optional'
3939
os: 'windows-latest'
40-
- python-version: '3.13'
40+
- python-version: '3.14'
4141
numpy-version: '2.2'
4242
dependency-set: 'optional'
4343
os: 'windows-latest'
@@ -78,12 +78,12 @@ jobs:
7878
runs-on: ubuntu-latest
7979
strategy:
8080
matrix:
81-
python-version: ['3.11', "3.13"]
81+
python-version: ['3.12', "3.14"]
8282
dependency-set: ["upstream", "min_deps"]
8383
exclude:
84-
- python-version: "3.13"
84+
- python-version: "3.14"
8585
dependency-set: min_deps
86-
- python-version: "3.11"
86+
- python-version: "3.12"
8787
dependency-set: upstream
8888
steps:
8989
- uses: actions/checkout@v5

docs/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ When submitting a pull request, coverage will also be collected across all suppo
155155

156156
### Documentation
157157

158-
Docstrings for user-facing classes and functions should follow the [numpydoc](https://numpydoc.readthedocs.io/en/stable/format.html#docstring-standard) standard, including sections for Parameters and Examples. All examples should run and pass as doctests under Python 3.11.
158+
Docstrings for user-facing classes and functions should follow the [numpydoc](https://numpydoc.readthedocs.io/en/stable/format.html#docstring-standard) standard, including sections for Parameters and Examples. All examples should run and pass as doctests under Python 3.12.
159159

160160
Zarr uses mkdocs for documentation, hosted on readthedocs.org. Documentation is written in the Markdown markup language (.md files) in the `docs` folder. The documentation consists both of prose and API documentation. All user-facing classes and functions are included in the API documentation, under the `docs/api` folder using the [mkdocstrings](https://mkdocstrings.github.io/) extension. Add any new public functions or classes to the relevant markdown file in `docs/api/*.md`. Any new features or important usage information should be included in the user-guide (`docs/user-guide`). Any changes should also be included as a new file in the `changes` directory.
161161

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Zarr-Python is a Python library for reading and writing Zarr groups and arrays.
2121

2222
## Installation
2323

24-
Zarr requires Python 3.11 or higher. You can install it via `pip`:
24+
Zarr requires Python 3.12 or higher. You can install it via `pip`:
2525

2626
```bash
2727
pip install zarr

docs/user-guide/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
Required dependencies include:
66

7-
- [Python](https://docs.python.org/3/) (3.11 or later)
7+
- [Python](https://docs.python.org/3/) (3.12 or later)
88
- [packaging](https://packaging.pypa.io) (22.0 or later)
9-
- [numpy](https://numpy.org) (1.26 or later)
9+
- [numpy](https://numpy.org) (2.0 or later)
1010
- [numcodecs](https://numcodecs.readthedocs.io) (0.14 or later)
1111
- [google-crc32c](https://github.com/googleapis/python-crc32c) (1.5 or later)
1212
- [typing_extensions](https://typing-extensions.readthedocs.io) (4.9 or later)

examples/custom_dtype/custom_dtype.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# /// script
2-
# requires-python = ">=3.11"
2+
# requires-python = ">=3.12"
33
# dependencies = [
44
# "zarr @ git+https://github.com/zarr-developers/zarr-python.git@main",
55
# "ml_dtypes==0.5.1",

pyproject.toml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ maintainers = [
2929
{ name = "Tom Augspurger", email = "tom.w.augspurger@gmail.com" },
3030
{ name = "Deepak Cherian" }
3131
]
32-
requires-python = ">=3.11"
32+
requires-python = ">=3.12"
3333
# If you add a new dependency here, please also add it to .pre-commit-config.yml
3434
dependencies = [
3535
'packaging>=22.0',
36-
'numpy>=1.26',
36+
'numpy>=2',
3737
'numcodecs>=0.14',
3838
'google-crc32c>=1.5',
3939
'typing_extensions>=4.9',
@@ -52,9 +52,9 @@ classifiers = [
5252
'Topic :: Software Development :: Libraries :: Python Modules',
5353
'Operating System :: Unix',
5454
'Programming Language :: Python :: 3',
55-
'Programming Language :: Python :: 3.11',
5655
'Programming Language :: Python :: 3.12',
5756
'Programming Language :: Python :: 3.13',
57+
'Programming Language :: Python :: 3.14',
5858
]
5959
license = "MIT"
6060
license-files = ["LICENSE.txt"]
@@ -163,8 +163,8 @@ COV_CORE_CONFIG = ".coveragerc"
163163
COV_CORE_DATAFILE = ".coverage.eager"
164164

165165
[[tool.hatch.envs.test.matrix]]
166-
python = ["3.11", "3.12", "3.13"]
167-
numpy = ["1.26", "2.2"]
166+
python = ["3.12", "3.13", "3.14"]
167+
numpy = ["2", "2.2"]
168168
deps = ["minimal", "optional"]
169169

170170
[tool.hatch.envs.test.overrides]
@@ -192,8 +192,8 @@ dependencies = [
192192
features = ["test", "gpu"]
193193

194194
[[tool.hatch.envs.gputest.matrix]]
195-
python = ["3.11", "3.12", "3.13"]
196-
numpy = ["1.26", "2.2"]
195+
python = ["3.12", "3.13"]
196+
numpy = ["2", "2.2"]
197197
version = ["minimal"]
198198

199199
[tool.hatch.envs.gputest.scripts]
@@ -206,7 +206,7 @@ list-env = "pip list"
206206

207207
[tool.hatch.envs.upstream]
208208
template = 'test'
209-
python = "3.13"
209+
python = "3.14"
210210
dependencies = [
211211
'packaging @ git+https://github.com/pypa/packaging',
212212
'numpy', # from scientific-python-nightly-wheels
@@ -231,11 +231,11 @@ description = """Test environment for minimum supported dependencies
231231
See Spec 0000 for details and drop schedule: https://scientific-python.org/specs/spec-0000/
232232
"""
233233
template = "test"
234-
python = "3.11"
234+
python = "3.12"
235235
dependencies = [
236236
'zarr[remote]',
237237
'packaging==22.*',
238-
'numpy==1.26.*',
238+
'numpy==2.0.*',
239239
'numcodecs==0.14.*', # 0.14 needed for zarr3 codecs
240240
'fsspec==2023.10.0',
241241
's3fs==2023.10.0',
@@ -352,7 +352,7 @@ ignore = [
352352
"tests/**" = ["ANN001", "ANN201", "RUF029", "SIM117", "SIM300"]
353353

354354
[tool.mypy]
355-
python_version = "3.11"
355+
python_version = "3.12"
356356
ignore_missing_imports = true
357357
namespace_packages = false
358358

0 commit comments

Comments
 (0)