From eddb12e708e571de5e3878021999e80acb9f289e Mon Sep 17 00:00:00 2001 From: Agisilaos Kounelis Date: Wed, 6 Nov 2024 19:36:29 +0200 Subject: [PATCH 1/2] 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", From 356438bb0c054529d6d8f2931226063749adce20 Mon Sep 17 00:00:00 2001 From: Agisilaos Kounelis Date: Tue, 12 Nov 2024 13:43:21 +0200 Subject: [PATCH 2/2] Update cibuildwheel version --- .github/workflows/build-wheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index 88ecc64fd1..f67cf374a1 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -46,7 +46,7 @@ jobs: brew install automake pkg-config ninja llvm - name: Build wheels - uses: pypa/cibuildwheel@v2.18.1 + uses: pypa/cibuildwheel@v2.21.3 env: CIBW_BUILD_VERBOSITY: 3 CIBW_ENVIRONMENT_PASS_LINUX: SETUPTOOLS_SCM_PRETEND_VERSION_FOR_TILEDB S3_BUCKET TILEDB_TOKEN TILEDB_NAMESPACE