From bcedf9ecd54a9e5a88494fd7c611ecba3764727d Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sat, 25 Sep 2021 07:05:34 +0000 Subject: [PATCH] Fix CI (#3430) (#3431) * Restrict to unit tests with devel (to be reverted later). * Restrict lxml for Python 2.6. * Revert "Restrict to unit tests with devel (to be reverted later)." This reverts commit d0d87a8a0f2d558cff68116be50c002c926a23d0. (cherry picked from commit 935348ae780c8b168c865fba516546e1c72e081b) Co-authored-by: Felix Fontein --- tests/unit/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit/requirements.txt b/tests/unit/requirements.txt index 8d2d692333..0e75160493 100644 --- a/tests/unit/requirements.txt +++ b/tests/unit/requirements.txt @@ -20,5 +20,6 @@ openshift ; python_version >= '2.7' ruamel.yaml.clib <= 0.2.2 ; python_version == '2.7' # 0.2.4 require python 3.5 or later, 0.2.3 is yanked # requirement for maven_artifact module -lxml +lxml < 4.3.0 ; python_version < '2.7' # lxml 4.3.0 and later require python 2.7 or later +lxml ; python_version >= '2.7' semantic_version