From 9ceb95962955cf0a86c563d1d577be53238f89b4 Mon Sep 17 00:00:00 2001 From: Kartik Ohri Date: Fri, 5 Feb 2021 21:35:04 +0530 Subject: [PATCH 1/2] Test with BU version-ranges PR --- Dockerfile | 3 +++ requirements.txt | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e166d9275..3d9fe1a1b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -77,6 +77,9 @@ RUN useradd --create-home --shell /bin/bash --uid 901 --gid 901 acousticbrainz RUN chown acousticbrainz:acousticbrainz /code +# Last version of pip that supports python2 +RUN pip install pip==20.3.4 + # Python dependencies RUN mkdir /code/docs/ && chown acousticbrainz:acousticbrainz /code/docs/ COPY --chown=acousticbrainz:acousticbrainz docs/requirements.txt /code/docs/requirements.txt diff --git a/requirements.txt b/requirements.txt index b0aeeb95b..f87e2758b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -git+https://github.com/metabrainz/brainzutils-python.git@v1.15.0 +git+https://github.com/metabrainz/brainzutils-python.git@v1.16.1 Flask-Admin==1.5.6 Flask-Login==0.5.0 Flask-SQLAlchemy==2.4.1 From 079b901ea7b27dd1d70a1785300a55e1a22a64a8 Mon Sep 17 00:00:00 2001 From: Kartik Ohri Date: Mon, 8 Feb 2021 19:38:52 +0530 Subject: [PATCH 2/2] Pin downstream versions --- requirements.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/requirements.txt b/requirements.txt index f87e2758b..ac02c7896 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,4 +14,17 @@ pyyaml==5.3.1 rauth == 0.7.3 setproctitle == 1.1.10 six==1.14.0 +Flask==1.1.2 +Jinja2==2.11.2 +werkzeug==1.0.1 +Flask-DebugToolbar==0.11.0 +Flask-UUID==0.2 +raven[flask]==6.10.0 +certifi +redis==3.4.1 +msgpack-python==0.5.6 +requests==2.23.0 +SQLAlchemy==1.3.16 +mbdata==25.0.4 +sqlalchemy-dst==1.0.1 -r docs/requirements.txt