Skip to content

fix(deps): pin idna below 3.20, which ignores transitional processing - #355

Closed
KaiSchwarz-cnic wants to merge 2 commits into
masterfrom
RSRMID-3125-stranded-dependabot-prs
Closed

KaiSchwarz-cnic wants to merge 2 commits into
masterfrom
RSRMID-3125-stranded-dependabot-prs

Conversation

@KaiSchwarz-cnic

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

Copy link
Copy Markdown
Contributor

Jira: RSRMID-3125

idna 3.20 makes uts46_remap(transitional=True) deprecated and ignored: it only warns. IDNAProcessor relies on it for the TLDs it treats as transitional, so with 3.20 faß.de encodes as xn--fa-hia.de instead of fass.de. That is why tests/test_idnaconverter.py fails on every open Dependabot PR (e.g. #353). Fresh installs of the released SDK already resolve to 3.20 under idna>=3.19.

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

idna 3.20 turns uts46_remap(transitional=True) into a no-op that only warns,
so IDNAProcessor silently stops mapping e.g. faß.de to fass.de for the TLDs it
treats as transitional. Registries have not converged on one IDNA standard, so
the SDK keeps that behaviour.

Refs: RSRMID-3125
@KaiSchwarz-cnic

Copy link
Copy Markdown
Contributor Author

Superseded: the pin here is one version too late. idna 3.19 already ignores transitional processing, and CI still failed with 3.19 installed. Replaced by the PR from RSRMID-3125-pin-idna-3.18.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant