diff --git a/.github/workflows/build-with-clang.yml b/.github/workflows/build-with-clang.yml index 77bcdd3f..7bec94af 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.14t"] + python: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.14t", "3.15"] numpy_version: ["'numpy>=2'"] env: diff --git a/.github/workflows/build-with-standard-clang.yml b/.github/workflows/build-with-standard-clang.yml index fe77b903..853cf627 100644 --- a/.github/workflows/build-with-standard-clang.yml +++ b/.github/workflows/build-with-standard-clang.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: - python: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"] + python: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.14t", "3.15"] numpy_version: ["'numpy>=2'"] env: diff --git a/.github/workflows/build_pip.yml b/.github/workflows/build_pip.yml index 1104584b..1fdd99ae 100644 --- a/.github/workflows/build_pip.yml +++ b/.github/workflows/build_pip.yml @@ -33,6 +33,12 @@ jobs: - python: "3.14" python_spec: "3.14.* *_cp314t" use_pre: "--pre" + - python: "3.15" + python_spec: "3.15.* *_cp315" + use_pre: "" + - python: "3.15" + python_spec: "3.15.* *_cp315" + use_pre: "--pre" steps: - name: Checkout repo diff --git a/.github/workflows/conda-package-cf.yml b/.github/workflows/conda-package-cf.yml index 52b680ef..04c68592 100644 --- a/.github/workflows/conda-package-cf.yml +++ b/.github/workflows/conda-package-cf.yml @@ -39,6 +39,10 @@ jobs: numpy: "2.3" python_spec: "3.14.* *_cp314t" python_tag: "3.14t" + - python: "3.15" + numpy: "2.5" + python_spec: "3.15.* *_cp315" + python_tag: "3.15" steps: - name: Cancel Previous Runs uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66 # 0.13.1 @@ -125,6 +129,12 @@ jobs: numpy: 'numpy">=2"' experimental: false runner: ubuntu-latest + - python: "3.15" + python_spec: "3.15.* *_cp315" + python_tag: "3.15" + numpy: 'numpy">=2"' + experimental: false + runner: ubuntu-latest continue-on-error: ${{ matrix.experimental }} env: CHANNELS: -c conda-forge --override-channels @@ -225,6 +235,10 @@ jobs: numpy: "2.3" python_spec: "3.14.* *_cp314t" python_tag: "3.14t" + - python: "3.15" + numpy: "2.5" + python_spec: "3.15.* *_cp315" + python_tag: "3.15" env: conda-bld: C:\Miniconda\conda-bld\win-64\ steps: @@ -305,6 +319,12 @@ jobs: numpy: 'numpy">=2"' experimental: false runner: windows-latest + - python: "3.15" + python_spec: "3.15.* *_cp315" + python_tag: "3.15" + numpy: 'numpy">=2"' + experimental: false + runner: windows-latest continue-on-error: ${{ matrix.experimental }} env: workdir: '${{ github.workspace }}' diff --git a/.github/workflows/conda-package.yml b/.github/workflows/conda-package.yml index e0d85a1e..39152e91 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -39,6 +39,10 @@ jobs: numpy: "2.3" python_spec: "3.14.* *_cp314t" python_tag: "3.14t" + - python: "3.15" + numpy: "2.5" + python_spec: "3.15.* *_cp315" + python_tag: "3.15" steps: - name: Cancel Previous Runs uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66 # 0.13.1 @@ -135,6 +139,12 @@ jobs: numpy: 'numpy">=2"' experimental: false runner: ubuntu-latest + - python: "3.15" + python_spec: "3.15.* *_cp315" + python_tag: "3.15" + numpy: 'numpy">=2"' + experimental: false + runner: ubuntu-latest continue-on-error: ${{ matrix.experimental }} env: CHANNELS: -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels @@ -235,6 +245,10 @@ jobs: numpy: "2.3" python_spec: "3.14.* *_cp314t" python_tag: "3.14t" + - python: "3.15" + numpy: "2.5" + python_spec: "3.15.* *_cp315" + python_tag: "3.15" env: conda-bld: C:\Miniconda\conda-bld\win-64\ steps: @@ -322,6 +336,12 @@ jobs: numpy: 'numpy">=2"' experimental: false runner: windows-latest + - python: "3.15" + python_spec: "3.15.* *_cp315" + python_tag: "3.15" + numpy: 'numpy">=2"' + experimental: false + runner: windows-latest continue-on-error: ${{ matrix.experimental }} env: workdir: '${{ github.workspace }}' diff --git a/AGENTS.md b/AGENTS.md index 01525618..840cac24 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -41,7 +41,7 @@ CC=icx pip install --no-deps --no-build-isolation . # clang is also supported i ## CI/CD - **Platforms:** Linux, Windows -- **Python versions:** 3.10, 3.11, 3.12, 3.13, 3.14 +- **Python versions:** 3.10, 3.11, 3.12, 3.13, 3.14, 3.15 - **Workflows:** `.github/workflows/` - `conda-package.yml` — main conda build/test pipeline - `conda-package-cf.yml` — conda-forge-oriented build/test pipeline diff --git a/CHANGELOG.md b/CHANGELOG.md index 14f0aa29..f0da8acf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [dev] - YYYY-MM-DD ### Added +* Enabled support of Python 3.15 [gh-279](https://github.com/IntelPython/mkl_umath/pull/279) * Added support for free-threaded (GIL-disabled) CPython builds: the Cython extension is compiled with `freethreading_compatible=True` and `_ufuncs` declares `Py_MOD_GIL_NOT_USED`, so importing `mkl_umath` no longer re-enables the GIL [gh-255](https://github.com/IntelPython/mkl_umath/pull/255) ### Changed diff --git a/conda-recipe/AGENTS.md b/conda-recipe/AGENTS.md index 08182026..c5bd2f93 100644 --- a/conda-recipe/AGENTS.md +++ b/conda-recipe/AGENTS.md @@ -11,7 +11,7 @@ Conda package build recipe for Intel channel distribution. ## Build configuration - **Channels:** `https://software.repos.intel.com/python/conda`, `conda-forge` -- **Python versions:** 3.10, 3.11, 3.12, 3.13, 3.14 +- **Python versions:** 3.10, 3.11, 3.12, 3.13, 3.14, 3.15 - **Build system:** meson-python (via `python -m build`) - **Compilers:** Intel C compiler (icx) - **Dependencies:** mkl-devel, intel-openmp, dpcpp_{linux,win}-64, numpy diff --git a/mkl_umath/tests/AGENTS.md b/mkl_umath/tests/AGENTS.md index abc3d058..a9f4d5c9 100644 --- a/mkl_umath/tests/AGENTS.md +++ b/mkl_umath/tests/AGENTS.md @@ -20,7 +20,7 @@ pytest mkl_umath/tests/ ## CI integration - Tests run in conda-package.yml workflow -- Separate test jobs per Python version (3.10-3.14) +- Separate test jobs per Python version (3.10-3.15) - Linux + Windows platforms ## Adding tests diff --git a/pyproject.toml b/pyproject.toml index 13f65fb4..64a913ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,6 +50,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "Programming Language :: Python :: Free Threading :: 2 - Beta", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development", @@ -65,7 +66,7 @@ keywords = ["mkl_umath"] license = "BSD-3-Clause" name = "mkl_umath" readme = { file = "README.md", content-type = "text/markdown" } -requires-python = ">=3.10,<3.15" +requires-python = ">=3.10,<3.16" [project.optional-dependencies] test = ["pytest"]