Skip to content

Commit

Permalink
MAINT: Require Cython 0.22 in the installation docs and the cythonize
Browse files Browse the repository at this point in the history
script.
Also use Cython 0.22 in the benchmark suite.
  • Loading branch information
insertinterestingnamehere committed Apr 17, 2015
1 parent 0731013 commit 9f4903e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion INSTALL.rst.txt
Expand Up @@ -42,7 +42,7 @@ __ http://sphinx-doc.org/

4) If you want to build SciPy master or other unreleased version from source
(Cython-generated C sources are included in official releases):
Cython__ 0.21 or newer
Cython__ 0.22 or newer

__ http://cython.org/

Expand Down
2 changes: 1 addition & 1 deletion benchmarks/asv.conf.json
Expand Up @@ -29,7 +29,7 @@
"matrix": {
"numpy": ["1.8.2"],
"Tempita": ["0.5.2"],
"Cython": ["0.21.1"],
"Cython": ["0.22"],
"six": [],
},

Expand Down
4 changes: 2 additions & 2 deletions tools/cythonize.py
Expand Up @@ -54,8 +54,8 @@ def process_pyx(fromfile, tofile):
try:
from Cython.Compiler.Version import version as cython_version
from distutils.version import LooseVersion
if LooseVersion(cython_version) < LooseVersion('0.21'):
raise Exception('Building SciPy requires Cython >= 0.21')
if LooseVersion(cython_version) < LooseVersion('0.22'):
raise Exception('Building SciPy requires Cython >= 0.22')

except ImportError:
pass
Expand Down

0 comments on commit 9f4903e

Please sign in to comment.