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?
This commit is contained in:
Ian Bell
2025-10-10 08:59:01 -04:00
committed by GitHub
parent b22a9449de
commit 238ca71e48
3 changed files with 10 additions and 8 deletions

View File

@@ -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

View File

@@ -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/

View File

@@ -0,0 +1,2 @@
[build-system]
requires = ["setuptools", "setuptools-scm", "cython"]