Skip to content

Lock soupsieve 4.1.3 to clear three Dependabot alerts - #1508

Merged
derek73 merged 1 commit into
masterfrom
fix/dependabot-soupsieve
Nov 21, 2026
Merged

derek73 merged 1 commit into
masterfrom
fix/dependabot-soupsieve

Conversation

@derek73

@derek73 derek73 commented Nov 21, 2026

Copy link
Copy Markdown
Owner

Clears the three open Dependabot alerts, all on soupsieve in uv.lock.

Alert Advisory Severity Vulnerable First patched
7 GHSA-mmhr-3c5m-f64f (polynomial-time DoS in the descendant combinator) high < 4.0.0 4.0.0
8 GHSA-7g44-g9rc-x53w (uncontrolled recursion in the CSS parser) medium >= 0.4, <= 2.10 3.0.2
9 GHSA-6655-6qjp-jx7x (exponential ReDoS in selector compilation) high <= 2.10 3.0.2

The change

soupsieve 2.10 → 4.1.3 in uv.lock, which meets all three patched versions. No other package moves.

soupsieve is not a runtime dependency: nameparser has none. It is locked through furo → beautifulsoup4 → soupsieve, in the dev group only (the docs theme). Nothing in nameparser/, tests/ or tools/ imports bs4 or soupsieve.

Why pyproject.toml changes too

Every patched release (3.0.2 and later) requires Python 3.11.5 or later, and the project supports 3.11.0. A plain uv lock --upgrade-package soupsieve therefore forks the lock: 4.1.3 for Python 3.11.5 and later, and 2.10 kept for 3.11.0 to 3.11.4, which would leave the vulnerable version in the lock and the alerts open.

The dev group's furo entry now carries python_full_version >= '3.11.5', so the lock holds one soupsieve. requires-python is unchanged, so nothing a user installs moves. The cost: uv sync on Python 3.11.0 to 3.11.4 installs the dev group without the docs theme, so a docs build there fails. CI's 3.11 jobs and Read the Docs (3.12, installing from docs/requirements.txt, not the lock) are above that line.

To weigh

  • 4.1.3 was published on 2026-11-20, the day of this PR. The lock pins its hashes. 4.1.2 is two days older, if an older release is preferred.
  • Read the Docs installs furo unpinned from docs/requirements.txt, so it already resolves the newest soupsieve; this PR does not change that build.

Also checked

  • No other package in uv.lock has an open alert: the three above are the only open ones.
  • namedivider-python is locked at 0.4.2, the newest release on PyPI. Unchanged.

Verification

  • uv sync --all-extras (soupsieve 4.1.3 installed)
  • uv run pytest: 54981 passed, 15 skipped, 3 xfailed
  • uv run pytest -n0 -m serial: 39 passed
  • uv run mypy, uv run ruff check: clean
  • uv run sphinx-build -b html docs and -b doctest docs (1474 tests, 0 failures)
  • Python 3.15 in an environment of its own: 54949 passed, 47 skipped, 3 xfailed

No release-log bullet: nothing a user installs changes.

🤖 Generated with Claude Code

soupsieve 2.10 was locked through furo -> beautifulsoup4, in the dev
group only; nameparser has no runtime dependencies. GHSA-6655-6qjp-jx7x
and GHSA-7g44-g9rc-x53w are patched in 3.0.2 and GHSA-mmhr-3c5m-f64f in
4.0.0, and every patched release requires Python 3.11.5 or later. The
project supports 3.11.0, so a plain upgrade forks the lock and keeps
2.10 for 3.11.0 to 3.11.4. Marking the dev group's furo for Python
3.11.5 and later leaves one soupsieve in the lock; requires-python is
unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@derek73 derek73 added this to the 3.2 milestone Nov 21, 2026
@derek73 derek73 added the dependencies Pull requests that update a dependency file label Nov 21, 2026
@derek73 derek73 self-assigned this Nov 21, 2026
@derek73
derek73 merged commit 8863901 into master Nov 21, 2026
14 checks passed
@derek73
derek73 deleted the fix/dependabot-soupsieve branch November 21, 2026 02:18
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant