From f8351980622f8997517e0591bf5eac1e4b417385 Mon Sep 17 00:00:00 2001 From: "Komarova, Evseniia" Date: Wed, 3 Sep 2025 19:29:57 +0200 Subject: [PATCH 1/2] Enable Python 3.14 --- .github/workflows/build-with-clang.yml | 2 +- .github/workflows/conda-package.yml | 8 ++++---- CHANGELOG.md | 5 +++++ pyproject.toml | 3 ++- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-with-clang.yml b/.github/workflows/build-with-clang.yml index a4569fa..8f1874c 100644 --- a/.github/workflows/build-with-clang.yml +++ b/.github/workflows/build-with-clang.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: - python: ["3.10", "3.11", "3.12", "3.13"] # 3.9 fails - gh-issue#56 + python: ["3.10", "3.11", "3.12", "3.13", "3.14"] # 3.9 fails - gh-issue#56 env: ONEAPI_ROOT: /opt/intel/oneapi diff --git a/.github/workflows/conda-package.yml b/.github/workflows/conda-package.yml index 82f24d9..9c90557 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -21,7 +21,7 @@ jobs: strategy: matrix: - python: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] steps: - name: Cancel Previous Runs @@ -90,7 +90,7 @@ jobs: strategy: matrix: - python: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] steps: - name: Cancel Previous Runs @@ -152,7 +152,7 @@ jobs: strategy: matrix: - python: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] experimental: [false] runner: [ubuntu-latest] continue-on-error: ${{ matrix.experimental }} @@ -226,7 +226,7 @@ jobs: strategy: matrix: - python: ['3.9', '3.10', '3.11', '3.12', '3.13'] + python: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] experimental: [false] runner: [windows-latest] continue-on-error: ${{ matrix.experimental }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 242b999..fbddb2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [dev] (MM/DD/YYYY) + +### Added +* Enabled support of Python 3.14 [gh-100](https://github.com/IntelPython/mkl-service/pull/100) + ## [2.5.2] (07/01/2025) ### Fixed diff --git a/pyproject.toml b/pyproject.toml index e7b1481..38ffe9e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,6 +43,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development", "Topic :: Utilities", @@ -57,7 +58,7 @@ keywords = ["MKL"] license = "BSD-3-Clause" name = "mkl-service" readme = {file = "README.md", content-type = "text/markdown"} -requires-python = ">=3.9,<3.14" +requires-python = ">=3.9,<3.15" [project.optional-dependencies] test = ["pytest"] From e525a4d8f527904fd9834f60f811d39e1ff5aaae Mon Sep 17 00:00:00 2001 From: "Komarova, Evseniia" Date: Wed, 3 Sep 2025 19:38:08 +0200 Subject: [PATCH 2/2] Add python_rc channel --- .github/workflows/build-with-clang.yml | 2 +- .github/workflows/conda-package.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-with-clang.yml b/.github/workflows/build-with-clang.yml index 8f1874c..a4569fa 100644 --- a/.github/workflows/build-with-clang.yml +++ b/.github/workflows/build-with-clang.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: - python: ["3.10", "3.11", "3.12", "3.13", "3.14"] # 3.9 fails - gh-issue#56 + python: ["3.10", "3.11", "3.12", "3.13"] # 3.9 fails - gh-issue#56 env: ONEAPI_ROOT: /opt/intel/oneapi diff --git a/.github/workflows/conda-package.yml b/.github/workflows/conda-package.yml index 9c90557..8b46e35 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -63,7 +63,7 @@ jobs: - name: Build conda package run: | - CHANNELS="-c conda-forge -c https://software.repos.intel.com/python/conda --override-channels" + CHANNELS="-c conda-forge -c conda-forge/label/python_rc -c https://software.repos.intel.com/python/conda --override-channels" VERSIONS="--python ${{ matrix.python }}" TEST="--no-test" @@ -132,7 +132,7 @@ jobs: echo "WHEELS_OUTPUT_FOLDER=$GITHUB_WORKSPACE\\" >> $GITHUB_ENV - name: Build conda package - run: conda build --no-test --python ${{ matrix.python }} -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels conda-recipe + run: conda build --no-test --python ${{ matrix.python }} -c https://software.repos.intel.com/python/conda -c conda-forge -c conda-forge/label/python_rc --override-channels conda-recipe - name: Upload artifact uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 @@ -157,7 +157,7 @@ jobs: runner: [ubuntu-latest] continue-on-error: ${{ matrix.experimental }} env: - CHANNELS: -c conda-forge -c https://software.repos.intel.com/python/conda --override-channels + CHANNELS: -c conda-forge -c conda-forge/label/python_rc -c https://software.repos.intel.com/python/conda --override-channels steps: - name: Download artifact @@ -231,7 +231,7 @@ jobs: runner: [windows-latest] continue-on-error: ${{ matrix.experimental }} env: - CHANNELS: -c conda-forge -c https://software.repos.intel.com/python/conda --override-channels + CHANNELS: -c conda-forge -c conda-forge/label/python_rc -c https://software.repos.intel.com/python/conda --override-channels steps: - name: Download artifact