From 754dc5a5734212af1f04e25e80c715028af69593 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Nov 26 2019 00:10:14 +0000 Subject: Python 3.9: Fetch Cython master --- diff --git a/smoke/venv.sh b/smoke/venv.sh index b6c0d40..6744a3a 100755 --- a/smoke/venv.sh +++ b/smoke/venv.sh @@ -37,7 +37,10 @@ if [ "$VERSION" == "2.6" ]; then pip install Cython --install-option="--no-cython-compile" else python -m pip install pytest - if [ "$PYTHON" != "jython" ]; then + 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 # 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"