Projet

Général

Profil

0001-jenkins-drop-limitation-on-virtualenv-version-44915.patch

Paul Marillonnet, 07 juillet 2020 18:02

Télécharger (1 ko)

Voir les différences:

Subject: [PATCH 1/2] jenkins: drop limitation on virtualenv version (#44915)

 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Jenkinsfile
12 12
                sh "mkdir ${env.TMPDIR}"
13 13
                sh """
14 14
virtualenv -p python3 ${env.TMPDIR}/venv/
15
${env.TMPDIR}/venv/bin/pip install tox "virtualenv<=20.0.5" "importlib-resources<=1.0.2"
15
${env.TMPDIR}/venv/bin/pip install tox "importlib-resources<=1.0.2"
16 16
PGPORT=`python -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"""
17 17
            }
18 18
            post {
19
-