File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ since version 1.3.0.
2121- Fix wrong marker for ` unittest2 ` in development requirements.
2222- Fix ` sdist ` so that packages can be built from source distributions
2323 (PR [ #532 ] by @DWesl ).
24+ - Specify Cython language level for ` _geoslib ` extension explicitly.
2425
2526### Removed
2627- Remove deprecation notices (issue [ #527 ] ).
Original file line number Diff line number Diff line change @@ -135,6 +135,10 @@ def run(self):
135135 runtime_library_dirs ,
136136 }),
137137]
138+ for ext in ext_modules :
139+ ext .cython_directives = [
140+ ("language_level" , str (sys .version_info [0 ])),
141+ ]
138142
139143# Define all the different requirements.
140144setup_requires = get_content ("requirements-setup.txt" , splitlines = True )
You can’t perform that action at this time.
0 commit comments