Skip to content

fix(api): upgrade NLTK to 3.10.4 - #44583

Merged
wylswz merged 1 commit into
langgenius:lts/1.13.xfrom
xhdnoah:codex/nltk-3.10.4-lts-1.13
Oct 23, 2026
Merged

wylswz merged 1 commit into
langgenius:lts/1.13.xfrom
xhdnoah:codex/nltk-3.10.4-lts-1.13

Conversation

@xhdnoah

@xhdnoah xhdnoah commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Backport the NLTK 3.10.4 dependency update to lts/1.13.x.
  • Update the API dependency constraint and lockfile together.

Context

This is the LTS backport of #44581, merged into main as 65e1fbcc2b4fd43f0bb78b58922eb543983df78e. It addresses the NLTK version flagged under CVE-2026-81726 / GHSA-8mgp-746c-j5xp. NLTK 3.10.4 includes relevant path-handling hardening, but the advisory still lists no patched release; this backport should not by itself be taken as confirmation that the CVE is fully resolved.

Validation

  • Confirmed the patch against the current upstream lts/1.13.x files; only api/pyproject.toml and the NLTK entries in api/uv.lock change.
  • Confirmed the source commit is the current upstream main head.
  • Full API tests and lockfile check were not run locally; please rely on the PR checks for validation.

Screenshots

Not applicable; dependency-only change.

Checklist

  • Backport commit includes the required source provenance line.
  • Dependency constraint and lockfile are updated together.
  • Confirm whether NLTK 3.10.4 fully resolves the advisory before marking the CVE fixed.

From Codex

(cherry picked from commit 65e1fbc)
@xhdnoah
xhdnoah requested a review from a team October 23, 2026 02:41
@xhdnoah
xhdnoah requested a review from QuantumGhost as a code owner October 23, 2026 02:41
@github-actions github-actions Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Oct 23, 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.

🔵 Needs a closer look

No concrete diff defects were identified, but LTS lockfile validity and installation compatibility remain unverified.

No open issues 🎉

What changed in this PR

Backports the NLTK 3.10.4 dependency update to lts/1.13.x, keeping the API dependency declaration and lockfile aligned. This update does not establish that the referenced security advisory is fully resolved.

Changes:

  • Raises the NLTK minimum version to 3.10.4 while retaining the <4.0.0 upper bound.
  • Updates the locked version and distribution metadata without changing application code.
File Description
api/​uv.lock Updates the NLTK constraint, resolved version, and artifact metadata.
api/​pyproject.toml Raises the tools dependency group’s NLTK minimum to 3.10.4.

Review effort: Balanced

@xhdnoah
xhdnoah requested a review from 41tair October 23, 2026 02:52
@wylswz
wylswz merged commit 1a4629e into langgenius:lts/1.13.x Oct 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants