From 2e44a8ebf9630bd7c4b2b9fcf3edd1dca25aadef Mon Sep 17 00:00:00 2001 From: David Stansby Date: Tue, 16 Jul 2024 11:24:07 +0100 Subject: [PATCH] Drop support for Python 3.8 --- .github/workflows/build.yml | 2 +- .github/workflows/pre.yml | 4 ++-- CHANGELOG.md | 4 ++++ setup.py | 2 +- tox.ini | 3 +-- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 261c4e97..795770ce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12'] os: ['windows-latest', 'macos-latest', 'ubuntu-latest'] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/pre.yml b/.github/workflows/pre.yml index 6bbf9d1e..b2d76211 100644 --- a/.github/workflows/pre.yml +++ b/.github/workflows/pre.yml @@ -17,8 +17,8 @@ jobs: fail-fast: false matrix: include: - - {os: windows-latest, python_Version: '3.9', toxenv: 'py39'} - - {os: macos-latest, python_Version: '3.8', toxenv: 'py38'} + - {os: windows-latest, python_Version: '3.11', toxenv: 'py311'} + - {os: macos-latest, python_Version: '3.10', toxenv: 'py310'} steps: - uses: actions/checkout@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index 337ab9f3..82937b72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# Unreleased + +- Drop support for Python 3.8. + # 0.9.0 (May 2024) - Correctly specify maximum compatible fsspec version. ([#338](https://github.com/ome/ome-zarr-py/pull/338)) diff --git a/setup.py b/setup.py index 3e1a5516..6f42eb15 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ def read(fname): long_description=read("README.rst"), packages=["ome_zarr"], py_modules=["ome_zarr"], - python_requires=">=3.6", + python_requires=">=3.9", install_requires=install_requires, classifiers=[ "Development Status :: 4 - Beta", diff --git a/tox.ini b/tox.ini index 7b50ac0f..8758f0ec 100644 --- a/tox.ini +++ b/tox.ini @@ -1,10 +1,9 @@ [tox] -envlist = py{38,39,310,311,312} +envlist = py{39,310,311,312} [gh-actions] python = - 3.8: py38 3.9: py39 3.10: py310 3.11: py311