Undo Python 3.11 py workarounds, py 1.11.0 is out with the fix
This commit is contained in:
parent
beb705f0d0
commit
c2466c2de5
1 changed files with 2 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue