Update max supported Django versions (#699)

* Update max supported Django versions

* Add dependency on python-openid

* Use the right dependency

* Also bump django version

* Add python-openid specifically to deps

* Add dependency on openid too
This commit is contained in:
Abhilash Raj
2024-06-07 13:27:10 +05:30
committed by GitHub
parent cee738a9df
commit 21684ce838
4 changed files with 7 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ RUN --mount=type=cache,target=/root/.cache \
&& apk add --no-cache --virtual .mailman-rundeps bash sassc tzdata \
postgresql-client mysql-client py3-mysqlclient curl mailcap gettext \
python3 py3-pip libffi libuuid pcre-dev py-cryptography \
&& python3 -m pip install --break-system-packages -U 'Django<4.2' pip setuptools wheel \
&& python3 -m pip install --break-system-packages -U 'Django<4.3' pip setuptools wheel \
&& python3 -m pip install --break-system-packages postorius==1.3.10 \
uwsgi \
psycopg2 \

View File

@@ -20,12 +20,12 @@ RUN --mount=type=cache,target=/root/.cache \
git+https://gitlab.com/mailman/mailmanclient \
git+https://gitlab.com/mailman/postorius \
uwsgi \
'psycopg2<2.9' \
psycopg2 \
dj-database-url \
mysqlclient \
typing \
django-utils-six \
&& python3 -m pip install --break-system-packages -U 'Django<3.2' \
&& python3 -m pip install --break-system-packages -U 'Django<4.3' \
&& python3 -m pip install --break-system-packages -U \
git+https://gitlab.com/mailman/django-mailman3 \
&& apk del .build-deps \

View File

@@ -14,7 +14,7 @@ RUN --mount=type=cache,target=/root/.cache \
&& apk add --no-cache --virtual .mailman-rundeps bash sassc tzdata \
postgresql-client mysql-client py3-mysqlclient curl mailcap gettext \
python3 py3-pip xapian-core xapian-bindings-python3 libffi pcre-dev py-cryptography \
&& python3 -m pip install --break-system-packages -U 'Django<4.2' pip setuptools wheel \
&& python3 -m pip install --break-system-packages -U 'Django<4.3' pip setuptools wheel \
&& pip install --break-system-packages -r /tmp/requirements.txt \
whoosh \
uwsgi \
@@ -28,6 +28,7 @@ RUN --mount=type=cache,target=/root/.cache \
diskcache \
django-utils-six \
tzdata \
'django-allauth[socialaccount,openid]' \
&& apk del .build-deps \
&& addgroup -S mailman \
&& adduser -S -G mailman mailman

View File

@@ -32,7 +32,8 @@ RUN --mount=type=cache,target=/root/.cache \
tzdata \
diskcache \
django-utils-six \
&& python3 -m pip install --break-system-packages -U 'Django<4.2' \
'django-allauth[socialaccount,openid]' \
&& python3 -m pip install --break-system-packages -U 'Django<4.3' \
&& python3 -m pip install --break-system-packages -U \
git+https://gitlab.com/mailman/django-mailman3 \
&& apk del .build-deps \