From 4377ed3fb4d1618bbc4f19748dda2f397cafaaa2 Mon Sep 17 00:00:00 2001 From: Martin Raspaud Date: Thu, 17 Oct 2024 11:24:47 +0200 Subject: [PATCH 1/2] Drop python 3.9 --- .github/workflows/ci.yaml | 5 ++++- .github/workflows/deploy-sdist.yaml | 2 +- .pre-commit-config.yaml | 2 +- doc/rtd_environment.yml | 2 +- pyproject.toml | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f74cc830ad..73c2f1f3e9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,12 +18,15 @@ jobs: fail-fast: true matrix: os: ["windows-latest", "ubuntu-latest", "macos-latest"] - python-version: ["3.9", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12"] experimental: [false] include: - python-version: "3.12" os: "ubuntu-latest" experimental: true + - python-version: "3.13" + os: "ubuntu-latest" + experimental: true env: PYTHON_VERSION: ${{ matrix.python-version }} diff --git a/.github/workflows/deploy-sdist.yaml b/.github/workflows/deploy-sdist.yaml index 12042f4f36..3a8e43181a 100644 --- a/.github/workflows/deploy-sdist.yaml +++ b/.github/workflows/deploy-sdist.yaml @@ -19,7 +19,7 @@ jobs: shell: bash -l {0} run: | python -m pip install -q build - python -m build -s + python -m build - name: Publish package to PyPI if: github.event.action == 'published' diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 82163f8b60..fc3d7e71e7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,7 +27,7 @@ repos: - types-setuptools - types-PyYAML - types-requests - args: ["--python-version", "3.9", "--ignore-missing-imports"] + args: ["--python-version", "3.10", "--ignore-missing-imports"] - repo: https://github.com/pycqa/isort rev: 5.13.2 hooks: diff --git a/doc/rtd_environment.yml b/doc/rtd_environment.yml index 5bc7dabe95..3b11a9a20b 100644 --- a/doc/rtd_environment.yml +++ b/doc/rtd_environment.yml @@ -2,7 +2,7 @@ name: readthedocs channels: - conda-forge dependencies: - - python=3.10 + - python=3.11 - pip - platformdirs - dask diff --git a/pyproject.toml b/pyproject.toml index 196ae6a462..65267c8548 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ dependencies = [ "zarr", ] readme = "README.rst" -requires-python = ">=3.9" +requires-python = ">=3.10" license = { text = "GPLv3" } classifiers = [ "Development Status :: 5 - Production/Stable", From f9dccad47a39f9485873ece05ce03892ee8b234d Mon Sep 17 00:00:00 2001 From: Martin Raspaud Date: Thu, 17 Oct 2024 14:06:48 +0200 Subject: [PATCH 2/2] Remove 3.13 experimental run --- .github/workflows/ci.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 73c2f1f3e9..84622f221c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,9 +24,6 @@ jobs: - python-version: "3.12" os: "ubuntu-latest" experimental: true - - python-version: "3.13" - os: "ubuntu-latest" - experimental: true env: PYTHON_VERSION: ${{ matrix.python-version }}