From afd95f3043329c67d55d226b222f277d2fd95d12 Mon Sep 17 00:00:00 2001 From: mprahl Date: Tue, 12 Feb 2019 08:59:34 -0500 Subject: [PATCH] Don't use more-itertools 6.0.0 in Python 2 tests --- docker/Dockerfile-tests | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile-tests b/docker/Dockerfile-tests index d8b1443e..cbfb766e 100644 --- a/docker/Dockerfile-tests +++ b/docker/Dockerfile-tests @@ -43,8 +43,9 @@ RUN yum -y install \ python-tox \ rpm-build \ && yum clean all -# We currently require a newer versions of these Python packages for the tests -RUN pip install --upgrade flask-sqlalchemy pytest flake8 tox pip +# We currently require newer versions of these Python packages for the tests. +# more-itertools is required by pytest, but versions 6.0.0 and up aren't Python 2 compatible +RUN pip install --upgrade flask-sqlalchemy pytest flake8 tox pip "more-itertools<6.0.0" VOLUME /src WORKDIR /src CMD ["bash", "docker/test.sh"]