Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-219](https://github.com/IntelPython/mkl_random/pull/219)
* Reduced the per-call overhead of `randint`, which speeds up calls that return few values; generated values are unchanged [gh-199](https://github.com/IntelPython/mkl_random/pull/199)

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ requirements:
- cmake
- ninja
host:
- meson-python >=0.16.0
- meson-python >=0.18.0
- meson >=1.8.3
- python
- mkl-devel
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
[build-system]
build-backend = "mesonpy"
requires = [
"meson-python>=0.16.0",
"meson-python>=0.18.0",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional nit: the README's build-from-source path that reuses an existing mkl/numpy install (README.md#L153) runs pip install meson-python cmake ninja "cython>=3.1.0" numpy mkl-devel and then python -m pip install --no-build-isolation --no-deps .. In an environment that already has meson-python 0.17, the first command leaves it as is, and with --no-build-isolation pip does not check [build-system] requires, so the build succeeds but the wheel has no dist-info/licenses/LICENSE.txt. Writing "meson-python>=0.18.0" there, as that line already does for "cython>=3.1.0", would keep this path in line with the new floor.

"ninja",
"Cython>=3.1.0",
"numpy",
Expand Down Expand Up @@ -76,6 +76,7 @@ keywords = [
"MCG-31"
]
license = "BSD-3-Clause"
license-files = ["LICENSE.txt"]
name = "mkl_random"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.10,<3.16"
Expand Down
Loading