mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 16:54:32 +04:00
numpy: Fix pyproject.toml-based build
The versions of setuptools and wheel pinned in pyproject.toml are older
than the versions available in the packages repo. This unpins the
versions so that the build can proceed.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 8d331953f3)
This commit is contained in:
committed by
Josef Schlehofer
parent
82cbf130ed
commit
ca0cbe1e97
13
lang/python/numpy/patches/001-unpin-build-dependencies.patch
Normal file
13
lang/python/numpy/patches/001-unpin-build-dependencies.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -2,8 +2,8 @@
|
||||
# Minimum requirements for the build system to execute.
|
||||
requires = [
|
||||
"packaging==20.5; platform_machine=='arm64'", # macos M1
|
||||
- "setuptools==59.2.0",
|
||||
- "wheel==0.37.0",
|
||||
+ "setuptools>=59.2.0",
|
||||
+ "wheel>=0.37.0",
|
||||
"Cython>=0.29.30,<3.0",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user