Remove static3 and dj-static (#4346)

This commit is contained in:
Raphael Michel
2024-07-29 13:17:50 +02:00
committed by GitHub
parent bb92ffe4eb
commit afb115c9a2
2 changed files with 2 additions and 8 deletions

View File

@@ -35,7 +35,6 @@ dependencies = [
"cryptography>=3.4.2", "cryptography>=3.4.2",
"css-inline==0.14.*", "css-inline==0.14.*",
"defusedcsv>=1.1.0", "defusedcsv>=1.1.0",
"dj-static",
"Django[argon2]==4.2.*", "Django[argon2]==4.2.*",
"django-bootstrap3==24.2", "django-bootstrap3==24.2",
"django-compressor==4.5.1", "django-compressor==4.5.1",
@@ -95,7 +94,6 @@ dependencies = [
"sentry-sdk==2.10.*", "sentry-sdk==2.10.*",
"sepaxml==2.6.*", "sepaxml==2.6.*",
"slimit", "slimit",
"static3==0.7.*",
"stripe==7.9.*", "stripe==7.9.*",
"text-unidecode==1.*", "text-unidecode==1.*",
"tlds>=2020041600", "tlds>=2020041600",
@@ -139,7 +137,7 @@ build_ext = "pretix._build:CustomBuildExt"
build-backend = "backend" build-backend = "backend"
backend-path = ["_build"] backend-path = ["_build"]
requires = [ requires = [
"setuptools<72", # until we remove static3 "setuptools",
"setuptools-rust", "setuptools-rust",
"wheel", "wheel",
"importlib_metadata", "importlib_metadata",

View File

@@ -34,8 +34,4 @@ os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pretix.settings")
from django.core.wsgi import get_wsgi_application # NOQA from django.core.wsgi import get_wsgi_application # NOQA
try: application = get_wsgi_application()
from dj_static import Cling, MediaCling
application = Cling(MediaCling(get_wsgi_application()))
except ImportError:
application = get_wsgi_application()