Update dependency idna to v3 #20
No reviewers
Labels
No labels
bug
dependencies
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
andylockran/parkrun-hackapi!20
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/idna-3.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
==2.6→==3.20Release Notes
kjd/idna (idna)
v3.20Compare Source
codec.
v3.19Compare Source
std3_rulesoption, which had no effect since changesto UTS #46 processing in Unicode 16. Note that
uts46_remap()defaults to enabling STD3 rules, so direct callers will see input
containing non-LDH ASCII characters rejected again.
ASCII-only domains.
thread safety.
idna.unicode_version, and show it inidna --version.code,text,codepointandpositionattributes toIDNAErrorso that the failed rule and the offending character canbe identified without parsing the exception message.
transitionalargument toencode()anduts46_remap()is now completely ignored, and gives a deprecation warningfor the latter.
their U-label.
IDNAErrorinstead ofInvalidCodepointContext.IDNAErrorfor empty labels and non-ASCII bytespassed to label helper functions and the incremental codec.
measurement, and CI checks that the data tables match the generator
output.
Thanks to stefan6419846, LouieLuNZ, and Salvatore Corvaglia for
contributions to this release.
v3.18Compare Source
displayargument that will passthrough invalid labels rather than raising an exception.
v3.17Compare Source
structures and some optimization in processing speed.
validation, conversion, and codec entry points. This is well above
any legitimate domain or label and guards against pathological
inputs.
v3.16Compare Source
python -m idna, also available asthe
idnascript). Encodes or decodes one or more domains suppliedas arguments or on standard input, with options to select A-label
or U-label output and control error handling.
v3.15Compare Source
check_label,short-circuiting contextual-rule processing for oversized input
while staying compatible with UTS 46 usage.
frozensets (avoiding per-codepoint list construction), simplify
length checks, and reuse the shared
_unicode_dots_refromidna.corein the codec module.raise ... from errfor proper exception chaining andswitch internal string formatting to f-strings.
flit_core4.x in the build backend.pyupgrade, perflint) and apply the surfaced fixes; pin lint CI
to Python 3.14.
initial GHSA identifier.
Thanks to Felix Yan, Stan Ulbrych, and metsw24-max for
contributions to this release.
v3.14Compare Source
time by rejecting oversize inputs up-front. Closes a bypass
of the CVE-2024-3651 mitigation. [CVE-2026-45409]
Thanks to Stan Ulbrych for reporting the issue.
v3.13Compare Source
v3.12Compare Source
segmentation of data structures specific to Jython.
Thanks to Rodrigo Nogueira for contributions to this release.
v3.11Compare Source
processing. As a result of Unicode ending support for it, transitional
processing no longer has an effect and returns the same result.
v3.10Compare Source
to UTS46 processing that will require more work to properly implement.
v3.9Compare Source
Thanks to Waket Zheng for contributions to this release.
v3.8Compare Source
certain inputs.
longer testable.
Thanks to Hugo van Kemenade for contributions to this release.
v3.7Compare Source
take exceptionally long amount of time to process. [CVE-2024-3651]
Thanks to Guido Vranken for reporting the issue.
v3.6Compare Source
v3.5Compare Source
"idna" was not working.
lack of adherence to PEP 517. Should be removed in a future release
so please prepare accordingly.
with PEP 517 and the Python Packaging User Guide for sdist archives.
Thanks Jon Ribbens, Diogo Teles Sant'Anna, Wu Tingfeng for contributions
to this release.
v3.4Compare Source
IDNAError for malformed input
reproducibility
Thanks to Seth Michael Larson for contributions to this release.
v3.3Compare Source
Thanks to Jon Defresne, Hugo van Kemenade, Seth Michael Larson,
Patrick Ventuzelo and Boris Verhovsky for contributions to this
release.
v3.2Compare Source
v3.1Compare Source
std3_rulesoption, which had no effect since changesto UTS #46 processing in Unicode 16. Note that
uts46_remap()defaults to enabling STD3 rules, so direct callers will see input
containing non-LDH ASCII characters rejected again.
ASCII-only domains.
thread safety.
idna.unicode_version, and show it inidna --version.code,text,codepointandpositionattributes toIDNAErrorso that the failed rule and the offending character canbe identified without parsing the exception message.
transitionalargument toencode()anduts46_remap()is now completely ignored, and gives a deprecation warningfor the latter.
their U-label.
IDNAErrorinstead ofInvalidCodepointContext.IDNAErrorfor empty labels and non-ASCII bytespassed to label helper functions and the incremental codec.
measurement, and CI checks that the data tables match the generator
output.
Thanks to stefan6419846, LouieLuNZ, and Salvatore Corvaglia for
contributions to this release.
v3.0Compare Source
use "idna<3" in your requirements file if you need Python 2 support)
v2.10Compare Source
v2.9Compare Source
fail should Python 4 come along.
v2.8Compare Source
v2.7Compare Source
This is to be more conformant with the UTS 46 spec. Users should
strip dot prefixes from domains before processing.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.