From 238ca71e482ad6be3702d0348530292d3135b22f Mon Sep 17 00:00:00 2001 From: Ian Bell Date: Fri, 10 Oct 2025 08:59:01 -0400 Subject: [PATCH] Python 3.14 support? (#2630) * Python 3.14 support? * Don't need explicit skip for pypy * Explicit 3.14 * wrong python for pip? * Another pyproject.toml to fix deps? --- .github/workflows/python_buildwheels.yml | 8 ++++---- .github/workflows/python_cibuildwheel.yml | 8 ++++---- wrappers/Python/pyproject.toml | 2 ++ 3 files changed, 10 insertions(+), 8 deletions(-) create mode 100644 wrappers/Python/pyproject.toml diff --git a/.github/workflows/python_buildwheels.yml b/.github/workflows/python_buildwheels.yml index ddb532f0..cc67952c 100644 --- a/.github/workflows/python_buildwheels.yml +++ b/.github/workflows/python_buildwheels.yml @@ -62,7 +62,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: [39, 310, 311, 312, 313] + python-version: [39, 310, 311, 312, 313, 314] arch: [i686, x86_64, ppc64le, s390x] exclude: - os: ubuntu-latest @@ -85,7 +85,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-24.04-arm] - python-version: [39, 310, 311, 312, 313] + python-version: [39, 310, 311, 312, 313, 314] arch: [aarch64] uses: ./.github/workflows/python_cibuildwheel.yml with: @@ -101,7 +101,7 @@ jobs: fail-fast: false matrix: os: [windows-latest] - python-version: [39, 310, 311, 312, 313] + python-version: [39, 310, 311, 312, 313, 314] arch: [AMD64, x86, ARM64] #exclude: # - os: windows @@ -120,7 +120,7 @@ jobs: fail-fast: false matrix: os: [macos-latest] - python-version: [39, 310, 311, 312, 313] + python-version: [39, 310, 311, 312, 313, 314] arch: [x86_64, arm64, universal2] exclude: - os: macos-latest diff --git a/.github/workflows/python_cibuildwheel.yml b/.github/workflows/python_cibuildwheel.yml index 00267925..38a72af0 100644 --- a/.github/workflows/python_cibuildwheel.yml +++ b/.github/workflows/python_cibuildwheel.yml @@ -59,14 +59,14 @@ jobs: platforms: all - name: Build and test wheels - uses: pypa/cibuildwheel@v2.23.2 + uses: pypa/cibuildwheel@v3.2.0 env: MACOSX_DEPLOYMENT_TARGET: 11.0 CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=11.0 SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk CIBW_BEFORE_BUILD: > - pip install setuptools wheel Cython requests jinja2 pyyaml + python -m pip install setuptools wheel Cython requests jinja2 pyyaml CIBW_BEFORE_BUILD_LINUX: > - pip install setuptools wheel Cython requests jinja2 pyyaml && git config --global --add safe.directory "*" + python -m pip install setuptools wheel Cython requests jinja2 pyyaml && git config --global --add safe.directory "*" CIBW_ENVIRONMENT_LINUX: COOLPROP_CMAKE=default,NATIVE CIBW_BUILD: cp${{ inputs.python-version }}-* CIBW_ARCHS_MACOS: ${{ inputs.arch }} # x86_64 arm64 # universal2 is redundant @@ -76,7 +76,7 @@ jobs: CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 CIBW_MANYLINUX_I686_IMAGE: manylinux2014 CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014 - CIBW_SKIP: "pp*" + # CIBW_SKIP: "pp*" CIBW_TEST_SKIP: "*-macosx_arm64 *-win_arm64" with: package-dir: ./wrappers/Python/ diff --git a/wrappers/Python/pyproject.toml b/wrappers/Python/pyproject.toml new file mode 100644 index 00000000..30d86ec4 --- /dev/null +++ b/wrappers/Python/pyproject.toml @@ -0,0 +1,2 @@ +[build-system] +requires = ["setuptools", "setuptools-scm", "cython"] \ No newline at end of file