Revert "chore(api): install django-rest-framework from git (#2518)"

This reverts commit df7848c4bd.
This commit is contained in:
jo 2023-05-25 16:19:42 +02:00 committed by Kyle Robbertze
parent d9663c0a4e
commit a587f179f8
3 changed files with 2 additions and 3 deletions

View File

@ -41,7 +41,6 @@ COPY shared/packages.ini /tmp/packages.ini
RUN set -eux \ RUN set -eux \
&& DEBIAN_FRONTEND=noninteractive apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
git \
$(python3 /tmp/packages.py --format=line --exclude=python bullseye /tmp/packages.ini) \ $(python3 /tmp/packages.py --format=line --exclude=python bullseye /tmp/packages.ini) \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& rm -f /tmp/packages.py /tmp/packages.ini && rm -f /tmp/packages.py /tmp/packages.ini

View File

@ -3,7 +3,7 @@
django-cors-headers>=3.14.0,<4.1 django-cors-headers>=3.14.0,<4.1
django-filter>=2.4.0,<23.3 django-filter>=2.4.0,<23.3
django>=4.2.0,<4.3 django>=4.2.0,<4.3
djangorestframework @ git+https://github.com/encode/django-rest-framework@38a74b42da10576857d6bf8bd82a73b15d12a7ed djangorestframework>=3.12.1,<3.15
drf-spectacular>=0.22.1,<0.27 drf-spectacular>=0.22.1,<0.27
gunicorn>=20.1.0,<20.2 gunicorn>=20.1.0,<20.2
psycopg[c]>=3.1.8,<3.2 psycopg[c]>=3.1.8,<3.2

View File

@ -27,7 +27,7 @@ setup(
"django-cors-headers>=3.14.0,<4.1", "django-cors-headers>=3.14.0,<4.1",
"django-filter>=2.4.0,<23.3", "django-filter>=2.4.0,<23.3",
"django>=4.2.0,<4.3", "django>=4.2.0,<4.3",
"djangorestframework @ git+https://github.com/encode/django-rest-framework@38a74b42da10576857d6bf8bd82a73b15d12a7ed", "djangorestframework>=3.12.1,<3.15",
"drf-spectacular>=0.22.1,<0.27", "drf-spectacular>=0.22.1,<0.27",
"requests>=2.31.0,<2.32", "requests>=2.31.0,<2.32",
], ],