From 5ba9d0d5f85e13ef6644cb1106617ea35241dc60 Mon Sep 17 00:00:00 2001 From: Jean-Etienne Castagnede Date: Tue, 8 Oct 2024 13:31:13 +0200 Subject: [PATCH] Apply suggestions from code review --- debian/control | 6 +++--- geotrek/settings/env_tests.py | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/debian/control b/debian/control index f6d5bca241..6e0772b938 100644 --- a/debian/control +++ b/debian/control @@ -10,9 +10,9 @@ Build-Depends: debhelper (>= 9), dh-virtualenv (>= 1.0), git, - python3.8 | python3.10 | python3.12, - python3.8-venv | python3.10-venv | python3.12-venv, - python3.8-dev | python3.10-dev | python3.12-dev, + python3.8 | python3.10, + python3.8-venv | python3.10-venv, + python3.8-dev | python3.10-dev, libgdal-dev (>= 2.2), libffi-dev (>= 3), libxml2-dev (>= 2.9.2), diff --git a/geotrek/settings/env_tests.py b/geotrek/settings/env_tests.py index 600ef924c4..936f27117c 100644 --- a/geotrek/settings/env_tests.py +++ b/geotrek/settings/env_tests.py @@ -75,7 +75,6 @@ def __getitem__(self, item): MOBILE_TILES_PATH = TemporaryDirectory(dir=TMP_DIR).name # sync mobile tile path DATA_TEMP_DIR = TemporaryDirectory(dir=TMP_DIR).name # data temp dir use by django-large-image REDIS_URL = f"redis://{os.getenv('REDIS_HOST', 'localhost')}:{os.getenv('REDIS_PORT', '6379')}/1" # celery broker url -# SESSION_ENGINE = "django.contrib.sessions.backends.file" PASSWORD_HASHERS = [ "django.contrib.auth.hashers.MD5PasswordHasher", ]