Control: tags 1024287 + patch Control: tags 1024287 + pending Dear maintainer,
I've prepared an NMU for django-assets (versioned as 2.0-2.1) and uploaded it to DELAYED/7. Please feel free to tell me if I should cancel it. cu Adrian
diff -Nru django-assets-2.0/debian/changelog django-assets-2.0/debian/changelog --- django-assets-2.0/debian/changelog 2021-09-04 21:49:06.000000000 +0300 +++ django-assets-2.0/debian/changelog 2023-01-28 13:12:06.000000000 +0200 @@ -1,3 +1,10 @@ +django-assets (2.0-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Add proposed fix for Python 3.11 compatibility. (Closes: #1024287) + + -- Adrian Bunk <b...@debian.org> Sat, 28 Jan 2023 13:12:06 +0200 + django-assets (2.0-2) unstable; urgency=low [ Debian Janitor ] diff -Nru django-assets-2.0/debian/patches/0001-Global-regex-flags-must-be-at-the-start-of-regex-in-.patch django-assets-2.0/debian/patches/0001-Global-regex-flags-must-be-at-the-start-of-regex-in-.patch --- django-assets-2.0/debian/patches/0001-Global-regex-flags-must-be-at-the-start-of-regex-in-.patch 1970-01-01 02:00:00.000000000 +0200 +++ django-assets-2.0/debian/patches/0001-Global-regex-flags-must-be-at-the-start-of-regex-in-.patch 2023-01-28 13:11:44.000000000 +0200 @@ -0,0 +1,25 @@ +From e57c5c3c02d84069600916fed74f165819393487 Mon Sep 17 00:00:00 2001 +From: Jonatan Heyman <jona...@heyman.info> +Date: Thu, 10 Nov 2022 23:26:07 +0100 +Subject: Global regex flags must be at the start of regex in Python 3.11 + +--- + django_assets/glob.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/django_assets/glob.py b/django_assets/glob.py +index 66a9531..73d961c 100644 +--- a/django_assets/glob.py ++++ b/django_assets/glob.py +@@ -121,7 +121,7 @@ def translate(pat): + res = '%s([%s])' % (res, stuff) + else: + res = res + re.escape(c) +- return res + '\Z(?ms)' ++ return '(?ms)' + res + '\Z' + + + """Filename globbing utility.""" +-- +2.30.2 + diff -Nru django-assets-2.0/debian/patches/series django-assets-2.0/debian/patches/series --- django-assets-2.0/debian/patches/series 2021-09-04 21:49:06.000000000 +0300 +++ django-assets-2.0/debian/patches/series 2023-01-28 13:12:01.000000000 +0200 @@ -1,3 +1,4 @@ 01-webassets_version.patch 02-intersphinx.patch 0003-Patch-pytest-plugin-to-check-whether-we-are-running-.patch +0001-Global-regex-flags-must-be-at-the-start-of-regex-in-.patch