Skip to content

Commit

Permalink
[v2] Drop support for Python 3.9 (#2074)
Browse files Browse the repository at this point in the history
* Drop support for Python 3.9

* Ignore B905 ruff rule

* Fix release notes
  • Loading branch information
dstansby authored Aug 17, 2024
1 parent addc39d commit c5c4698
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ body:
attributes:
label: Python Version
description: Version of Python interpreter
placeholder: 3.9, 3.10, 3.11, etc.
placeholder: 3.10, 3.11, 3.12 etc.
validations:
required: true
- type: input
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ['3.10', '3.11', '3.12']
numpy_version: ['>=1.24.0', '==1.23.*']
exclude:
- python-version: '3.10'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/[email protected]
name: Install Python
with:
python-version: '3.9'
python-version: '3.11'

- name: Install PyBuild
run: |
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
build:
os: ubuntu-20.04
tools:
python: "3.9"
python: "3.11"

sphinx:
configuration: docs/conf.py
Expand Down
11 changes: 9 additions & 2 deletions docs/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,31 @@ Release notes
See `GH1777 <https://github.com/zarr-developers/zarr-python/issues/1777>`_ for more details on the upcoming
3.0 release.


.. _release_2.18.3:

2.18.3
------

Maintenance
~~~~~~~~~~~
* Removed support for Python 3.9.
By :user:`David Stansby <dstansby>`

* Fix a regression when using orthogonal indexing with a scalar.
By :user:`Deepak Cherian <dcherian>` :issue:`1931`


.. _release_2.18.2:

2.18.2
------

Enhancements
~~~~~~~~~~~~

* Add Zstd codec to old V3 code path.
By :user:`Ryan Abernathey <rabernat>`
By :user:`Ryan Abernathey <rabernat>`

.. _release_2.18.1:

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

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

Deprecations
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ readme = { file = "README.md", content-type = "text/markdown" }
maintainers = [
{ name = "Alistair Miles", email = "[email protected]" }
]
requires-python = ">=3.9"
requires-python = ">=3.10"
dependencies = [
'asciitree',
'numpy>=1.23',
Expand All @@ -30,9 +30,9 @@ classifiers = [
'Topic :: Software Development :: Libraries :: Python Modules',
'Operating System :: Unix',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
]
license = { text = "MIT" }

Expand Down Expand Up @@ -107,6 +107,7 @@ exclude = [
extend-select = [
"B"
]
ignore = ["B905"] # zip-without-explicit-strict

[tool.black]
line-length = 100
Expand Down

0 comments on commit c5c4698

Please sign in to comment.