From c2466c2de546b33a62bd27fdfe8b15a95266432d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 4 Nov 2021 18:26:12 +0100 Subject: [PATCH] Undo Python 3.11 py workarounds, py 1.11.0 is out with the fix --- smoke/venv.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/smoke/venv.sh b/smoke/venv.sh index a7f13cc..d82973e 100755 --- a/smoke/venv.sh +++ b/smoke/venv.sh @@ -50,8 +50,6 @@ if [ "$VERSION" == "2.6" ]; then pip install pytest pip install Cython --install-option="--no-cython-compile" elif [ "$VERSION" == "3.11" ]; then - # https://github.com/pytest-dev/py/issues/273 - SETUPTOOLS_SCM_PRETEND_VERSION_FOR_PY=1.10.1 python -m pip install https://github.com/pytest-dev/py/archive/refs/heads/master.zip python -m pip install pytest # Cython support for 3.11.0a1+ is not yet released python -m pip install https://github.com/cython/cython/archive/master.tar.gz --install-option="--no-cython-compile" @@ -133,8 +131,5 @@ deps = pytest commands = python -m pytest -v test_foo.py EOF -# A more complex example with pytest (which is broken on Python 3.11) -# https://github.com/pytest-dev/py/issues/273 -if [ "$VERSION" != "3.11" ]; then - tox -fi +# A more complex example with pytest +tox