The current virtualenv 20.0.21 is incompatible with importlib-resources
2.0.0. This patch pins the version of importlib-resources temporarily
until a virtualenv version that supports it is released. This resolves
the ignored error in tox-verify job builds:
ERROR: virtualenv 20.0.21 has requirement
importlib-resources<2,>=1.0; python_version < "3.7", but you'll
have importlib-resources 2.0.0 which is incompatible.
Issue: RELENG-2993
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: I04cf74f4209104475c1548653f157821814970df
--- /dev/null
+---
+fixes:
+ - |
+ Pin importlib-resources to 2.0.0 to resolve package incompatibility
+ between it and the currnet virtualenv version (20.0.21). Until a
+ compatibile virtualenv is released this dependency needs to be pinned.
niet~=1.4.2
tox>=3.7.0 # Tox 3.7 or greater is necessary for parallel mode support
yq
+
+# PINNED INDIRECT DEPENDENCIES
+# ============================
+# The libraries listed below should be considered workarounds and thus need
+# to have a link to a JIRA and any relevant pkg versions and support packages
+# necessary so that future maintainers of this file can make decisions to
+# remove the workarounds in the future.
+importlib-resources<2.0.0 # virtualenv 20.0.21 requires importlib-resources<2.0.0 (RELENG-2993)
EOF
#Python 3.5 in Ubuntu 16.04 workaround