Skip to content

Bump idna from 3.10 to 3.15 in /python/samples/demos/mcp_with_oauth#14186

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/python/samples/demos/mcp_with_oauth/idna-3.15
Open

Bump idna from 3.10 to 3.15 in /python/samples/demos/mcp_with_oauth#14186
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/python/samples/demos/mcp_with_oauth/idna-3.15

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 24, 2026

Copy link
Copy Markdown
Contributor

Bumps idna from 3.10 to 3.15.

Changelog

Sourced from idna's changelog.

3.15 (2026-05-12)

  • Enforce DNS-length cap on individual labels early in check_label, short-circuiting contextual-rule processing for oversized input while staying compatible with UTS 46 usage.
  • Tidy core helpers: hoist bidi category sets to module-level frozensets (avoiding per-codepoint list construction), simplify 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 switch internal string formatting to f-strings.
  • Allow flit_core 4.x in the build backend.
  • Expand the ruff lint set (flake8-bugbear, flake8-simplify, pyupgrade, perflint) and apply the surfaced fixes; pin lint CI to Python 3.14.
  • Add Dependabot configuration for GitHub Actions.
  • Convert README and HISTORY from reStructuredText to Markdown.
  • Reference CVE-2026-45409 for the 3.14 advisory in place of the initial GHSA identifier.

Thanks to Felix Yan, Stan Ulbrych, and metsw24-max for contributions to this release.

3.14 (2026-05-10)

  • Removed opportunity to process long inputs into quadratic 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.

3.13 (2026-04-22)

  • Correct classification error for codepoint U+A7F1

3.12 (2026-04-21)

  • Update to Unicode 17.0.0.
  • Issue a deprecation warning for the transitional argument.
  • Added lazy-loading to provide some performance improvements.
  • Removed vestiges of code related to Python 2 support, including segmentation of data structures specific to Jython.

Thanks to Rodrigo Nogueira for contributions to this release.

3.11 (2025-10-12)

  • Update to Unicode 16.0.0, including significant changes to UTS46 processing. As a result of Unicode ending support for it, transitional processing no longer has an effect and returns the same result.

... (truncated)

Commits
  • af30a09 Release 3.15
  • 30314d4 Pre-release 3.15rc0
  • 05d4b21 Merge pull request #237 from kjd/convert-docs-to-markdown
  • 2987fdb Convert README and HISTORY from reStructuredText to Markdown
  • 59fa800 Merge pull request #236 from kjd/dependabot/github_actions/actions-f3e34333ea
  • def6983 Merge branch 'master' into dependabot/github_actions/actions-f3e34333ea
  • bbd8004 Merge pull request #234 from StanFromIreland/patch-1
  • edd07c0 Bump github/codeql-action from 3.35.2 to 4.35.2 in the actions group
  • 5557db0 Merge branch 'master' into patch-1
  • f11746c Merge pull request #235 from StanFromIreland/patch-2
  • 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [idna](https://github.com/kjd/idna) from 3.10 to 3.15.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.md)
- [Commits](kjd/idna@v3.10...v3.15)

---
updated-dependencies:
- dependency-name: idna
  dependency-version: '3.15'
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file. Used by Dependabot. python:uv Pull requests that update python:uv code labels Jul 24, 2026
Copilot AI review requested due to automatic review settings July 24, 2026 17:33
@dependabot
dependabot Bot requested a review from a team as a code owner July 24, 2026 17:33
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file. Used by Dependabot. python:uv Pull requests that update python:uv code labels Jul 24, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated Code Review

Reviewers: 5 | Confidence: 86%

✓ Correctness

This is a straightforward Dependabot security update bumping idna from 3.10 to 3.15 in a uv.lock file. The update addresses CVE-2026-45409 (quadratic-time bypass). The lock file changes are auto-generated by uv's resolver: the idna version, hashes, and URLs are updated, and the exceptiongroup typing-extensions marker shifted from <3.12 to <3.11 as a normal side effect of re-resolution. No correctness issues found.

✓ Security Reliability

This is a straightforward Dependabot security bump of the idna package from 3.10 to 3.15 in the uv.lock file for the mcp_with_oauth sample. The update addresses CVE-2026-45409, which fixes a bypass of the CVE-2024-3651 mitigation for quadratic-time processing of oversized inputs. The lock file changes are auto-generated by uv, include proper SHA256 hashes for integrity verification, and the exceptiongroup marker adjustment is a normal side-effect of lock resolution. No security or reliability concerns.

✓ Test Coverage

This is a Dependabot PR that bumps the idna dependency from 3.10 to 3.15 in the uv.lock file of a sample/demo project (python/samples/demos/mcp_with_oauth). The change is confined entirely to a lockfile — no source code or test code is modified. There are no new behaviors, APIs, or logic changes that would require test coverage. No test coverage concerns apply.

✓ Failure Modes

This PR is a straightforward Dependabot security bump of idna from 3.10 to 3.15 in the uv.lock file for a sample/demo project. The update addresses CVE-2026-45409 (quadratic-time processing bypass). The only changes are version, hash, and URL updates for the idna package, plus a minor marker adjustment for exceptiongroup's typing-extensions dependency (a normal side effect of lock file re-resolution). No source code is modified, no new failure modes are introduced.

✗ Design Approach

The dependency bump is incomplete for this demo: the top-level client lockfile now uses idna 3.15, but the same sample’s documented server flow still resolves from python/samples/demos/mcp_with_oauth/server/uv.lock, which remains pinned to idna 3.10. Because the README directs users to run both the authorization server and resource server from that subproject, this change does not fully address the security update for the sample as a whole.

Flagged Issues

  • python/samples/demos/mcp_with_oauth/README.md:16-19 and :34-40 instruct users to run the sample from python/samples/demos/mcp_with_oauth/server, but python/samples/demos/mcp_with_oauth/server/uv.lock:127-132 still pins idna to 3.10. Updating only the parent uv.lock leaves the documented server code path on the old version, so the PR does not fully solve the dependency bump it is trying to make.

Automated review by dependabot[bot]'s agents

[[package]]
name = "idna"
version = "3.10"
version = "3.15"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only updates the client-side lockfile. The demo's README still tells users to cd samples/demos/mcp_with_oauth/server and run both servers there (README.md:16-19, :34-40), and that subproject's separate lockfile still pins idna 3.10 (server/uv.lock:127-132). As written, the documented server path for this sample remains on the old version, so the security bump is incomplete.

@github-actions

Copy link
Copy Markdown
Contributor

Flagged issue

python/samples/demos/mcp_with_oauth/README.md:16-19 and :34-40 instruct users to run the sample from python/samples/demos/mcp_with_oauth/server, but python/samples/demos/mcp_with_oauth/server/uv.lock:127-132 still pins idna to 3.10. Updating only the parent uv.lock leaves the documented server code path on the old version, so the PR does not fully solve the dependency bump it is trying to make.


Source: automated DevFlow PR review

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

Labels

dependencies Pull requests that update a dependency file. Used by Dependabot. python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant