Skip to content

Commit 1a3f356

Browse files
Numpy supports 3.12 as of version 1.26.0
1 parent d18f079 commit 1a3f356

File tree

2 files changed

+54
-3
lines changed

2 files changed

+54
-3
lines changed

poetry.lock

Lines changed: 50 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ generate-setup-file = false
5757
# ATTENTION: if anything is changed here, run `poetry update`
5858
[tool.poetry.dependencies]
5959
python = ">=3.8,<3.13" # NOTE if we drop 3.8 support, remove "from __future__ import annotations" # NOTE when changing the supported Python versions, also change the test versions in the noxfile
60-
numpy = "^1.22.2" # set to 1.22.2 instead of 1.22.4 to match oldest-supported-numpy required by pycuda
60+
numpy = [
61+
{version = "^1.22.2", python = "<=3.11"}, # set to 1.22.2 instead of 1.22.4 to match oldest-supported-numpy required by pycuda
62+
{version = "^1.26.0", python = "==3.12"} # Python 3.12 requires numpy at least 1.26
63+
]
6164
scipy = [
6265
{version = "^1.10.0", python = "==3.8"}, # held back by Python 3.8 support (dropped from ^1.11)
6366
{version = "^1.11.0", python = ">=3.9"}

0 commit comments

Comments
 (0)