Don't use more-itertools 6.0.0 in Python 2 tests

This commit is contained in:
mprahl
2019-02-12 08:59:34 -05:00
committed by mprahl
parent 73d71e11b8
commit afd95f3043

View File

@@ -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"]