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.
21
21
- Fix wrong marker for ` unittest2 ` in development requirements.
22
22
- Fix ` sdist ` so that packages can be built from source distributions
23
23
(PR [ #532 ] by @DWesl ).
24
+ - Specify Cython language level for ` _geoslib ` extension explicitly.
24
25
25
26
### Removed
26
27
- Remove deprecation notices (issue [ #527 ] ).
Original file line number Diff line number Diff line change @@ -135,6 +135,10 @@ def run(self):
135
135
runtime_library_dirs ,
136
136
}),
137
137
]
138
+ for ext in ext_modules :
139
+ ext .cython_directives = [
140
+ ("language_level" , str (sys .version_info [0 ])),
141
+ ]
138
142
139
143
# Define all the different requirements.
140
144
setup_requires = get_content ("requirements-setup.txt" , splitlines = True )
You can’t perform that action at this time.
0 commit comments