Skip to content

Commit ee23e16

Browse files
committed
Add Python 3.13, drop Python 3.10
1 parent eaf5d7a commit ee23e16

File tree

5 files changed

+22
-33
lines changed

5 files changed

+22
-33
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ body:
2727
attributes:
2828
label: Python Version
2929
description: Version of Python interpreter
30-
placeholder: 3.10, 3.11, 3.12 etc.
30+
placeholder: 3.11, 3.12, 3.13 etc.
3131
validations:
3232
required: true
3333
- type: input

.github/workflows/python-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: ['3.10', '3.11', '3.12']
18+
python-version: ['3.11', '3.12', '3.13']
1919
numpy_version: ['>=2.1', '==1.24.*']
2020
exclude:
2121
- python-version: '3.12'
@@ -50,7 +50,7 @@ jobs:
5050
- name: Create Conda environment with the rights deps
5151
shell: "bash -l {0}"
5252
run: |
53-
conda create -n zarr-env python==${{matrix.python-version}} bsddb3 pip nodejs
53+
conda create -n zarr-env python==${{matrix.python-version}} pip nodejs
5454
conda activate zarr-env
5555
npm install -g azurite
5656
- name: Install dependencies

.github/workflows/windows-testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: True
1818
matrix:
19-
python-version: ['3.10', '3.11']
19+
python-version: ['3.11', '3.12']
2020
steps:
2121
- uses: actions/checkout@v4
2222
with:

docs/release.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,13 @@ Release notes
2525

2626
Enhancements
2727
~~~~~~~~~~~~
28+
* Added testing on Python 3.13.
2829

2930
Maintenance
3031
~~~~~~~~~~~
32+
* Dropped support for Python 3.10.
33+
* Removed testing for compatibility with the ``bsddb3`` package.
34+
``bsddb3`` was last released four years ago.
3135

3236
Deprecations
3337
~~~~~~~~~~~~
@@ -41,7 +45,7 @@ Enhancements
4145
~~~~~~~~~~~~
4246
* Added support for creating a copy of data when converting a `zarr.Array`
4347
to a numpy array.
44-
By :user:`David Stansby <dstansby>` (:issue:`2106`) and
48+
By :user:`David Stansby <dstansby>` (:issue:`2106`) and
4549
:user:`Joe Hamman <jhamman>` (:issue:`2123`).
4650

4751
Maintenance

pyproject.toml

Lines changed: 13 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,15 @@ build-backend = "setuptools.build_meta"
77
name = "zarr"
88
description = "An implementation of chunked, compressed, N-dimensional arrays for Python"
99
readme = { file = "README.md", content-type = "text/markdown" }
10-
maintainers = [
11-
{ name = "Alistair Miles", email = "[email protected]" }
12-
]
13-
requires-python = ">=3.10"
10+
maintainers = [{ name = "Alistair Miles", email = "[email protected]" }]
11+
requires-python = ">=3.11"
1412
dependencies = [
1513
'asciitree',
1614
'numpy>=1.24',
1715
'fasteners; sys_platform != "emscripten"',
1816
'numcodecs>=0.10.0',
1917
]
20-
dynamic = [
21-
"version",
22-
]
18+
dynamic = ["version"]
2319
classifiers = [
2420
'Development Status :: 6 - Mature',
2521
'Intended Audience :: Developers',
@@ -30,18 +26,14 @@ classifiers = [
3026
'Topic :: Software Development :: Libraries :: Python Modules',
3127
'Operating System :: Unix',
3228
'Programming Language :: Python :: 3',
33-
'Programming Language :: Python :: 3.10',
3429
'Programming Language :: Python :: 3.11',
3530
'Programming Language :: Python :: 3.12',
31+
'Programming Language :: Python :: 3.13',
3632
]
3733
license = { text = "MIT" }
3834

3935
[project.optional-dependencies]
40-
jupyter = [
41-
'notebook',
42-
'ipytree>=0.2.2',
43-
'ipywidgets>=8.0.0',
44-
]
36+
jupyter = ['notebook', 'ipytree>=0.2.2', 'ipywidgets>=8.0.0']
4537
docs = [
4638
'sphinx',
4739
'sphinx-automodapi',
@@ -64,14 +56,11 @@ Homepage = "https://github.com/zarr-developers/zarr-python"
6456
exclude_lines = [
6557
"pragma: no cover",
6658
"pragma: ${PY_MAJOR_VERSION} no cover",
67-
'.*\.\.\.' # Ignore "..." lines
59+
'.*\.\.\.', # Ignore "..." lines
6860
]
6961

7062
[tool.coverage.run]
71-
omit = [
72-
"zarr/meta_v1.py",
73-
"bench/compress_normal.py",
74-
]
63+
omit = ["zarr/meta_v1.py", "bench/compress_normal.py"]
7564

7665
[tool.setuptools]
7766
packages = ["zarr", "zarr._storage", "zarr.tests"]
@@ -100,14 +89,12 @@ exclude = [
10089
"build",
10190
"dist",
10291
"venv",
103-
"docs"
92+
"docs",
10493
]
10594

10695
[tool.ruff.lint]
107-
extend-select = [
108-
"B"
109-
]
110-
ignore = ["B905"] # zip-without-explicit-strict
96+
extend-select = ["B"]
97+
ignore = ["B905"] # zip-without-explicit-strict
11198

11299
[tool.black]
113100
line-length = 100
@@ -136,19 +123,17 @@ doctest_optionflags = [
136123
"ELLIPSIS",
137124
"IGNORE_EXCEPTION_DETAIL",
138125
]
139-
addopts = [
140-
"--durations=10",
141-
]
126+
addopts = ["--durations=10"]
142127
filterwarnings = [
143128
"error:::zarr.*",
144129
"ignore:PY_SSIZE_T_CLEAN will be required.*:DeprecationWarning",
145130
"ignore:The loop argument is deprecated since Python 3.8.*:DeprecationWarning",
146131
"ignore:The .* is deprecated and will be removed in a Zarr-Python version 3*:FutureWarning",
147132
"ignore:The experimental Zarr V3 implementation in this version .*:FutureWarning",
148133
]
149-
doctest_subpackage_requires =[
134+
doctest_subpackage_requires = [
150135
"zarr/core.py = numpy>=2",
151-
"zarr/creation.py = numpy>=2"
136+
"zarr/creation.py = numpy>=2",
152137
]
153138

154139

0 commit comments

Comments
 (0)