Skip to content

Commit c5c4698

Browse files
authored
[v2] Drop support for Python 3.9 (#2074)
* Drop support for Python 3.9 * Ignore B905 ruff rule * Fix release notes
1 parent addc39d commit c5c4698

File tree

6 files changed

+16
-8
lines changed

6 files changed

+16
-8
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.9, 3.10, 3.11, etc.
30+
placeholder: 3.10, 3.11, 3.12 etc.
3131
validations:
3232
required: true
3333
- type: input

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
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.9', '3.10', '3.11', '3.12']
18+
python-version: ['3.10', '3.11', '3.12']
1919
numpy_version: ['>=1.24.0', '==1.23.*']
2020
exclude:
2121
- python-version: '3.10'

.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/[email protected]
2020
name: Install Python
2121
with:
22-
python-version: '3.9'
22+
python-version: '3.11'
2323

2424
- name: Install PyBuild
2525
run: |

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2
33
build:
44
os: ubuntu-20.04
55
tools:
6-
python: "3.9"
6+
python: "3.11"
77

88
sphinx:
99
configuration: docs/conf.py

docs/release.rst

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,31 @@ Release notes
1818
See `GH1777 <https://github.com/zarr-developers/zarr-python/issues/1777>`_ for more details on the upcoming
1919
3.0 release.
2020

21+
2122
.. _release_2.18.3:
2223

2324
2.18.3
2425
------
2526

2627
Maintenance
2728
~~~~~~~~~~~
29+
* Removed support for Python 3.9.
30+
By :user:`David Stansby <dstansby>`
31+
2832
* Fix a regression when using orthogonal indexing with a scalar.
2933
By :user:`Deepak Cherian <dcherian>` :issue:`1931`
3034

3135

3236
.. _release_2.18.2:
3337

38+
2.18.2
39+
------
40+
3441
Enhancements
3542
~~~~~~~~~~~~
3643

3744
* Add Zstd codec to old V3 code path.
38-
By :user:`Ryan Abernathey <rabernat>`
45+
By :user:`Ryan Abernathey <rabernat>`
3946

4047
.. _release_2.18.1:
4148

@@ -62,7 +69,7 @@ Maintenance
6269
* Enable ruff/bugbear rules (B) and fix issues.
6370
By :user:`Dimitri Papadopoulos Orfanos <DimitriPapadopoulos>` :issue:`1702`.
6471

65-
* Minor updates to use `np.inf` instead of `np.PINF` / `np.NINF` in preparation for NumPy 2.0.0 release.
72+
* Minor updates to use `np.inf` instead of `np.PINF` / `np.NINF` in preparation for NumPy 2.0.0 release.
6673
By :user:`Joe Hamman <jhamman>` :issue:`1842`.
6774

6875
Deprecations

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ readme = { file = "README.md", content-type = "text/markdown" }
1010
maintainers = [
1111
{ name = "Alistair Miles", email = "[email protected]" }
1212
]
13-
requires-python = ">=3.9"
13+
requires-python = ">=3.10"
1414
dependencies = [
1515
'asciitree',
1616
'numpy>=1.23',
@@ -30,9 +30,9 @@ classifiers = [
3030
'Topic :: Software Development :: Libraries :: Python Modules',
3131
'Operating System :: Unix',
3232
'Programming Language :: Python :: 3',
33-
'Programming Language :: Python :: 3.9',
3433
'Programming Language :: Python :: 3.10',
3534
'Programming Language :: Python :: 3.11',
35+
'Programming Language :: Python :: 3.12',
3636
]
3737
license = { text = "MIT" }
3838

@@ -107,6 +107,7 @@ exclude = [
107107
extend-select = [
108108
"B"
109109
]
110+
ignore = ["B905"] # zip-without-explicit-strict
110111

111112
[tool.black]
112113
line-length = 100

0 commit comments

Comments
 (0)