Skip to content

deps(deps): bump idna from 3.18 to 3.19 in /sdks/python - #456

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/sdks/python/idna-3.19
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/sdks/python/idna-3.19

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 24, 2026 •

Copy link
Copy Markdown
Contributor

Bumps idna from 3.18 to 3.19.

Release notes

Sourced from idna's releases.

v3.19

  • Restore the std3_rules option, which had no effect since changes to 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.
  • Performance improvements to UTS #46 mapping, particularly for ASCII-only domains.
  • Test on free-threaded CPython with the GIL disabled and document thread safety.
  • Expose the Unicode version of the generated tables as 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 be identified without parsing the exception message.
  • The deprecated transitional argument to encode() and uts46_remap() is now completely ignored, and gives a deprecation warning for the latter.
  • Reject A-labels that are not the canonical Punycode encoding of their U-label.
  • Fix CONTEXTJ violations raising IDNAError instead of InvalidCodepointContext.
  • Consistently raise IDNAError for empty labels and non-ASCII bytes passed to label helper functions and the incremental codec.
  • Add property-based tests, extended fuzzing targets, coverage measurement, and CI checks that the data tables match the generator output.
  • Various code quality and tooling improvements.

Thanks to stefan6419846, LouieLuNZ, and Salvatore Corvaglia for contributions to this release.

Changelog

Sourced from idna's changelog.

3.19 (2026-08-18)

  • Restore the std3_rules option, which had no effect since changes to 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.
  • Performance improvements to UTS #46 mapping, particularly for ASCII-only domains.
  • Test on free-threaded CPython with the GIL disabled and document thread safety.
  • Expose the Unicode version of the generated tables as 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 be identified without parsing the exception message.
  • The deprecated transitional argument to encode() and uts46_remap() is now completely ignored, and gives a deprecation warning for the latter.
  • Reject A-labels that are not the canonical Punycode encoding of their U-label.
  • Fix CONTEXTJ violations raising IDNAError instead of InvalidCodepointContext.
  • Consistently raise IDNAError for empty labels and non-ASCII bytes passed to label helper functions and the incremental codec.
  • Add property-based tests, extended fuzzing targets, coverage measurement, and CI checks that the data tables match the generator output.
  • Various code quality and tooling improvements.

Thanks to stefan6419846, LouieLuNZ, and Salvatore Corvaglia for contributions to this release.

Commits
  • 03a9a11 Release 3.19
  • 2d2a7ef Pre-release 3.19rc0
  • 5cce130 Merge pull request #268 from kjd/fix-std3-regex-alert
  • 3914b75 Split the STD3 disallowed-character range so uppercase is explicit
  • ce9fd98 Merge pull request #267 from kjd/housekeeping
  • 809240c Fail CI when the license copyright year is behind the current year
  • d9e16c5 Consolidate test fixtures, prune stale gitignore entries, and fix doc typos
  • ef30fee Remove dead code and pare back superfluous comments
  • b907913 Tighten the version support and Unicode notes in the README
  • 6204cbe Ignore local build artifacts and stop packaging stray tooling config
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [idna](https://github.com/kjd/idna) from 3.18 to 3.19.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.md)
- [Commits](kjd/idna@v3.18...v3.19)

---
updated-dependencies:
- dependency-name: idna
  dependency-version: '3.19'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added automerge Eligible for Dependabot auto-merge (minor/patch, CI green) dependencies Dependency updates (Dependabot) python pip dependency (sdks/python) labels Aug 24, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) August 24, 2026 09:26
scttfrdmn added a commit that referenced this pull request Sep 16, 2026
Four Dependabot PRs (#455 pygments, #456 idna, #457 charset-normalizer, #487
multidict) each edited exactly one pin in sdks/python/requirements.txt. That
file's own header forbids that: "Do not edit a single line by hand: the point of
a frozen tree is that every line came from one resolution, and a hand edit makes
the file describe a tree nothing ever installed." Four single-line edits produce
a file describing four different resolutions, none of which was ever installed.

Regenerated instead, with the recipe the header documents, on python3.12 to
match actions/setup-python in the sdk-metrics job:

  python3.12 -m venv .venv && .venv/bin/pip install 'requests>=2.25.0' \
    'pyyaml>=6.0' 'psutil>=5.8.0' 'aiohttp>=3.8.0' pytest && .venv/bin/pip freeze

One resolution covers all four bumps and three transitive moves Dependabot never
filed, because nothing it watches names them directly: propcache 0.5.2 -> 0.5.3,
urllib3 2.7.0 -> 2.8.0, yarl 1.24.5 -> 1.25.1. That gap is the argument for
regenerating rather than merging the four — taking only the pins Dependabot
noticed leaves the tree at a state pip would never resolve to.

The package set is unchanged at 21 entries: no additions, no removals, only
versions. The header comment is untouched, including the note that the filename
is load-bearing for Trivy detection.

setup.py's install_requires is untouched and stays as ranges. This file is the
test job's tree, not the SDK's dependency declaration.

Verified: pytest tests/ against the regenerated venv, 73 passed and 31 subtests
passed.
@dependabot @github

dependabot Bot commented on behalf of github Sep 16, 2026

Copy link
Copy Markdown
Contributor Author

Looks like idna is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Sep 16, 2026
auto-merge was automatically disabled September 16, 2026 00:23

Pull request was closed

@dependabot
dependabot Bot deleted the dependabot/pip/sdks/python/idna-3.19 branch September 16, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Eligible for Dependabot auto-merge (minor/patch, CI green) dependencies Dependency updates (Dependabot) python pip dependency (sdks/python)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants