ci: limit tox version used while running tests (#72165)

This commit is contained in:
Paul Marillonnet 2022-12-08 10:43:31 +01:00
parent 666ee5e9df
commit 39ccb8ce1a
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -12,7 +12,7 @@ pipeline {
sh "mkdir -p ${env.TMPDIR}"
sh """
virtualenv -p python3 ${env.TMPDIR}/venv/
${env.TMPDIR}/venv/bin/pip install tox "virtualenv<=20.0.5" "importlib-resources<=1.0.2"
${env.TMPDIR}/venv/bin/pip install "tox<4" "virtualenv<=20.0.5" "importlib-resources<=1.0.2"
PGPORT=`python3 -c 'import struct; import socket; s=socket.socket(); s.setsockopt(socket.SOL_SOCKET, socket.SO_LINGER, struct.pack("ii", 1, 0)); s.bind(("", 0)); print(s.getsockname()[1]); s.close()'` pg_virtualenv -o fsync=off ${env.TMPDIR}/venv/bin/tox -r"""
}
post {