Skip to content

Commit

Permalink
Set an upper bound for numpy to dodge 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sgillies committed May 10, 2024
1 parent 228a027 commit 31acbf5
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,24 @@ classifiers=[
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dynamic = ["version", "dependencies"]
dependencies = [
numpy==1.17.*,<2.0 ; python_version == "3.8" and platform_machine != 'aarch64'
numpy==1.19.4,<2.0 ; python_version == "3.9" and platform_machine != 'aarch64'
numpy==1.20.*,<2.0 ; python_version < "3.10" and platform_machine == 'aarch64'
numpy==1.21.*,<2.0 ; python_version == "3.10"
numpy>=1.23.2,<2.0 ; python_version >= "3.11"
]
dynamic = ["version"]

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

[tool.setuptools.dynamic]
dependencies = {file = "requirements_wheel.txt"}

[project.urls]
homepage = "https://github.com/TileDB-Inc/TileDB-Py"

Expand Down

0 comments on commit 31acbf5

Please sign in to comment.