File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ Performance Improvements
3333Bug Fixes
3434~~~~~~~~~
3535
36-
36+ - Compat with Cython 0.25 for building (:issue:`14496`)
3737
3838
3939- Bug in localizing an ambiguous timezone when a boolean is passed (:issue:`14402`)
Original file line number Diff line number Diff line change @@ -85,7 +85,11 @@ def is_platform_mac():
8585try :
8686 if not _CYTHON_INSTALLED :
8787 raise ImportError ('No supported version of Cython installed.' )
88- from Cython .Distutils import build_ext as _build_ext
88+ 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
8993 cython = True
9094except ImportError :
9195 cython = False
You can’t perform that action at this time.
0 commit comments