Skip to content

Commit 7c2d97c

Browse files
committed
Downgrade Cython upper pin to stay below 3.0.0
For the moment, the latest major release of Cython seems to be unable to cythonize `_geoslib.pyx` as Cython 0.29.x was successfully doing.
1 parent 2986338 commit 7c2d97c

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ https://keepachangelog.com/en/1.0.0/
1010
https://semver.org/spec/v2.0.0.html
1111

1212

13+
## [1.3.8]
14+
15+
### Fixed
16+
- Downgrade upper pin for Cython requirement from 3.1 to 3.0 due to
17+
build error triggered by `_geoslib.pyx` (solves issue [#581]).
18+
1319
## [1.3.7] - 2023-05-04
1420

1521
### Changed
@@ -957,6 +963,8 @@ https://semver.org/spec/v2.0.0.html
957963
- Fix glitches in drawing of parallels and meridians.
958964

959965

966+
[#581]:
967+
https://github.com/matplotlib/basemap/issues/581
960968
[#573]:
961969
https://github.com/matplotlib/basemap/issues/573
962970
[#564]:

packages/basemap/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ requires = [
88
'numpy == 1.16.6; sys_platform != "darwin" and (python_version >= "3.7" and python_version <= "3.9")',
99
'numpy == 1.16.6; python_version == "2.7" or (python_version >= "3.4" and python_version <= "3.6")',
1010
'numpy == 1.11.3; python_version == "2.6" or (python_version >= "3.2" and python_version <= "3.3")',
11-
'cython >= 0.29, < 3.1; python_version >= "3.3" or python_version < "3.0"',
11+
'cython >= 0.29, < 3.0; python_version >= "3.3" or python_version < "3.0"',
1212
'cython >= 0.26, < 0.27; python_version == "3.2"'
1313
]
1414
build-backend = "setuptools.build_meta"
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
cython >= 0.29, < 3.0; python_version == "2.6"
22
cython >= 0.29, < 3.0; python_version == "2.7"
33
cython >= 0.26, < 0.27; python_version == "3.2"
4-
cython >= 0.29, < 3.0; python_version == "3.3"
5-
cython >= 0.29, < 3.0; python_version == "3.4"
6-
cython >= 0.29, < 3.1; python_version >= "3.5"
4+
cython >= 0.29, < 3.0; python_version >= "3.3"

0 commit comments

Comments
 (0)