Skip to content

Commit

Permalink
re-cythonize with a constrained cython version
Browse files Browse the repository at this point in the history
Constrained the Cython version to be less than 3.0, but greater than
0.29.34.
Updated the setup.py to account for the updated cythonize parameters.
  • Loading branch information
JacobCallahan committed Nov 13, 2023
1 parent 1626d7e commit 5d68bb1
Show file tree
Hide file tree
Showing 15 changed files with 1,534 additions and 877 deletions.
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cython
cython>=0.29.34,<3.0.0
flake8
jinja2
sphinx
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@
_fwd_default = 0
_comp_args = ["-O2"] if not ON_WINDOWS else None

cython_directives = {'embedsignature': True,
compiler_directives = {'embedsignature': True,
'boundscheck': False,
'optimize.use_switch': True,
'wraparound': False,
'language_level': 2,
}
cython_args = {
'cython_directives': cython_directives,
'cython_compile_time_env': {},
'compiler_directives': compiler_directives,
'compile_time_env': {},
}

if USING_CYTHON:
Expand Down
204 changes: 131 additions & 73 deletions ssh2/agent.c

Large diffs are not rendered by default.

201 changes: 130 additions & 71 deletions ssh2/channel.c

Large diffs are not rendered by default.

96 changes: 66 additions & 30 deletions ssh2/error_codes.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5d68bb1

Please sign in to comment.