Skip to content

Commit 658d65b

Browse files
committed
chores: bound numpy depending on python version
1 parent d293ce1 commit 658d65b

File tree

2 files changed

+324
-30
lines changed

2 files changed

+324
-30
lines changed

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@ classifiers = [
3131
dependencies = [
3232
"einops",
3333
"matplotlib",
34-
"numpy>=1.21.0,<2.0",
34+
"numpy >= 1.24.4,<2.0; python_version < '3.10'",
35+
"numpy >= 2.2.4; python_version >= '3.10'",
3536
"pandas",
36-
"pybind11>=2.6.0", # For --no-build-isolation.
37+
"pybind11>=2.6.0; python_version < '3.10'", # For --no-build-isolation.
38+
"pybind11>=2.12.0; python_version >= '3.10'", # For --no-build-isolation.
3739
"pytorch-msssim",
3840
"scipy",
3941
"setuptools>=68", # For --no-build-isolation.

0 commit comments

Comments
 (0)