Skip to content

Commit 65fbaae

Browse files
committed
Revert numpy downgrade and set to 1.23.3 for Python 3.11
1 parent 12d93a5 commit 65fbaae

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,8 @@ jobs:
158158
case "${{ matrix.python-version }}" in
159159
2.6|3.[23]) pkgvers=1.11.3;;
160160
2.7|3.[456789]) pkgvers=1.16.6;;
161-
*) pkgvers=1.21.1;;
161+
3.10) pkgvers=1.21.4;;
162+
*) pkgvers=1.23.3;;
162163
esac
163164
pip install "numpy == ${pkgvers}"
164165
-

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ jobs:
179179
Switch -regex ("${{ matrix.python-version }}") {
180180
"^2\.6|3\.[123]$" { Set-Variable -Name "pkgvers" -Value "1.11.3" }
181181
"^2\.7|3\.[456789]$" { Set-Variable -Name "pkgvers" -Value "1.16.6" }
182-
default { Set-Variable -Name "pkgvers" -Value "1.21.1" }
182+
"^3\.10$" { Set-Variable -Name "pkgvers" -Value "1.21.4" }
183+
default { Set-Variable -Name "pkgvers" -Value "1.23.3" }
183184
}
184185
$env:SETUPTOOLS_USE_DISTUTILS = "stdlib"
185186
python -m pip install "numpy == ${pkgvers}"

packages/basemap/pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
requires = [
33
'setuptools',
44
'wheel',
5-
'numpy == 1.21.1; python_version >= "3.10"',
6-
'numpy == 1.21.1; sys_platform == "darwin" and (python_version >= "3.7" and python_version <= "3.9")',
5+
'numpy == 1.23.3; python_version >= "3.11"',
6+
'numpy == 1.21.4; python_version == "3.10"',
7+
'numpy == 1.21.4; sys_platform == "darwin" and (python_version >= "3.7" and python_version <= "3.9")',
78
'numpy == 1.16.6; sys_platform != "darwin" and (python_version >= "3.7" and python_version <= "3.9")',
89
'numpy == 1.16.6; python_version == "2.7" or (python_version >= "3.4" and python_version <= "3.6")',
910
'numpy == 1.11.3; python_version == "2.6" or (python_version >= "3.2" and python_version <= "3.3")',

0 commit comments

Comments
 (0)