From 6147fd5dd6a34534c986e93f037405cab9b49e4d Mon Sep 17 00:00:00 2001 From: "Harlow, Jordan" Date: Wed, 2 Dec 2026 09:43:55 -0700 Subject: [PATCH] build: Declare LICENSE.txt in license-files meson-python copies license-files entries into a wheel's .dist-info/licenses. Raise the meson-python floor to 0.18.0, the first release that supports license-files. --- CHANGELOG.md | 1 + conda-recipe/meta.yaml | 2 +- pyproject.toml | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7edf29f3..6c6c2fab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added ### 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-276](https://github.com/IntelPython/mkl-service/pull/276) ### Fixed diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 19dde578..070c13c8 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -17,7 +17,7 @@ requirements: - {{ compiler('c') }} - {{ stdlib('c') }} host: - - meson-python >=0.13.0 + - meson-python >=0.18.0 - cmake - ninja - python diff --git a/pyproject.toml b/pyproject.toml index 596f8c3d..4c807f43 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ [build-system] build-backend = "mesonpy" requires = [ - "meson-python>=0.13.0", + "meson-python>=0.18.0", "ninja", "Cython>=3.1.0", "mkl-devel", @@ -60,6 +60,7 @@ description = "Python hooks for IntelĀ® oneAPI Math Kernel Library (oneMKL) runt dynamic = ["version"] keywords = ["MKL"] license = "BSD-3-Clause" +license-files = ["LICENSE.txt"] name = "mkl-service" readme = { file = "README.md", content-type = "text/markdown" } requires-python = ">=3.10,<3.16"