File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ def list_modules(dirname, pattern):
124124 # NOTE(vytas): Now that all our codebase is Python 3.5+, specify the
125125 # Python 3 language level for Cython as well to avoid any surprises.
126126 for ext_mod in ext_modules :
127- ext_mod .cython_directives = {'language_level' : '3' }
127+ ext_mod .cython_directives = {'language_level' : '3' , 'annotation_typing' : False }
128128
129129 cmdclass = {'build_ext' : ve_build_ext }
130130 return cmdclass , ext_modules
Original file line number Diff line number Diff line change @@ -166,6 +166,7 @@ commands = python "{toxinidir}/tools/clean.py" "{toxinidir}/falcon"
166166
167167[with-cython]
168168deps = -r{toxinidir}/requirements/tests
169+ Cython
169170setenv =
170171 PIP_CONFIG_FILE ={toxinidir}/pip.conf
171172 FALCON_DISABLE_CYTHON =
You can’t perform that action at this time.
0 commit comments