Pin pygments~=2.3.1 and request=2.21.0 76/15976/5
authorAnil Belur <abelur@linuxfoundation.org>
Mon, 24 Jun 2019 23:49:48 +0000 (09:49 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Mon, 24 Jun 2019 23:49:48 +0000 (09:49 +1000)
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 <abelur@linuxfoundation.org>
releasenotes/notes/pin-pygments-2.3.1-f7b615397b0398d6.yaml [new file with mode: 0644]
releasenotes/notes/pin-requests-2.21.0-f3ed3c007b7561b4.yaml [new file with mode: 0644]
tox.ini

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 (file)
index 0000000..6ba2f49
--- /dev/null
@@ -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 (file)
index 0000000..5650d6b
--- /dev/null
@@ -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 (file)
--- 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