diff mbox series

[AUH] python3-idna: upgrading to 3.21 SUCCEEDED

Message ID 010101a23fbc5fd9-c561db1a-6948-4c52-ba37-38935aaae51a-000000@us-west-2.amazonses.com
State New
Headers show
Series [AUH] python3-idna: upgrading to 3.21 SUCCEEDED | expand

Commit Message

auh@yoctoproject.org Dec. 4, 2026, 6:27 a.m. UTC
Hello,

this email is a notification from the Auto Upgrade Helper
that the automatic attempt to upgrade the recipe(s) *python3-idna* to *3.21* has Succeeded.

Next steps:
    - apply the patch: git am 0001-python3-idna-upgrade-3.20-3.21.patch
    - check the changes to upstream patches and summarize them in the commit message,
    - compile an image that contains the package
    - perform some basic sanity tests
    - amend the patch and sign it off: git commit -s --reset-author --amend
    - send it to the appropriate mailing list

Alternatively, if you believe the recipe should not be upgraded at this time,
you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that
automatic upgrades would no longer be attempted.

Please review the attached files for further information and build/update failures.
Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler

Regards,
The Upgrade Helper

-- >8 --
From 3f74dc2e45e37cb0b81182bf38c286e34d5f046b Mon Sep 17 00:00:00 2001
From: Upgrade Helper <auh@yoctoproject.org>
Date: Fri, 4 Dec 2026 05:32:09 +0000
Subject: [PATCH] python3-idna: upgrade 3.20 -> 3.21

## 3.21 (2026-12-03)

- Raise the minimum supported Python version to 3.10
- Improve codec handling of overlong input
- Faster validation of plain ASCII letter-digit-hyphen labels.
- Clearer error messages when encode() or decode() is given an
  input that is not a string or bytes.
- Various documentation and tooling fixes.

Thanks to Jon Bailey, zydo, and tony1233200 for contributions to this
release.

- Restore the std3_rules option, which had no effect since changes
  to UTS #46 processing in Unicode 16. Note that uts46_remap()
  idna.unicode_version, and show it in idna --version.
- Add code, text, codepoint and position attributes to
  IDNAError so that the failed rule and the offending character can
- The deprecated transitional argument to encode() and
  uts46_remap() is now completely ignored, and gives a deprecation warning
- Fix CONTEXTJ violations raising IDNAError instead of
  InvalidCodepointContext.
- Consistently raise IDNAError for empty labels and non-ASCII bytes
- When decoding a domain, add a display argument that will pass
- Add a command-line interface (python -m idna, also available as
  the idna script). Encodes or decodes one or more domains supplied
- Enforce DNS-length cap on individual labels early in check_label,
  length checks, and reuse the shared _unicode_dots_re from
  idna.core in the codec module.
- Use raise ... from err for proper exception chaining and
- Allow flit_core 4.x in the build backend.
---
 .../python/{python3-idna_3.20.bb => python3-idna_3.21.bb}       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-idna_3.20.bb => python3-idna_3.21.bb} (84%)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-idna_3.20.bb b/meta/recipes-devtools/python/python3-idna_3.21.bb
similarity index 84%
rename from meta/recipes-devtools/python/python3-idna_3.20.bb
rename to meta/recipes-devtools/python/python3-idna_3.21.bb
index 1baa2f1c26..4cc48b6097 100644
--- a/meta/recipes-devtools/python/python3-idna_3.20.bb
+++ b/meta/recipes-devtools/python/python3-idna_3.21.bb
@@ -3,7 +3,7 @@  HOMEPAGE = "https://github.com/kjd/idna"
 LICENSE = "BSD-3-Clause AND Python-2.0 AND Unicode-TOU"
 LIC_FILES_CHKSUM = "file://LICENSE.md;md5=9a6c29079fc90c29d80332f44d2625f2"
 
-SRC_URI[sha256sum] = "a7db850025b95ded1eae8a46181a1a6c56c92c96f0e2b005d9ff8dc0210cab44"
+SRC_URI[sha256sum] = "13c8b14853c5c336eaab526f3390817e9c8fcd8fa175abdd1a7480a5c94f99cb"
 
 inherit pypi python_flit_core ptest-python-pytest