summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-12-31 15:36:31 +0100
committerMichał Górny <mgorny@gentoo.org>2023-12-31 15:56:11 +0100
commitd2e589a151e8096f282a093c573d41b7a801fe67 (patch)
treefde74ad20328df6a1fae6519d0fc5785ff043d9b /dev-python/django/files
parentdev-ruby/naught: enable ruby33 (diff)
downloadgentoo-d2e589a151e8096f282a093c573d41b7a801fe67.tar.gz
gentoo-d2e589a151e8096f282a093c573d41b7a801fe67.tar.bz2
gentoo-d2e589a151e8096f282a093c573d41b7a801fe67.zip
dev-python/django: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/django/files')
-rw-r--r--dev-python/django/files/django-4.2.3-py312.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/dev-python/django/files/django-4.2.3-py312.patch b/dev-python/django/files/django-4.2.3-py312.patch
deleted file mode 100644
index 7989f8e7cbcc..000000000000
--- a/dev-python/django/files/django-4.2.3-py312.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-This is a hack to get the tests to pass prior to:
-
-[e83a88566a71a2353cebc35992c110be0f8628af] Fixed #32172 -- Adapted signals to allow async handlers.
-
-diff --git a/django/test/signals.py b/django/test/signals.py
-index 94a5161e82..1358101b98 100644
---- a/django/test/signals.py
-+++ b/django/test/signals.py
-@@ -14,6 +14,7 @@ from django.utils import timezone
- from django.utils.formats import FORMAT_SETTINGS, reset_format_cache
- from django.utils.functional import empty
- from django.utils.module_loading import import_string
-+from django.utils.version import PY312
-
- template_rendered = Signal()
-
-@@ -183,7 +184,7 @@ def complex_setting_changed(*, enter, setting, **kwargs):
- # this stacklevel shows the line containing the override_settings call.
- warnings.warn(
- f"Overriding setting {setting} can lead to unexpected behavior.",
-- stacklevel=6,
-+ stacklevel=5 if PY312 else 6,
- )
-
-