From: Anil Belur Date: Mon, 24 Jun 2019 23:49:48 +0000 (+1000) Subject: Pin pygments~=2.3.1 and request=2.21.0 X-Git-Tag: v0.3.1~2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=213d2a958ed42e3f16583735ab795e858bf06b08;p=releng%2Fcommon-packer.git Pin pygments~=2.3.1 and request=2.21.0 Pygments release 2.4.0 which added a python requires that excludes all versions of Python < 3.5. The LFCI's default 3 version is 3.4 so causes build failure. Request-2.22.0 does not work with python-3.4.9, so pin requests to v2.21.0 to address the tox failures. Change-Id: I0eca07029e71b55ecff993dac39c4dd0a83bf575 Signed-off-by: Anil Belur --- diff --git a/releasenotes/notes/pin-pygments-2.3.1-f7b615397b0398d6.yaml b/releasenotes/notes/pin-pygments-2.3.1-f7b615397b0398d6.yaml new file mode 100644 index 0000000..6ba2f49 --- /dev/null +++ b/releasenotes/notes/pin-pygments-2.3.1-f7b615397b0398d6.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Pygments release 2.4.0 which added a python requires that excludes all + versions of Python < 3.5. The LFCI default 3 version is 3.4 so causes + build failure. diff --git a/releasenotes/notes/pin-requests-2.21.0-f3ed3c007b7561b4.yaml b/releasenotes/notes/pin-requests-2.21.0-f3ed3c007b7561b4.yaml new file mode 100644 index 0000000..5650d6b --- /dev/null +++ b/releasenotes/notes/pin-requests-2.21.0-f3ed3c007b7561b4.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Request-2.22.0 does not work with python-3.4.9, so pin requests to + v2.21.0 to address the tox failures. diff --git a/tox.ini b/tox.ini index 5ab612b..d9ac9b4 100644 --- a/tox.ini +++ b/tox.ini @@ -16,6 +16,9 @@ basepython = python3 deps = coala coala-bears + pygments~=2.3.1 + # request-2.22.0 does not work with python-3.4.9 + requests~=2.21.0 nodeenv==1.1.2 commands = nodeenv -p