Python hooks for Intel® oneAPI Math Kernel Library (oneMKL) runtime control settings.
Repo IntelPython/mkl-service, read from GitHub 31 min ago. IntelPython has not joined Take My Repo.
This release adds Python 3.15 support and enables free-threaded (GIL-disabled) CPython builds. It also introduces a new MKLMemory class that exposes MKL-allocated memory through the Python buffer protocol, and a new ilp64 build option for initializing MKL with the ILP64 interface. Building from source now requires a newer Cython and a C11-atomics-capable compiler.
🐍 Python 3.15 Support
🧵 Free-Threaded CPython
freethreading_compatible=True, and _mklinit declares Py_MOD_GIL_NOT_USED, so importing mkl no longer re-enables the GILpython-gil constraint from the conda recipes that pinned mkl-service to GIL-enabled Python 3.14 builds🧮 MKLMemory Class
mkl_malloc and related MKL calls to Python via the new MKLMemory class, which supports the Python buffer protocol🔢 ILP64 Build Option
ilp64 build option to initialize MKL with the ILP64 interface, which also resolves some build warnings⚠️ Build Requirement Changes
Cython raised to 3.1.0 (first release providing the freethreading_compatible directive)freethreading_compatible=True and _mklinit declares Py_MOD_GIL_NOT_USED, so importing mkl no longer re-enables the GIL gh-213ilp64 to initialize MKL with the ILP64 interface, which also resolves some build warnings gh-184mkl_malloc and related MKL calls to Python via MKLMemory class which supports the Python buffer protocol gh-182Cython requirement to 3.1.0, the first release providing the freethreading_compatible directive gh-213MKLMemory extension gh-182python-gil constraint from the conda recipes, which pinned mkl-service to GIL-enabled Python 3.14 builds gh-213IS_PY3K macro and the dead Python 2 module-init branch from _mklinitmodule.c, since the project requires Python 3.10+ gh-235Full Changelog: 2.8.0...2.9.0
This release migrates mkl-service to a modern Meson-based build system, replacing the legacy setuptools/setup.py pipeline. It also fixes runtime library path (RPATH) handling so that the MKL runtime is located correctly on macOS. There are no API or Python-version support changes.
🏗️ New Build System
setuptools to meson-python, removing setup.py in favor of meson.buildninja/cmake are formal build requirements🍎 macOS RPATH Fix
-rpath linker argument instead of being colon-joined; colon-joining is an ELF-only convention and produced a single unusable LC_RPATH entry on macOS (Mach-O)setuptools to meson-python, removing setup.py in favor of meson.build gh-174-rpath linker argument per path instead of colon-joining them, so the runtime library search path is baked correctly into macOS (Mach-O) extensions gh-222Full Changelog: 2.7.2...2.8.0
This is a bug-fix release, identical to 2.7.1 in terms of features.
This release fixes pip check for environments installing mkl-service, which was broken when MKL was added as a runtime dependency.
This is a bug-fix release, identical to 2.7.0 in terms of features.
This release only serves to make mkl-service backward compatible with MKL down to at least 2023.2, which fixes OSX builds on conda-forge (as MKL 2023.2 is the last available version there).
mkl-service backward compatibility from MKL 2026.0 down to at least 2023.2 gh-193, broken by gh-175pyproject.toml and conda recipe files for improved security gh-189This release modernizes mkl-service with updated Intel MKL instruction set support, improved dependency management, and enhanced code quality. Python 3.9 support has been dropped, and several legacy CBWR branches have been removed in alignment with the latest Intel® oneAPI Math Kernel Library (oneMKL).
🎯 New Intel Architecture Support
📦 Improved Dependency Management
🔧 Code Quality Improvements
⚠️ Breaking Changes
ssse3, sse4_1, avx, avx512_mic, avx512_mic,strict, and avx512_mic_e1 are no longer supported"avx10" and "avx512_e5" and CNR constants "avx10" and "avx10,strict" gh-175mkl as a runtime dependency and mkl-devel as build dependency in pyproject.toml gh-177"ssse3", "sse4_1", "avx", "avx512_mic", "avx512_mic,strict", and "avx512_mic_e1" cbwr branches gh-173mkl-service gh-183mkl-service initialization, which removes imported module pollution from the namespace gh-178Full Changelog: 2.6.1...2.7.0
This is a bug-fix release, including resolving:
mkl-service package to explicitly depend on a non–free-threaded (GIL-enabled) Python gh-111Full Changelog: 2.6.0...2.6.1