Install pytest form git commit

This commit is contained in:
Tomas Hrnciar 2021-05-04 14:17:07 +02:00
commit 838858af8f
2 changed files with 6 additions and 2 deletions

View file

@ -50,7 +50,11 @@ if [ "$VERSION" == "2.6" ]; then
pip install pytest
pip install Cython --install-option="--no-cython-compile"
else
python -m pip install pytest
if [ "$VERSION" == "3.10" ]; then
python -m pip install https://github.com/pytest-dev/pytest/archive/refs/heads/main.zip
else
python -m pip install pytest
fi
if [ "$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