Increase Django version to 5.2 to address security reports in older Django

This commit is contained in:
Griatch 2025-06-30 17:46:39 +02:00
parent da8df981cb
commit 1e99ba4222
4 changed files with 5 additions and 6 deletions

View file

@ -2,7 +2,7 @@
## Main branch ## Main branch
Updated dependencies: Django >5.1 (<5,2), Twisted >24 (<25). Updated dependencies: Django >5.2 (<5.3), Twisted >24 (<25).
Python versions: 3.11, 3.12, 3.13. Python versions: 3.11, 3.12, 3.13.
This upgrade requires running `evennia migrate` on your existing database This upgrade requires running `evennia migrate` on your existing database

View file

@ -7,4 +7,4 @@ PYTHON_MIN = 3.11
PYTHON_MAX_TESTED = 3.13.100 PYTHON_MAX_TESTED = 3.13.100
TWISTED_MIN = 24.11 TWISTED_MIN = 24.11
DJANGO_MIN = 4.0.2 DJANGO_MIN = 4.0.2
DJANGO_MAX_TESTED = 5.1.100 DJANGO_MAX_TESTED = 5.2.100

View file

@ -1,4 +1,4 @@
""" r"""
Basic Map - helpme 2022 Basic Map - helpme 2022
This adds an ascii `map` to a given room which can be viewed with the `map` command. This adds an ascii `map` to a given room which can be viewed with the `map` command.
@ -60,7 +60,6 @@ arguments passed into the Map command.
import time import time
from django.conf import settings from django.conf import settings
from evennia import CmdSet from evennia import CmdSet
from evennia.commands.default.muxcommand import MuxCommand from evennia.commands.default.muxcommand import MuxCommand

View file

@ -65,7 +65,7 @@ classifiers = [
dependencies = [ dependencies = [
# core dependencies # core dependencies
"legacy-cgi;python_version >= '3.13'", "legacy-cgi;python_version >= '3.13'",
"django >= 5.1, < 5.2", "django >= 5.2, < 5.3",
"twisted >= 24.11.0, < 25", "twisted >= 24.11.0, < 25",
"pytz >= 2022.6", "pytz >= 2022.6",
"djangorestframework >= 3.14, < 3.15", "djangorestframework >= 3.14, < 3.15",