Skip to content

Commit 299bbbd

Browse files
Fix ModuleNotFoundError: No module named 'numpy' on build (#1979)
Co-authored-by: Isaiah Norton <[email protected]>
1 parent 8355035 commit 299bbbd

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

HISTORY.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
## Build system changes
1212

13+
* Fix ModuleNotFoundError: No module named 'numpy' on build by @kounelisagis in https://github.com/TileDB-Inc/TileDB-Py/pull/1979
1314
* Add support for numpy2 by @kounelisagis in https://github.com/TileDB-Inc/TileDB-Py/pull/1969
1415
* Fix syntax error in nightly build workflow by @ihnorton in https://github.com/TileDB-Inc/TileDB-Py/pull/1970
1516
* Set an upper bound for numpy to dodge 2.0 by @sgillies in https://github.com/TileDB-Inc/TileDB-Py/pull/1963

pyproject.toml

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
[build-system]
2-
requires = ["setuptools>=64", "wheel", "pybind11", "Cython"]
2+
requires = [
3+
"setuptools>=64",
4+
"wheel",
5+
"pybind11",
6+
"Cython",
7+
"numpy== 1.17.*,<2.0 ; python_version == '3.8' and platform_machine != 'aarch64'",
8+
"numpy>=1.25 ; python_version >= '3.9'",
9+
]
310
build-backend = "setuptools.build_meta"
411

512
[project]

0 commit comments

Comments
 (0)