Pin python idna library to v2.8 61/63161/1 v0.51.1
authorDW Talton <dtalton@contractor.linuxfoundation.org>
Thu, 20 Feb 2020 17:24:55 +0000 (10:24 -0700)
committerDW Talton <dtalton@contractor.linuxfoundation.org>
Thu, 20 Feb 2020 17:24:55 +0000 (10:24 -0700)
The idna library updated and broke twine/requests, which breaks
our *-pypi-release-merge jobs. Pinning the versions fixes this.

Issue-ID: IT-19046
Signed-off-by: DW Talton <dtalton@contractor.linuxfoundation.org>
Change-Id: I62806d07600b975992f49de0f9b0e5d6401c18cc

shell/release-job.sh

index 6a5aeed..b650c13 100644 (file)
@@ -14,7 +14,7 @@ set -eu -o pipefail
 echo "INFO: creating virtual environment"
 virtualenv -p python3 /tmp/venv
 PATH=/tmp/venv/bin:$PATH
-pipup="python -m pip install -q --upgrade pip lftools jsonschema niet twine yq"
+pipup="python -m pip install -q --upgrade pip idna==2.8 lftools jsonschema niet twine yq"
 echo "INFO: $pipup"
 $pipup
 # show installed versions