Skip to content

Commit

Permalink
fix(Cython): re-enable cythonization in Cython gates, do not enforce …
Browse files Browse the repository at this point in the history
…typing (#2122)
  • Loading branch information
vytas7 committed Nov 5, 2022
1 parent 4e177fd commit 89660bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def list_modules(dirname, pattern):
# NOTE(vytas): Now that all our codebase is Python 3.5+, specify the
# Python 3 language level for Cython as well to avoid any surprises.
for ext_mod in ext_modules:
ext_mod.cython_directives = {'language_level': '3'}
ext_mod.cython_directives = {'language_level': '3', 'annotation_typing': False}

cmdclass = {'build_ext': ve_build_ext}
return cmdclass, ext_modules
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ commands = python "{toxinidir}/tools/clean.py" "{toxinidir}/falcon"

[with-cython]
deps = -r{toxinidir}/requirements/tests
Cython
setenv =
PIP_CONFIG_FILE={toxinidir}/pip.conf
FALCON_DISABLE_CYTHON=
Expand Down

0 comments on commit 89660bf

Please sign in to comment.