8000 Bump versions to match scipy (#5016) · scikit-image/scikit-image@c8e927e · GitHub
[go: up one dir, main page]

Skip to content

Commit c8e927e

Browse files
authored
Bump versions to match scipy (#5016)
1 parent bbc8c9b commit c8e927e

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

pyproject.toml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@ requires = [
33
"wheel",
44
"setuptools",
55
"Cython>=0.29.18",
6-
# AIX is IBM's variant of UNIX; Scipy uses special handling for it.
7-
# Therefore we decided to handle it in the same way.
8-
# https://github.com/scipy/scipy/pull/10431#issue-295816438
9-
"numpy==1.15.1; python_version=='3.6' and platform_system!='AIX'",
10-
"numpy==1.15.1; python_version=='3.7' and platform_system!='AIX'",
11-
"numpy==1.17.3; python_version>='3.8' and platform_system!='AIX'",
12-
"numpy==1.16.0; python_version=='3.6' and platform_system=='AIX'",
13-
"numpy==1.16.0; python_version=='3.7' and platform_system=='AIX'",
14-
"numpy==1.17.3; python_version>='3.8' and platform_system=='AIX'",
6+
# We follow scipy for much of these pinnings
7+
# https://github.com/scipy/scipy/blob/master/pyproject.toml
8+
"numpy==1.16.5; python_version=='3.6'",
9+
"numpy==1.16.5; python_version=='3.7'",
10+
"numpy==1.17.3; python_version=='3.8'",
11+
# do not pin numpy on future versions of python to avoid incompatible numpy and python versions
12+
"numpy; python_version>='3.9'",
1513
]

requirements/build.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ Cython>=0.29.21,!=0.29.18
22
wheel
33
# numpy 1.18.0 breaks builds on MacOSX
44
# https://github.com/numpy/numpy/pull/15194
5-
numpy>=1.15.1,!=1.18.0
5+
numpy>=1.16.5,!=1.18.0

requirements/default.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
numpy>=1.15.1
1+
numpy>=1.16.5
22
scipy>=1.0.1
33
matplotlib>=2.0.0,!=3.0.0
44
networkx>=2.0

0 commit comments

Comments
 (0)
0