From b150223c5800ca529c86dafabffcc5b0b5d7644a Mon Sep 17 00:00:00 2001 From: mdaneri <17148649+mdaneri@users.noreply.github.com> Date: Tue, 1 Sep 2026 07:53:02 -0700 Subject: [PATCH] Add Python 3.14 to the supported wheel matrix --- .github/workflows/validate.yml | 2 +- Makefile | 3 +-- setup.py | 9 ++++++--- src/release/scripts/build-wheels.sh | 4 ++-- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 76f72095..00d13b6b 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -22,7 +22,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] runs-on: ${{ matrix.os }} steps: - name: Harden the runner (Audit all outbound calls) diff --git a/Makefile b/Makefile index 17592d1d..f2ad3fd8 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PYTHON_VERSIONS := 3.9 3.10 3.11 3.12 3.13 +PYTHON_VERSIONS := 3.9 3.10 3.11 3.12 3.13 3.14 release: src/release/scripts/release.sh @@ -21,4 +21,3 @@ release/install-dependencies: pyenv local $$version; \ pyenv exec pip3 install wheel setuptools build --break-system-packages; \ done - diff --git a/setup.py b/setup.py index 9e4a7b7a..9906cf83 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,11 @@ +import os +import platform from pathlib import Path -from setuptools import setup, find_packages from sysconfig import get_platform + +from setuptools import find_packages, setup + from version import SDK_VERSION -import platform -import os try: from wheel.bdist_wheel import bdist_wheel as _bdist_wheel @@ -70,6 +72,7 @@ def get_shared_library_data_to_include(): "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "License :: OSI Approved :: MIT License", ], cmdclass={"bdist_wheel": bdist_wheel}, diff --git a/src/release/scripts/build-wheels.sh b/src/release/scripts/build-wheels.sh index 484875d3..0c3d5d9c 100755 --- a/src/release/scripts/build-wheels.sh +++ b/src/release/scripts/build-wheels.sh @@ -51,7 +51,7 @@ build_wheels() { python_version=$(pyenv exec python3 --version 2>&1) if [[ "$machine_platform" == "x86_64" ]]; then - if [[ "$python_version" == "Python 3.13"* ]]; then + if [[ "$python_version" =~ ^Python\ 3\.(1[3-9]|[2-9][0-9]) ]]; then macos_version="10.13" else macos_version=$macOS_version_x86_64 @@ -92,4 +92,4 @@ for python_version in "${python_versions[@]}"; do done # Build Source as well incase wheels fails, pypi can install this as backup (standard practice) -pyenv exec python3 -m build --sdist \ No newline at end of file +pyenv exec python3 -m build --sdist