Skip to content

Commit 97dd73c

Browse files
committed
chores: bound numpy depending on python version
1 parent d293ce1 commit 97dd73c

File tree

2 files changed

+398
-37
lines changed

2 files changed

+398
-37
lines changed

pyproject.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,12 @@ classifiers = [
3131
dependencies = [
3232
"einops",
3333
"matplotlib",
34-
"numpy>=1.21.0,<2.0",
35-
"pandas",
36-
"pybind11>=2.6.0", # For --no-build-isolation.
34+
"numpy >= 1.24.4,<2.0; python_version < '3.10'",
35+
"numpy >= 2.2.4; python_version >= '3.10'",
36+
"Pandas >= 2.0; python_version < '3.10'",
37+
"Pandas >= 2.2.0; python_version >= '3.10'",
38+
"pybind11>=2.6.0; python_version < '3.10'", # For --no-build-isolation.
39+
"pybind11>=2.12.0; python_version >= '3.10'", # For --no-build-isolation.
3740
"pytorch-msssim",
3841
"scipy",
3942
"setuptools>=68", # For --no-build-isolation.

0 commit comments

Comments
 (0)