From 6f68be903f4c2920fb5d493fb8fbae9e1f2270aa Mon Sep 17 00:00:00 2001 From: Ruben Vorderman Date: Tue, 9 Sep 2025 15:14:27 +0200 Subject: [PATCH 1/2] Enable Python 3.14 support, disable Python 3.9 --- .github/workflows/ci.yml | 19 ++++++++++--------- CHANGELOG.rst | 3 ++- pyproject.toml | 2 +- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c000ea..b632581 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,10 +19,10 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive - - name: Set up Python 3.9 + - name: Set up Python 3.10 uses: actions/setup-python@v2.2.1 with: - python-version: "3.9" + python-version: "3.10" - name: Install tox run: pip install tox - name: Lint @@ -39,10 +39,10 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive - - name: Set up Python 3.9 + - name: Set up Python 3.10 uses: actions/setup-python@v2.2.1 with: - python-version: "3.9" + python-version: "3.10" - name: Install tox and upgrade setuptools and pip run: pip install --upgrade tox setuptools pip - name: Run tox -e ${{ matrix.tox_env }} @@ -53,21 +53,21 @@ jobs: strategy: matrix: python-version: - - "3.9" - "3.10" - "3.11" - "3.12" - "3.13" - - "pypy-3.9" + - "3.14" - "pypy-3.10" + - "pypy-3.11" os: ["ubuntu-latest"] include: - os: "macos-14" # For m1 macos python-version: "3.12" - os: "macos-13" # for x86 macos - python-version: "3.9" + python-version: "3.10" - os: "windows-latest" - python-version: "3.9" + python-version: "3.10" steps: - uses: actions/checkout@v4 with: @@ -76,6 +76,7 @@ jobs: uses: actions/setup-python@v2.2.1 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Install tox and upgrade setuptools run: pip install --upgrade tox setuptools - name: Set MSVC developer prompt @@ -95,7 +96,7 @@ jobs: strategy: matrix: python_version: - - "3.9" + - "3.10" steps: - uses: actions/checkout@v4 with: diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ffc0d0b..1559500 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -9,7 +9,8 @@ Changelog version develop ----------------- -+ Python 3.8 is no longer supported. ++ Python 3.14 is supported. ++ Python 3.8 and 3.9 are no longer supported. + Switched to setuptools-scm for building the package rather than versioningit. + Test files are added to the source distribution. diff --git a/pyproject.toml b/pyproject.toml index 1d05808..6446a22 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,11 +15,11 @@ requires-python = ">=3.9" # Because of setuptools version classifiers = [ "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Programming Language :: C", From a9f525fd631ff4669bca04bbcc6471abbebbe1fb Mon Sep 17 00:00:00 2001 From: Ruben Vorderman Date: Tue, 9 Sep 2025 15:17:49 +0200 Subject: [PATCH 2/2] Update git checkouts for actions --- .github/workflows/ci.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b632581..9613aaa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: with: submodules: recursive - name: Set up Python 3.10 - uses: actions/setup-python@v2.2.1 + uses: actions/setup-python@v5 with: python-version: "3.10" - name: Install tox @@ -40,7 +40,7 @@ jobs: with: submodules: recursive - name: Set up Python 3.10 - uses: actions/setup-python@v2.2.1 + uses: actions/setup-python@v5 with: python-version: "3.10" - name: Install tox and upgrade setuptools and pip @@ -73,14 +73,14 @@ jobs: with: submodules: recursive - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2.2.1 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} allow-prereleases: true - name: Install tox and upgrade setuptools run: pip install --upgrade tox setuptools - name: Set MSVC developer prompt - uses: ilammy/msvc-dev-cmd@v1.6.0 + uses: ilammy/msvc-dev-cmd@v1 if: runner.os == 'Windows' - name: Install build dependencies (MacOS) run: brew install make @@ -101,7 +101,7 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive - - uses: uraimo/run-on-arch-action@v2.5.0 + - uses: uraimo/run-on-arch-action@v3 name: Build & run test with: arch: none @@ -146,7 +146,7 @@ jobs: - name: Install requirements (universal) run: conda install zlib-ng ${{ matrix.python_version}} tox - name: Set MSVC developer prompt - uses: ilammy/msvc-dev-cmd@v1.6.0 + uses: ilammy/msvc-dev-cmd@v1 if: runner.os == 'Windows' - name: Run tests (dynamic link) run: tox @@ -179,7 +179,7 @@ jobs: with: submodules: recursive fetch-depth: 0 # Fetch everything to get accurately versioned tag. - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v2 # Some issues where caused by higher versions. name: Install Python - name: Install cibuildwheel twine build run: python -m pip install cibuildwheel twine build @@ -187,11 +187,11 @@ jobs: run: brew install make if: runner.os == 'macOS' - name: Set MSVC developer prompt - uses: ilammy/msvc-dev-cmd@v1.6.0 + uses: ilammy/msvc-dev-cmd@v1 if: runner.os == 'Windows' - name: Set up QEMU if: ${{runner.os == 'Linux' && matrix.cibw_archs_linux == 'aarch64'}} - uses: docker/setup-qemu-action@v1.0.1 + uses: docker/setup-qemu-action@v3 with: platforms: arm64 - name: Build wheels