From afd95f3043329c67d55d226b222f277d2fd95d12 Mon Sep 17 00:00:00 2001 From: mprahl Date: Feb 12 2019 15:04:16 +0000 Subject: Don't use more-itertools 6.0.0 in Python 2 tests --- diff --git a/docker/Dockerfile-tests b/docker/Dockerfile-tests index d8b1443..cbfb766 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"]