Skip to content

Commit

Permalink
Backport PR pandas-dev#25145: BLD: pin cython language level to '2'
Browse files Browse the repository at this point in the history
  • Loading branch information
tacaswell authored and MeeseeksDev[bot] committed Feb 6, 2019
1 parent c42526f commit 3a742ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,8 @@ def run(self):
# Note: if not using `cythonize`, coverage can be enabled by
# pinning `ext.cython_directives = directives` to each ext in extensions.
# github.com/cython/cython/wiki/enhancements-compilerdirectives#in-setuppy
directives = {'linetrace': False}
directives = {'linetrace': False,
'language_level': 2}
macros = []
if linetrace:
# https://pypkg.com/pypi/pytest-cython/f/tests/example-project/setup.py
Expand Down

0 comments on commit 3a742ef

Please sign in to comment.