commit:     d2e589a151e8096f282a093c573d41b7a801fe67
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 31 14:36:31 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Dec 31 14:56:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2e589a1

dev-python/django: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/django/files/django-4.2.3-py312.patch | 25 ------------------------
 1 file changed, 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,
-         )
- 
- 

Reply via email to