Commit 704f520
committed
Downgrade numpy build requirement from 1.21.4 to 1.21.1
In principle, it is possible to use NumPy up to version 1.21.4
when building for Python >= 3.7, but the problem is that NumPy
versions from 1.21.2 to 1.21.6 add an explicit upper pin '<3.11'
which prevents `basemap` from being built successfully with the
recently released Python 3.11.
Since the goal here is to build the wheels with an old-enough
NumPy, we try here by downgrading NumPy at the build stage from
1.21.4 to 1.21.1, since NumPy 1.21.1 did not have this '<3.11'.
Note that we cannot go below NumPy 1.21.0 because then the MacOS
builds will fail due to a NumPy build bug.1 parent c560877 commit 704f520
File tree
3 files changed
+4
-4
lines changed- .github/workflows
- packages/basemap
3 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments