Skip to content

fix(deps): pin idna to 3.18, the last release with transitional processing - #356

Merged
KaiSchwarz-cnic merged 2 commits into
masterfrom
RSRMID-3125-pin-idna-3.18
Oct 14, 2026
Merged

KaiSchwarz-cnic merged 2 commits into
masterfrom
RSRMID-3125-pin-idna-3.18

Conversation

@KaiSchwarz-cnic

@KaiSchwarz-cnic KaiSchwarz-cnic commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Jira: RSRMID-3125. Supersedes #355, which pinned one version too late.

From idna 3.19 (2026-08-18), uts46_remap(transitional=True) is deprecated and ignored. 3.18 still applies deviation mapping. IDNAProcessor relies on it for the TLDs it treats as transitional, so with 3.19 or later faß.de encodes as xn--fa-hia.de instead of fass.de, and tests/test_idnaconverter.py fails.

  • fix(deps): update idna requirement from >=3.18 to >=3.19 #335 (idna>=3.19, merged 2026-09-17) has kept every PR build and the master Release run red since. It was never released.
  • The released SDK requires idna>=3.18 with no upper bound, so fresh installs already resolve to 3.20 and lose transitional processing. This fix needs to be released.

Registries have not converged on one IDNA standard (2003, 2008, UTS #46), so the SDK keeps its per-TLD transitional behaviour:

🤖 Generated with Claude Code

…ssing

idna 3.19 turns uts46_remap(transitional=True) into a no-op, so IDNAProcessor
silently stops mapping e.g. faß.de to fass.de for the TLDs it treats as
transitional. The floor of 3.19 (#335, unreleased) has kept every build red
since; the released >=3.18 already lets fresh installs resolve to 3.20.
Registries have not converged on one IDNA standard, so the SDK keeps that
behaviour.

Refs: RSRMID-3125
@KaiSchwarz-cnic
KaiSchwarz-cnic merged commit eefa69e into master Oct 14, 2026
7 checks passed
@KaiSchwarz-cnic
KaiSchwarz-cnic deleted the RSRMID-3125-pin-idna-3.18 branch October 14, 2026 14:59
@KaiSchwarz-cnic

Copy link
Copy Markdown
Contributor Author

🎉 This PR is included in version 5.0.9 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant