1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 11:16:47 +00:00

build: Django 5.2.17 LTS

Django 4.2 reached end of life on 2026-04-07.

- Django==5.2.17; django-login-required-middleware 0.9.0 keeps working
  (the authorization matrix passes).
- USE_L10N removed from the settings template.
- Log out is a POST form in the navbar; Django 5 removed GET logout.
- pip-audit in CI no longer ignores the Django 4.2.30 advisories.
- README: Django 5.2, backup step and upgrade notes for existing
  settings and GET logout callers.

python -Wd manage.py test shows no Django deprecation warnings. The live
libvirt suite passes on 5.2 and on 4.2 against a RHEL qemu-kvm host.
This commit is contained in:
catborise 2026-10-03 15:30:38 +03:00
parent 21f0777e76
commit 920f318601
6 changed files with 12 additions and 17 deletions

View file

@ -68,19 +68,8 @@ jobs:
- name: Deployment Checks
run: python manage.py check --deploy --fail-level ERROR
# The ignored IDs are Django 4.2.30 advisories, fixed in Django 5.2.17.
# Remove them with the Django 5.2 upgrade.
- name: Audit Installed Packages
run: |
pip-audit \
--ignore-vuln PYSEC-2026-198 \
--ignore-vuln PYSEC-2026-199 \
--ignore-vuln PYSEC-2026-201 \
--ignore-vuln PYSEC-2026-2090 \
--ignore-vuln PYSEC-2026-2091 \
--ignore-vuln PYSEC-2026-2092 \
--ignore-vuln PYSEC-2026-3717 \
--ignore-vuln PYSEC-2026-4035
run: pip-audit
docker:
name: Docker Image