From 8f88d3300e8a85ed0f974fbf75cfd80f8b53a0fc Mon Sep 17 00:00:00 2001 From: Jakub Wilk Date: Mon, 1 Mar 2021 09:10:02 +0100 Subject: [PATCH] travis.yml: for Python 3.10, re-install nose from source. Work-around for: https://github.com/nose-devs/nose/issues/1099 --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index cde264d..81d1763 100644 --- a/.travis.yml +++ b/.travis.yml @@ -62,6 +62,7 @@ install: - $if_pycodestyle pip install pycodestyle - pip install pydiatra - pip install $pyflakes +- if [[ $TRAVIS_PYTHON_VERSION = 3.10-* ]]; then pip install --upgrade --no-deps --force-reinstall --no-binary ':all:' nose; fi script: - dpkg-parsechangelog -ldoc/changelog --all 2>&1 >/dev/null | { ! grep .; } - PYTHONWARNINGS=error::FutureWarning python setup.py build_ext --inplace