mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-24 10:43:16 +08:00
Stop upgrading the Flask packages in the CentOS Python 2 tests container image
This will ensure that the code works with the version of Flask in RHEL 7.
This commit is contained in:
@@ -52,7 +52,7 @@ RUN yum -y install \
|
||||
&& yum clean all
|
||||
# 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<5.0" flake8 tox pip "more-itertools<6.0.0" pytest-cov
|
||||
RUN pip install --upgrade "pytest<5.0" flake8 tox pip "more-itertools<6.0.0" pytest-cov
|
||||
# Install zipp as a workaround for https://github.com/pypa/virtualenv/issues/1630
|
||||
RUN pip install zipp
|
||||
VOLUME /src
|
||||
|
||||
Reference in New Issue
Block a user