Skip to content

Commit b9495ed

Browse files
committed
Update version of numpy dependency for python >= 3.8
1 parent fcf728d commit b9495ed

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ dynamic = ["version"]
3535
dependencies = ["cffi==1.15.0"]
3636

3737
[project.optional-dependencies]
38-
numpy = ["numpy==1.22.4"]
38+
numpy = ["numpy==1.23.1; python_version >= '3.8'", "numpy==1.21.6; python_version == '3.7'"]
3939
gurobi = ["gurobipy>=8.*"]
4040

4141
[project.urls]

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
cffi==1.15.0
22
networkx==2.6.3
3-
numpy==1.21.6
3+
numpy==1.21.6; python_version == '3.7'
4+
numpy==1.23.1; python_version >= '3.8'
45
pytest==7.1.2

0 commit comments

Comments
 (0)