diff --git a/CHANGELOG.md b/CHANGELOG.md index 68f26772..c997a1f8 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 ### Changed +* `pyproject.toml` declares `LICENSE.txt` in `license-files`, and the minimum `meson-python` is now 0.18.0, the first version that supports `license-files` [gh-308](https://github.com/IntelPython/mkl_umath/pull/308) * Raised the minimum NumPy version to 2.0 at build time and at runtime in `pyproject.toml` and the conda recipe. `mkl_umath` built against NumPy 2 kept NumPy 2 behavior when run with NumPy 1.x, which the previous `numpy >=1.26.4` requirement allowed: complex `sign` returned NumPy 2 results and, on Windows, `patch_numpy_umath()` could not find NumPy loops matching the `int64` `ldexp` loops [gh-289](https://github.com/IntelPython/mkl_umath/pull/289) * Conda recipes now run the whole test suite with `pytest --pyargs mkl_umath` instead of only `test_basic.py`, and the unused `run_tests.{sh,bat}` scripts were removed [gh-283](https://github.com/IntelPython/mkl_umath/pull/283) diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index af5196cb..88d2e58e 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -22,7 +22,7 @@ requirements: - {{ stdlib('c') }} - {{ compiler('dpcpp') }} >=2024.2 # [not osx] host: - - meson-python >=0.16.0 + - meson-python >=0.18.0 - cmake - ninja - git diff --git a/pyproject.toml b/pyproject.toml index 00bb33c5..50e202db 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ [build-system] build-backend = "mesonpy" requires = [ - "meson-python>=0.16.0", + "meson-python>=0.18.0", "ninja", "Cython>=3.1.0", "numpy>=2", @@ -63,6 +63,7 @@ description = "Intel (R) MKL-based universal functions for NumPy arrays" dynamic = ["version"] keywords = ["mkl_umath"] license = "BSD-3-Clause" +license-files = ["LICENSE.txt"] name = "mkl_umath" readme = { file = "README.md", content-type = "text/markdown" } requires-python = ">=3.10,<3.16"