Control: tags 1146281 + pending

Dear maintainer,

Pieter has prepared an NMU for url-normalize (versioned as 2.2.1-2.1) and
I uploaded it to DELAYED/5. Please feel free to tell me if I
should cancel it.

Regards.

diffstat for url-normalize-2.2.1 url-normalize-2.2.1

 changelog                                |    7 +++++++
 patches/fix_idna_deprecated_transitional |   28 ++++++++++++++++++++++++++++
 patches/series                           |    1 +
 3 files changed, 36 insertions(+)

diff -Nru url-normalize-2.2.1/debian/changelog 
url-normalize-2.2.1/debian/changelog
--- url-normalize-2.2.1/debian/changelog        2026-04-15 03:20:02.000000000 
+0200
+++ url-normalize-2.2.1/debian/changelog        2026-09-13 08:19:43.000000000 
+0200
@@ -1,3 +1,10 @@
+url-normalize (2.2.1-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add patch for deprecated transitional host normalization (Closes: #1146281)
+
+ -- Pieter Lenaerts <[email protected]>  Sun, 13 Sep 2026 08:19:43 +0200
+
 url-normalize (2.2.1-2) unstable; urgency=medium
 
   * debian/control
diff -Nru url-normalize-2.2.1/debian/patches/fix_idna_deprecated_transitional 
url-normalize-2.2.1/debian/patches/fix_idna_deprecated_transitional
--- url-normalize-2.2.1/debian/patches/fix_idna_deprecated_transitional 
1970-01-01 01:00:00.000000000 +0100
+++ url-normalize-2.2.1/debian/patches/fix_idna_deprecated_transitional 
2026-09-13 08:19:43.000000000 +0200
@@ -0,0 +1,28 @@
+From: Pieter Lenaerts <[email protected]>
+Date: Sun, 13 Sep 2026 08:07:17 +0200
+Subject: Fix test with transitional host normalization
+
+UTS#46 has deprecated transitional hostname processing, so idna no
+longer supports the transitional argument to encode(). idna now
+ignores the argument, no longer returns IDNA2003 result but returns
+IDNA2008 result.
+
+Origin: backport, 
https://github.com/niksite/url-normalize/pull/42/changes#diff-42b168b1b2aa56197bae4f75ce04e18a2651d5eba4ff13d80b7a4b104998226a
+Forwarded: not-needed
+---
+ tests/test_normalize_host.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/test_normalize_host.py b/tests/test_normalize_host.py
+index 2dce3e3..713bf1a 100644
+--- a/tests/test_normalize_host.py
++++ b/tests/test_normalize_host.py
+@@ -17,7 +17,7 @@ from url_normalize.url_normalize import normalize_host
+         # Mixed case with Cyrillic
+         ("ExAmPle.РФ", "example.xn--p1ai"),
+         # IDNA2008 with UTS46
+-        ("faß.de", "fass.de"),  # Normalize using transitional rules
++        ("faß.de", "xn--fa-hia.de"),
+         # Edge cases
+         ("ドメイン.テスト", "xn--eckwd4c7c.xn--zckzah"),  # Japanese
+         ("domain.café", "domain.xn--caf-dma"),  # Latin with diacritic
diff -Nru url-normalize-2.2.1/debian/patches/series 
url-normalize-2.2.1/debian/patches/series
--- url-normalize-2.2.1/debian/patches/series   2026-04-15 03:20:02.000000000 
+0200
+++ url-normalize-2.2.1/debian/patches/series   2026-09-13 08:19:43.000000000 
+0200
@@ -1 +1,2 @@
 tests-remove-plugins.patch
+fix_idna_deprecated_transitional

Reply via email to