We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 135286b commit ebe6319Copy full SHA for ebe6319
doc/source/whatsnew/v0.19.1.txt
@@ -33,7 +33,7 @@ Performance Improvements
33
Bug Fixes
34
~~~~~~~~~
35
36
-
+- Compat with Cython 0.25 for building (:issue:`14496`)
37
38
39
- Bug in localizing an ambiguous timezone when a boolean is passed (:issue:`14402`)
setup.py
@@ -85,7 +85,11 @@ def is_platform_mac():
85
try:
86
if not _CYTHON_INSTALLED:
87
raise ImportError('No supported version of Cython installed.')
88
- from Cython.Distutils import build_ext as _build_ext
+ try:
89
+ from Cython.Distutils.old_build_ext import old_build_ext as _build_ext
90
+ except ImportError:
91
+ # Pre 0.25
92
+ from Cython.Distutils import build_ext as _build_ext
93
cython = True
94
except ImportError:
95
cython = False
0 commit comments