Skip to content

Commit a3435be

Browse files
authored
Upgrade Django to latest security release v5.2.8 (#427)
Signed-off-by: tdruez <[email protected]>
1 parent 0b5ba7c commit a3435be

File tree

48 files changed

+165
-567
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+165
-567
lines changed

Makefile

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,14 @@ envfile_dev: envfile
5858
@echo "-> Update the .env file for development"
5959
@echo DATABASE_PASSWORD=\"dejacode\" >> ${ENV_FILE}
6060

61+
doc_dependencies: virtualenv
62+
@echo "-> Configure and install decumentation dependencies"
63+
@${ACTIVATE} pip install --editable .[docs]
64+
6165
doc8:
62-
@echo "-> Run doc8 validation"
63-
@${ACTIVATE} doc8 --max-line-length 100 --ignore-path docs/_build/ \
64-
--ignore-path docs/installation_and_sysadmin/ \
65-
--quiet docs/
66+
@echo "-> Run documentation .rst validation"
67+
@$(MAKE) doc_dependencies > /dev/null 2>&1
68+
@${ACTIVATE} doc8 --max-line-length 100 --ignore-path docs/_build/ --quiet docs/
6669

6770
valid:
6871
@echo "-> Run Ruff format"
@@ -146,9 +149,9 @@ test:
146149
${MANAGE} test --noinput --parallel auto
147150

148151
docs:
149-
@echo "-> Builds the installation_and_sysadmin docs"
152+
@echo "-> Builds the documentation"
150153
rm -rf ${DOCS_LOCATION}/_build/
151-
@${ACTIVATE} pip install -r docs/requirements.txt
154+
@$(MAKE) doc_dependencies > /dev/null 2>&1
152155
@${ACTIVATE} sphinx-build -b singlehtml ${DOCS_LOCATION} ${DOCS_LOCATION}/_build/singlehtml/
153156
@${ACTIVATE} sphinx-build -b html ${DOCS_LOCATION} ${DOCS_LOCATION}/_build/html/
154157

@@ -172,4 +175,4 @@ log:
172175
createsuperuser:
173176
${DOCKER_EXEC} web ./manage.py createsuperuser
174177

175-
.PHONY: virtualenv conf dev envfile envfile_dev check doc8 valid check-deploy clean initdb postgresdb postgresdb_clean migrate upgrade run test docs build psql bash shell log createsuperuser
178+
.PHONY: virtualenv conf dev envfile envfile_dev doc_dependencies check doc8 valid check-deploy clean initdb postgresdb postgresdb_clean migrate upgrade run test docs build psql bash shell log createsuperuser

docs/requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

pyproject.toml

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,20 @@ dependencies = [
3535
"wheel==0.45.1",
3636
"pip==25.3",
3737
# Django
38-
"Django==5.2.7",
38+
"Django==5.2.8",
3939
"asgiref==3.10.0",
4040
"typing_extensions==4.15.0",
4141
"sqlparse==0.5.3",
4242
# Django apps
43-
"django-crispy-forms==2.4",
43+
"django-crispy-forms==2.5",
4444
"crispy_bootstrap5==2025.6",
4545
"django-grappelli==4.0.2",
4646
"django-filter==25.2",
4747
"django-registration==3.4",
4848
"confusable_homoglyphs==3.3.1",
4949
"django-guardian==3.2.0",
5050
"django-environ==0.12.0",
51-
"django-debug-toolbar==6.0.0",
51+
"django-debug-toolbar==6.1.0",
5252
# CAPTCHA
5353
"altcha==0.2.0",
5454
"django_altcha==0.4.0",
@@ -62,13 +62,13 @@ dependencies = [
6262
# Track failed login attempts
6363
"django-axes==8.0.0",
6464
# Multi-factor authentication
65-
"django-otp==1.6.1",
65+
"django-otp==1.6.3",
6666
"qrcode==8.2",
6767
"pypng==0.20220715.0",
6868
# Database
69-
"psycopg==3.2.10",
69+
"psycopg==3.2.12",
7070
# Cache
71-
"redis==6.4.0",
71+
"redis==7.0.1",
7272
# redis dependencies:
7373
"packaging==25.0",
7474
"pyparsing==3.2.5",
@@ -83,13 +83,13 @@ dependencies = [
8383
"rq==2.6.0",
8484
"croniter==6.0.0",
8585
"django-rq==3.1.0",
86-
"fakeredis==2.32.0",
86+
"fakeredis==2.32.1",
8787
# Scheduler
8888
"rq-scheduler==0.14.0",
8989
"crontab==1.0.5",
9090
"freezegun==1.5.2",
9191
# Libs
92-
"certifi==2025.10.5",
92+
"certifi==2025.11.12",
9393
"urllib3==2.5.0",
9494
"python-dateutil==2.9.0.post0",
9595
"python-mimeparse==2.0.0",
@@ -104,7 +104,7 @@ dependencies = [
104104
"zipp==3.23.0",
105105
"XlsxWriter==3.2.9",
106106
# Markdown
107-
"markdown==3.9",
107+
"markdown==3.10",
108108
"bleach==6.3.0",
109109
"bleach_allowlist==1.0.3",
110110
"webencodings==0.5.1",
@@ -169,16 +169,14 @@ dependencies = [
169169
dev = [
170170
# Linter and Validation
171171
"ruff==0.14.0",
172-
# Documentation
173-
"doc8==1.1.2",
174-
"stevedore==5.4.1",
175-
"Pygments==2.19.2",
176-
"docutils==0.21.2",
177-
"restructuredtext-lint==1.4.0",
178-
"pbr==6.1.1",
179172
# Parallel testing
180173
"tblib==3.1.0"
181174
]
175+
docs = [
176+
"Sphinx==8.2.3",
177+
"furo==2025.9.25",
178+
"doc8==2.0.0",
179+
]
182180

183181
[project.urls]
184182
Homepage = "https://github.com/aboutcode-org/dejacode"

thirdparty/dist/certifi-2025.10.5-py3-none-any.whl.ABOUT

Lines changed: 0 additions & 16 deletions
This file was deleted.
159 KB
Binary file not shown.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
about_resource: certifi-2025.11.12-py3-none-any.whl
2+
name: certifi
3+
version: 2025.11.12
4+
download_url: https://files.pythonhosted.org/packages/70/7d/9bc192684cea499815ff478dfcdc13835ddf401365057044fb721ec6bddb/certifi-2025.11.12-py3-none-any.whl
5+
package_url: pkg:pypi/[email protected]
6+
license_expression: mpl-2.0
7+
copyright: Copyright certifi project contributors
8+
redistribute: yes
9+
attribute: yes
10+
track_changes: yes
11+
checksum_md5: 7cf85392819e7d6f24c8589826df5d95
12+
checksum_sha1: 6375a3842a54e3a2beab6c53e427f318ad4477fb
13+
licenses:
14+
- key: mpl-2.0
15+
name: Mozilla Public License 2.0
16+
file: mpl-2.0.LICENSE

thirdparty/dist/cffi-1.15.0.tar.gz

-473 KB
Binary file not shown.

thirdparty/dist/cffi-1.15.0.tar.gz.ABOUT

Lines changed: 0 additions & 30 deletions
This file was deleted.

thirdparty/dist/cffi-1.15.0.tar.gz.NOTICE

Lines changed: 0 additions & 24 deletions
This file was deleted.

thirdparty/dist/django-5.2.7-py3-none-any.whl.ABOUT

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)