From 4f1340b19de2206e84056d164a771e1880038de9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 6 May 2026 08:42:54 +0200 Subject: [PATCH] feat(deps): reduce dependency pinning Weblate will do the pinning directly via https://github.com/WeblateOrg/weblate/pull/19355, so we can remove most of the pins here. --- .github/bin/bleeding | 11 -------- Dockerfile | 2 +- requirements.txt | 65 -------------------------------------------- 3 files changed, 1 insertion(+), 77 deletions(-) diff --git a/.github/bin/bleeding b/.github/bin/bleeding index cf9435ff0..854ecf796 100755 --- a/.github/bin/bleeding +++ b/.github/bin/bleeding @@ -17,17 +17,6 @@ sed -i \ LABEL org.opencontainers.image.revision=\"$SHA\"" \ Dockerfile -# Adjust requirements for bleeding by removing ones we install from Git -sed -i \ - -e '/^translate-toolkit==/ D' \ - -e '/^weblate-language-data==/ D' \ - -e '/^django-otp==/ D' \ - -e '/^django-celery-beat==/ D' \ - -e '/^Django==/ D' \ - -e '/^requests==/ D' \ - -e '/^altcha==/ D' \ - requirements.txt - # Consistent timestamp touch --date="$DATE" Dockerfile diff --git a/Dockerfile b/Dockerfile index c1813c339..f4f12af33 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ARG TARGETARCH # renovate: datasource=pypi depName=Weblate versioning=pep440 ENV WEBLATE_VERSION=5.17.1 -ENV WEBLATE_EXTRAS=all,MySQL,zxcvbn,saml +ENV WEBLATE_EXTRAS=all,zxcvbn,saml,wsgi SHELL ["/bin/bash", "-o", "pipefail", "-x", "-c"] diff --git a/requirements.txt b/requirements.txt index 355040d74..201f0dda4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,68 +1,3 @@ -aeidon==1.16 -ahocorasick-rs==1.0.3 -aliyun-python-sdk-alimt==3.2.0 -altcha==2.0.0 -argon2-cffi==25.1.0 -borgbackup==1.4.4 -boto3==1.43.4 -celery==5.6.3 -certifi==2026.4.22 -# For Argon2 and misaka -cffi==2.0.0 -# For Azure Tenant auth -cryptography==48.0.0 -Django==6.0.5 -django-appconf==1.2.0 -django-auth-ldap==5.3.0 -django-celery-beat==2.9.0 -django-cors-headers==4.9.0 -django-crispy-forms==2.6 -django-otp==1.7.0 -django-otp-webauthn==0.8.0 -django-redis==6.0.0 -django_compressor==4.6.0 -djangorestframework==3.17.1 # Alernative Celery pool implementation gevent==26.4.0 -git-review==2.5.0 -google-cloud-translate==3.26.0 -granian==2.7.4 -hiredis==3.3.1 -html2text==2025.4.15 -iniparse==0.5 -lxml==6.1.0 -mercurial==7.2.1 -mistletoe==1.5.1 -nh3==0.3.5 -openai==2.34.0 -openpyxl==3.1.5 -phply==1.2.6 -Pillow==12.2.0 -psycopg[binary]==3.3.4 -pyasn1==0.6.3 -Pygments==2.20.0 -PyJWT==2.12.1 -pyOpenSSL==26.2.0 -pyparsing==3.3.2 -python-dateutil==2.9.0.post0 -python3-saml==1.16.0 -qrcode==8.2 -rapidfuzz==3.14.5 -raven -redis==6.4.0 -requests==2.33.1 -rollbar==1.3.0 -ruamel.yaml==0.19.1 -sentry-sdk==2.59.0 -siphashc==2.7 -social-auth-app-django==5.9.0 -social-auth-core==4.9.1 supervisor==4.3.0 -tesserocr==2.10.0 -tomlkit==0.14.0 -translate-toolkit==3.19.7 -translation-finder==2.24 -unicode-segmentation-rs==0.2.4 -urllib3==2.6.3 -weblate-language-data==2026.7 -wllegal==2026.3