Skip to content

Commit 19bc046

Browse files
authored
Set an upper bound for numpy to dodge 2.0 (#1963)
* Set an upper bound for numpy to dodge 2.0 * Add missing trailing commas * Fix list of spec strings
1 parent 75e32f9 commit 19bc046

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

pyproject.toml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,24 @@ classifiers=[
2626
"Operating System :: POSIX :: Linux",
2727
"Operating System :: MacOS :: MacOS X",
2828
"Programming Language :: Python :: 3",
29-
"Programming Language :: Python :: 3.7",
3029
"Programming Language :: Python :: 3.8",
3130
"Programming Language :: Python :: 3.9",
3231
"Programming Language :: Python :: 3.10",
3332
"Programming Language :: Python :: 3.11",
3433
"Programming Language :: Python :: 3.12",
3534
]
36-
dynamic = ["version", "dependencies"]
35+
dependencies = [
36+
"numpy==1.17.*,<2.0 ; python_version == '3.8' and platform_machine != 'aarch64'",
37+
"numpy==1.19.4,<2.0 ; python_version == '3.9' and platform_machine != 'aarch64'",
38+
"numpy==1.20.*,<2.0 ; python_version < '3.10' and platform_machine == 'aarch64'",
39+
"numpy==1.21.*,<2.0 ; python_version == '3.10'",
40+
"numpy>=1.23.2,<2.0 ; python_version >= '3.11'",
41+
]
42+
dynamic = ["version"]
3743

3844
[tool.setuptools.packages.find]
3945
exclude = ["*.pyc", ".pytest_cache/*", ".hypothesis/*"]
4046

41-
[tool.setuptools.dynamic]
42-
dependencies = {file = "requirements_wheel.txt"}
43-
4447
[project.urls]
4548
homepage = "https://github.com/TileDB-Inc/TileDB-Py"
4649

0 commit comments

Comments
 (0)