No longer install Cython from master on Python 3.9
It also is not (yet) necessary on Python 3.10.
This commit is contained in:
parent
86842acd1b
commit
6cc91d52a7
1 changed files with 1 additions and 4 deletions
|
|
@ -51,10 +51,7 @@ if [ "$VERSION" == "2.6" ]; then
|
|||
pip install Cython --install-option="--no-cython-compile"
|
||||
else
|
||||
python -m pip install pytest
|
||||
if [ "$VERSION" == "3.9" ]; then
|
||||
# Cython support for 3.9.0a1+ is not yet released
|
||||
python -m pip install https://github.com/cython/cython/archive/master.tar.gz --install-option="--no-cython-compile"
|
||||
elif [ "$PYTHON" != "jython" ]; then
|
||||
if [ "$PYTHON" != "jython" ]; then
|
||||
# We try to fetch a wheel only and if that fails, we disable compilation
|
||||
# Useful for fresh CPythons, where wheels are not yet ready, but Cython defaults to compiling
|
||||
python -m pip install Cython --only-binary :all: || python -m pip install Cython --install-option="--no-cython-compile"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue