From eddb12e708e571de5e3878021999e80acb9f289e Mon Sep 17 00:00:00 2001 From: Agisilaos Kounelis Date: Wed, 6 Nov 2024 19:36:29 +0200 Subject: [PATCH] Enable python 3.13 --- .github/workflows/build-wheels.yml | 4 ++-- .github/workflows/ci.yml | 2 +- .github/workflows/daily-test-build-numpy.yml | 4 +++- pyproject.toml | 1 + 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index 58f12c1b4c..88ecc64fd1 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -33,7 +33,7 @@ jobs: - [macos-13, macosx_x86_64] - [macos-14, macosx_arm64] - [windows-2022, win_amd64] - python: ["cp39", "cp310", "cp311", "cp312"] + python: ["cp39", "cp310", "cp311", "cp312", "cp313"] steps: - uses: actions/checkout@v4 @@ -99,7 +99,7 @@ jobs: - macos-14 - windows-2022 - ubuntu-22.04 - python: ["3.9", "3.10", "3.11", "3.12"] + python: ["3.9", "3.10", "3.11", "3.12", "3.13"] runs-on: ${{ matrix.os }} steps: - name: Set up Python ${{ matrix.python }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7bb1af3b77..71fc1ceb77 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: # libfaketime tests fail on macos arm. Disable tests for now. # - macos-14 - windows-latest - python-version: [ "3.9", "3.10", "3.11", "3.12"] + python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] fail-fast: false env: MACOSX_DEPLOYMENT_TARGET: "11" diff --git a/.github/workflows/daily-test-build-numpy.yml b/.github/workflows/daily-test-build-numpy.yml index 5802898169..a6ecb592a5 100644 --- a/.github/workflows/daily-test-build-numpy.yml +++ b/.github/workflows/daily-test-build-numpy.yml @@ -22,9 +22,11 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-13, macos-14, windows-latest] - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] include: # https://github.com/scipy/oldest-supported-numpy/blob/main/setup.cfg + - python-version: "3.13" + numpy-version: "2.1.0" - python-version: "3.12" numpy-version: "1.26.4" - python-version: "3.12" diff --git a/pyproject.toml b/pyproject.toml index d026bbf88e..8ee52a5001 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,6 +35,7 @@ classifiers=[ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] dependencies = [ "numpy>=1.25",