From 5421d5a9dae552680f7f3daf2eeeff9898051c79 Mon Sep 17 00:00:00 2001 From: "Komarova, Evseniia" Date: Fri, 10 Oct 2025 12:25:23 +0200 Subject: [PATCH 1/5] Add 3.14 python --- CHANGELOG.md | 5 +++++ pyproject.toml | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index de58258..e853e5d 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-234](https://github.com/IntelPython/mkl_fft/pull/234) + ## [2.1.1] - 2025-10-09 ### Fixed diff --git a/pyproject.toml b/pyproject.toml index 3264dce..5c69aa2 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 :: Scientific/Engineering", @@ -57,7 +58,7 @@ keywords = ["DFTI", "FFT", "Fourier", "MKL"] license = "BSD-3-Clause" name = "mkl_fft" readme = {file = "README.md", content-type = "text/markdown"} -requires-python = ">=3.9,<3.14" +requires-python = ">=3.9,<3.15" [project.optional-dependencies] scipy_interface = ["scipy>=1.10"] From e0eb454e997e72d0638604b8b59ce9e3076dc7ba Mon Sep 17 00:00:00 2001 From: "Komarova, Evseniia" Date: Fri, 10 Oct 2025 12:52:51 +0200 Subject: [PATCH 2/5] Add scipy restriction --- conda-recipe/meta.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index d071875..4e53a5c 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -34,7 +34,8 @@ test: - pytest -v --pyargs mkl_fft requires: - pytest - - scipy >=1.10 + # This is a temporary python restriction + - scipy >=1.10 # [py<314] imports: - mkl_fft - mkl_fft.interfaces From 17f2538f52e6f171be95cc7f864cd47941e014d8 Mon Sep 17 00:00:00 2001 From: "Komarova, Evseniia" Date: Fri, 10 Oct 2025 15:21:07 +0200 Subject: [PATCH 3/5] Do not use freethreading --- conda-recipe/conda_build_config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conda-recipe/conda_build_config.yaml b/conda-recipe/conda_build_config.yaml index d6b54bb..06ec7db 100644 --- a/conda-recipe/conda_build_config.yaml +++ b/conda-recipe/conda_build_config.yaml @@ -14,3 +14,5 @@ cxx_compiler: # [win] - vs2017 # [win] c_compiler: # [win] - vs2017 # [win] +python: # [py314] + - 3.14.* *_cp314 # [py314] From f5770b760ddae3eb62b32b159b0e0e7ab94338d4 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Fri, 10 Oct 2025 09:19:05 -0500 Subject: [PATCH 4/5] Explicitly pin to the GIL build metapackage. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `python-gil` is the conda-forge metapackage that guarantees GIL builds only. While conda-forge’s global conda_build_config.yaml defines both true and false variants of is_freethreading. --- conda-recipe/conda_build_config.yaml | 2 -- conda-recipe/meta.yaml | 6 ++++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conda-recipe/conda_build_config.yaml b/conda-recipe/conda_build_config.yaml index 06ec7db..d6b54bb 100644 --- a/conda-recipe/conda_build_config.yaml +++ b/conda-recipe/conda_build_config.yaml @@ -14,5 +14,3 @@ cxx_compiler: # [win] - vs2017 # [win] c_compiler: # [win] - vs2017 # [win] -python: # [py314] - - 3.14.* *_cp314 # [py314] diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 4e53a5c..fbbc00a 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -17,7 +17,8 @@ requirements: - {{ compiler('c') }} - {{ stdlib('c') }} host: - - python + - python # [py<314] + - python-gil # [py>=314] - pip - setuptools >=77 - mkl-devel @@ -25,7 +26,8 @@ requirements: - numpy-base - wheel >=0.41.3 run: - - python + - python # [py<314] + - python-gil # [py>=314] - mkl-service - {{ pin_compatible('numpy-base') }} From ca478f9521833703eef07d30065ab71b881a9653 Mon Sep 17 00:00:00 2001 From: Evseniia <70146207+ekomarova@users.noreply.github.com> Date: Tue, 14 Oct 2025 11:59:01 +0200 Subject: [PATCH 5/5] Remove python restriction --- conda-recipe/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index fbbc00a..7b04eae 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -17,7 +17,7 @@ requirements: - {{ compiler('c') }} - {{ stdlib('c') }} host: - - python # [py<314] + - python - python-gil # [py>=314] - pip - setuptools >=77 @@ -26,7 +26,7 @@ requirements: - numpy-base - wheel >=0.41.3 run: - - python # [py<314] + - python - python-gil # [py>=314] - mkl-service - {{ pin_compatible('numpy-base') }}