Skip to content

Commit bfbe4fa

Browse files
committed
Fix numpy and matplotlib dependency versions
1 parent 7b41465 commit bfbe4fa

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

.github/workflows/basemap-for-manylinux.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,14 @@ jobs:
117117
name: Generate NumPy headers
118118
run: |
119119
case "${{ matrix.python-version }}" in
120-
2.6|3.[23]) pkgvers=1.11.3;;
121-
2.7|3.[456]) pkgvers=1.16.6;;
122-
*) pkgvers=1.21.5;;
120+
2.6|3.[23]) pkgvers=1.11.3;;
121+
2.7|3.[456789]) pkgvers=1.16.6;;
122+
*) pkgvers=1.21.4;;
123123
esac
124124
pkgname=numpy
125125
pkgcode=numpy-${pkgvers}
126-
python -m pip download --no-binary=:all: "numpy == ${pkgvers}"
126+
python -m pip install cython
127+
python -m pip download --no-binary=numpy "numpy == ${pkgvers}"
127128
unzip ${pkgcode}.zip
128129
rm -f ${pkgcode}.zip
129130
cd ${pkgcode}

.github/workflows/basemap-for-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ jobs:
136136
run: |
137137
if ("${{ matrix.python-version }}" -In "2.6", "3.2", "3.3") {
138138
Set-Variable -Name "pkgvers" -Value "1.11.3"
139-
} elseif ("${{ matrix.python-version }}" -In "2.7", "3.4", "3.5", "3.6") {
139+
} elseif ("${{ matrix.python-version }}" -In "2.7", "3.4", "3.5", "3.6", "3.7", "3.8", "3.9") {
140140
Set-Variable -Name "pkgvers" -Value "1.16.6"
141141
} else {
142-
Set-Variable -Name "pkgvers" -Value "1.21.5"
142+
Set-Variable -Name "pkgvers" -Value "1.21.4"
143143
}
144144
Set-Variable -Name "pkgname" -Value "numpy"
145145
Set-Variable -Name "pkgcode" -Value "numpy-${pkgvers}"

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ since version 1.3.0.
88
## [Unreleased]
99

1010
## Changed
11+
- Upgrade `numpy` upper pin to 1.23.
1112
- Upgrade development requirements for Python 3.10.
1213

1314
## [1.3.0] - 2021-12-28

packages/basemap/requirements.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ numpy >= 1.16, < 1.17; python_version == "2.7"
77
numpy >= 1.11, < 1.12; python_version == "3.2"
88
numpy >= 1.11, < 1.12; python_version == "3.3"
99
numpy >= 1.11, < 1.17; python_version == "3.4"
10-
numpy >= 1.16, < 1.22; python_version >= "3.5"
10+
numpy >= 1.16, < 1.19; python_version == "3.5"
11+
numpy >= 1.16, < 1.20; python_version == "3.6"
12+
numpy >= 1.19, < 1.22; python_version == "3.7"
13+
numpy >= 1.19, < 1.23; python_version == "3.8"
14+
numpy >= 1.19, < 1.23; python_version == "3.9"
15+
numpy >= 1.21, < 1.23; python_version >= "3.10"
1116

1217
cycler < 0.11; python_version == "3.2"
1318
pyparsing >= 1.5, < 2.4.1; python_version == "2.6"
@@ -17,7 +22,7 @@ matplotlib >= 1.5, < 3.0; python_version == "2.7"
1722
matplotlib >= 1.5, < 2.0; python_version == "3.2"
1823
matplotlib >= 1.5, < 2.0; python_version == "3.3"
1924
matplotlib >= 1.5, < 3.0; python_version == "3.4"
20-
matplotlib >= 1.5, < 3.5; python_version >= "3.5"
25+
matplotlib >= 1.5, < 3.6; python_version >= "3.5"
2126

2227
pyproj >= 1.9.3, < 2.1.0; python_version == "2.6"
2328
pyproj >= 1.9.3, < 2.3.0; python_version == "2.7"

0 commit comments

Comments
 (0)