All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added CLI patch management for NumPy random with persistent install/status/uninstall and one-shot command patching via
python -m mkl_random --patch <command>andpython -m mkl_random --with-numpy-patch <command>gh-133
- Removed
numpy-basedependency andUSE_NUMPY_BASEenvironment variable from conda recipe gh-124
- Removed
mklas runtime dependency to avoid possiblepip checkfailures gh-126
-
Added
mkl_randompatching for NumPy, withmkl_randomcontext manager,is_patchedquery, andpatch_numpy_randomandrestore_numpy_randomcalls to replacenumpy.randomcalls with calls frommkl_random.interfaces.numpy_randomgh-90 -
Added
mkl_random.interfaceswithmkl_random.interfaces.numpy_randominterface, which aliasesmkl_randomfunctionality to more strictly adhere to NumPy's API (i.e., drops arguments and functions which are not part of standard NumPy) gh-92 -
Added third-party tests from
numpy.randomwhich tests themkl_random.interfaces.numpy_randominterface gh-103
- Updates to
mkl_randomimplementations to better align with newer versions ofnumpy.randomgh-103, gh-115 - Made conda recipe dependency on numpy configurable through
USE_NUMPY_BASEenvironment variable gh-105
- Various bugfixes including a hang in
zipfwhen called withnp.nanand size-1 1D arrays being cast to scalars gh-103, gh-115
- Dropped support for Python 3.9 gh-81
- Deprecated
mkl_random.RandomStatein favor ofmkl_random.MKLRandomState, delegatingmkl_random.RandomStateto themkl_random.interfaces.numpy_randominterface gh-92
- Enabled support of Python 3.14 gh-79