|
|
aff8846 |
From 6caae8127c121be0ad36e0e7b47518519543dffd Mon Sep 17 00:00:00 2001
|
|
|
6053ff6 |
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
|
|
acd2786 |
Date: Fri, 11 Aug 2023 02:36:06 -0400
|
|
|
aff8846 |
Subject: [PATCH 2/4] Unpin NumPy build requirement
|
|
|
acd2786 |
|
|
|
acd2786 |
This is so high simply to take advantage of the new
|
|
|
acd2786 |
backwards-compatibility guarantee in NumPy 1.25, but Fedora will never
|
|
|
acd2786 |
run against a version different from the one it was built against.
|
|
|
6053ff6 |
|
|
|
6053ff6 |
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
|
|
6053ff6 |
---
|
|
|
97d2c54 |
pyproject.toml | 13 +------------
|
|
|
97d2c54 |
1 file changed, 1 insertion(+), 12 deletions(-)
|
|
|
6053ff6 |
|
|
|
6053ff6 |
diff --git a/pyproject.toml b/pyproject.toml
|
|
|
aff8846 |
index fe75b325dc..4c34fa395f 100644
|
|
|
6053ff6 |
--- a/pyproject.toml
|
|
|
6053ff6 |
+++ b/pyproject.toml
|
|
|
aff8846 |
@@ -75,18 +75,7 @@ requires = [
|
|
|
aff8846 |
"meson-python>=0.13.1",
|
|
|
6053ff6 |
"pybind11>=2.6",
|
|
|
6053ff6 |
"setuptools_scm>=7",
|
|
|
97d2c54 |
-
|
|
|
97d2c54 |
- # Comments on numpy build requirement range:
|
|
|
97d2c54 |
- #
|
|
|
97d2c54 |
- # 1. >=2.0.x is the numpy requirement for wheel builds for distribution
|
|
|
97d2c54 |
- # on PyPI - building against 2.x yields wheels that are also
|
|
|
97d2c54 |
- # ABI-compatible with numpy 1.x at runtime.
|
|
|
97d2c54 |
- # 2. Note that building against numpy 1.x works fine too - users and
|
|
|
97d2c54 |
- # redistributors can do this by installing the numpy version they like
|
|
|
97d2c54 |
- # and disabling build isolation.
|
|
|
97d2c54 |
- # 3. The <2.3 upper bound is for matching the numpy deprecation policy,
|
|
|
97d2c54 |
- # it should not be loosened.
|
|
|
97d2c54 |
- "numpy>=2.0.0rc1,<2.3",
|
|
|
97d2c54 |
+ "numpy",
|
|
|
97d2c54 |
]
|
|
|
97d2c54 |
|
|
|
aff8846 |
[tool.meson-python.args]
|
|
|
6053ff6 |
--
|
|
|
aff8846 |
2.44.0
|
|
|
6053ff6 |
|