From 0ae24258743ca5be50706cd60f50b32ff70a8895 Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: May 09 2019 14:20:11 +0000 Subject: [PATCH 1/2] Python 3.8: Install Cython from git master --- diff --git a/smoke/venv.sh b/smoke/venv.sh index 4281e5c..17528b4 100755 --- a/smoke/venv.sh +++ b/smoke/venv.sh @@ -35,7 +35,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.8" ]; then + # Cython support for 3.8.0a4+ 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" From bd3ec9505cd37d80fe47fbb8234928abcfc0c658 Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: May 09 2019 14:20:16 +0000 Subject: [PATCH 2/2] Workaround fedora-ci/general#31 https://pagure.io/fedora-ci/general/issue/31 --- diff --git a/tests.yml b/tests.yml index b58ec77..3579e44 100644 --- a/tests.yml +++ b/tests.yml @@ -31,7 +31,7 @@ run: VERSION=3.7 X="-x test_socket -x test_asyncgen -x test_asyncio -x test_compile -x test_concurrent_futures -x test_itertools -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_shutil -x test_time -x test_multiprocessing_spawn -x test_threading -x test_wsgiref" ./findleaks.sh required_packages: - gcc - - /usr/bin/virtualenv + - virtualenv - python27 - python36 - python37