chore(api): install django-rest-framework from git (#2518)
This commit is contained in:
parent
aa98309634
commit
df7848c4bd
|
@ -41,6 +41,7 @@ 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
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
django-cors-headers>=3.14.0,<3.15
|
django-cors-headers>=3.14.0,<3.15
|
||||||
django-filter>=2.4.0,<23.2
|
django-filter>=2.4.0,<23.2
|
||||||
django>=4.2.0,<4.3
|
django>=4.2.0,<4.3
|
||||||
djangorestframework>=3.12.1,<3.15
|
djangorestframework @ git+https://github.com/encode/django-rest-framework@38a74b42da10576857d6bf8bd82a73b15d12a7ed
|
||||||
drf-spectacular>=0.22.1,<0.27
|
drf-spectacular>=0.22.1,<0.27
|
||||||
psycopg[c]>=3.1.8,<3.2
|
psycopg[c]>=3.1.8,<3.2
|
||||||
requests>=2.25.1,<2.29
|
requests>=2.25.1,<2.29
|
||||||
|
|
|
@ -27,7 +27,7 @@ setup(
|
||||||
"django-cors-headers>=3.14.0,<3.15",
|
"django-cors-headers>=3.14.0,<3.15",
|
||||||
"django-filter>=2.4.0,<23.2",
|
"django-filter>=2.4.0,<23.2",
|
||||||
"django>=4.2.0,<4.3",
|
"django>=4.2.0,<4.3",
|
||||||
"djangorestframework>=3.12.1,<3.15",
|
"djangorestframework @ git+https://github.com/encode/django-rest-framework@38a74b42da10576857d6bf8bd82a73b15d12a7ed",
|
||||||
"drf-spectacular>=0.22.1,<0.27",
|
"drf-spectacular>=0.22.1,<0.27",
|
||||||
"requests>=2.25.1,<2.29",
|
"requests>=2.25.1,<2.29",
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue