Skip to content

Resolve Furo only where a fixed soupsieve installs - #1428

Merged
laughingman7743 merged 2 commits into
masterfrom
chore/soupsieve-docs-python-marker
Nov 21, 2026
Merged

laughingman7743 merged 2 commits into
masterfrom
chore/soupsieve-docs-python-marker

Conversation

@laughingman7743

@laughingman7743 laughingman7743 commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

WHAT

Limit the furo entry of the dev dependency group to python_full_version >= '3.11.5' and relock.
The lock no longer contains soupsieve 2.10; every environment that installs Furo resolves soupsieve 4.0.
No other locked package version changes; the remaining uv.lock changes are marker simplifications that uv made during the relock.
The package's requires-python = ">=3.11" and runtime dependencies are unchanged.

WHY

Dependabot alerts #112, #113, and #114 report soupsieve 2.10 in uv.lock (GHSA-mmhr-3c5m-f64f, GHSA-6655-6qjp-jx7x, GHSA-7g44-g9rc-x53w).
Soupsieve 3.0.2 fixes the latter two and 4.0 is the first release that fixes all three; every soupsieve release from 3.0.2 on requires Python 3.11.5 or later.
After #1406 bumped soupsieve to 4.0, the lock therefore kept 2.10 for the dev group on Python 3.11.0 to 3.11.4.
Soupsieve reaches the project only through furo → beautifulsoup4 → soupsieve, which the documentation build uses; PyAthena itself does not depend on it.
With this change, Python 3.11.0 to 3.11.4 can still sync the dev group but leave out Furo, so they cannot build the documentation; docs/testing.md now states that the documentation checks need Python 3.11.5 or later.
Both documentation workflows build on Python 3.12 (docs.yaml sets it, and docs-lint.yaml uses the .mise.toml pin).

TEST

Tested commit: 14d0987.

  • uv lock --check: passed.
  • Compared (name, version) pairs of every locked package against origin/master: the only difference is the removed soupsieve 2.10.
  • uv sync --locked --group dev --dry-run with --python 3.11.4, 3.11.5, and 3.12: 3.11.4 resolves without Furo, beautifulsoup4, and soupsieve; 3.11.5 and 3.12 install furo==2025.9.25, beautifulsoup4==4.13.5, and soupsieve==4.0.
  • just lint and just docs lint: passed.
  • uv run sphinx-build -q -b html docs <tmp> on Python 3.15.2 with soupsieve 4.0: succeeded; the warnings are the existing undefined SQLAlchemy labels in inherited docstrings.
  • Not run: just docs build (sphinx-multiversion over every tag) and the AWS test suites, since no runtime code or test changes.

🤖 Generated with Claude Code

laughingman7743 and others added 2 commits November 21, 2026 18:27
Soupsieve 4.0, which fixes GHSA-mmhr-3c5m-f64f, GHSA-6655-6qjp-jx7x, and
GHSA-7g44-g9rc-x53w, requires Python 3.11.5 or later. The lock therefore kept
the vulnerable soupsieve 2.10 for the dev group on Python 3.11.0 to 3.11.4,
where it reached the documentation build through Furo and beautifulsoup4.
Limiting Furo to Python 3.11.5 and later removes soupsieve 2.10 from the lock.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The testing guide asked for any supported Python version before the
documentation checks, but Python 3.11.0 to 3.11.4 now leave out Furo.
Also say that soupsieve 4.0 is the first release that fixes all three
advisories, since 3.0.2 already fixes two of them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comment thread pyproject.toml
# release that fixes all of GHSA-mmhr-3c5m-f64f, GHSA-6655-6qjp-jx7x, and
# GHSA-7g44-g9rc-x53w, requires Python 3.11.5 or later, so earlier Python 3.11
# releases leave out Furo and cannot build the documentation.
"furo; python_full_version >= '3.11.5'",

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Self-review round one (implementation behavior)

  • Base: 89ffcd9705b3d7f9adffba44f24f773868c10773, head: e37d63ac35dd2522d0afc8a29e682839338262f6 (full pass); repair head 14d09875851fa283345205c882bbe2bf8e3ae307.
  • Inventory: pyproject.toml dev group (furo marker), uv.lock, and the callers of Furo (docs/conf.py:222 html_theme = "furo"; no Python module, test, or workflow imports furo, beautifulsoup4, or soupsieve).
  • Behavior: the package's requires-python and runtime dependencies are unchanged; only the dev group changes. Locked (name, version) pairs differ from the base only by the removed soupsieve 2.10; the other uv.lock hunks are uv's marker simplifications. uv sync --locked --group dev --dry-run on 3.11.4 omits furo/beautifulsoup4/soupsieve and on 3.11.5 and 3.12 installs soupsieve==4.0.
  • Alternatives: a soupsieve>=3.0.2 dev constraint cannot resolve for Python 3.11.0 to 3.11.4 while requires-python = ">=3.11", so the marker belongs on the dependency that pulls soupsieve in.
  • CI: the Test matrix's 3.11 resolves to the newest 3.11 patch release, which keeps Furo; tests do not use it.
  • Result: FINDINGS. docs/testing.md:30 told contributors to use any supported Python before the documentation checks, which no longer holds for 3.11.0 to 3.11.4. Repaired in 14d0987 by stating the Python 3.11.5 requirement there.

Comment thread pyproject.toml
"sphinxext-opengraph",
"furo",
# Furo depends on soupsieve through beautifulsoup4. Soupsieve 4.0, the first
# release that fixes all of GHSA-mmhr-3c5m-f64f, GHSA-6655-6qjp-jx7x, and

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Self-review round two (claims and operational behavior)

  • Base: 89ffcd9705b3d7f9adffba44f24f773868c10773, head: 14d09875851fa283345205c882bbe2bf8e3ae307 (full claim pass over the PR body, both commit messages, this comment, and docs/testing.md).
  • Advisory ranges from gh api /advisories/<id>: GHSA-mmhr-3c5m-f64f < 4.0.0 (patched 4.0.0); GHSA-6655-6qjp-jx7x <= 2.10 and GHSA-7g44-g9rc-x53w >= 0.4, <= 2.10 (patched 3.0.2). PyPI requires_python: 3.0 and 3.0.1 >=3.11; 3.0.2 through 4.1.3 >=3.11.5.
  • Corrected: the PR body said every 3.x and 4.x release requires 3.11.5 (3.0 and 3.0.1 do not); now limited to 3.0.2 and later. This comment said 4.0 is "the first release that fixes" the three advisories, although 3.0.2 already fixes two; now "fixes all of" (14d0987).
  • Corrected: the PR body said docs-lint may use the newest uv-managed Python; its latest run used CPython 3.12.16 from the .mise.toml pin (python = "3.12"), and docs.yaml sets 3.12.
  • Documentation reader: docs/testing.md is the only guide describing the docs build environment; AGENTS.md and CONTRIBUTING.md give no Python version for it.
  • Evidence: Sphinx build ran locally on e37d63a (Python 3.15.2, soupsieve 4.0); the repair changes only a comment and Markdown, and docs-lint CI rebuilds it. No AWS tests are needed for runtime code, but the Test workflow runs on Ready because pyproject.toml and uv.lock are not path-ignored.
  • Result: FINDINGS, repaired in 14d0987; no remaining findings.

Comment thread uv.lock

[[package]]
name = "soupsieve"
version = "4.0"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Independent review (relayed Codex result, static review)

  • Reviewer: Codex CLI 0.169.0, model gpt-6-astra, reasoning effort max, session 01a1fd70-d60f-7c91-9493-6649750fe2ee; codex exec -s read-only in a detached snapshot.
  • Base: 89ffcd9705b3d7f9adffba44f24f773868c10773, head: 14d09875851fa283345205c882bbe2bf8e3ae307.
  • Constraints: review only; no edits, builds, tests, environment syncs, or GitHub access. The prompt omitted the PR number, description, commit messages, and self-review findings, and supplied the advisory ranges and PyPI requires_python values as external data.
  • The snapshot and PR worktree were unchanged after the run.
  • Result: CLEAN.

Covered: the requested diff; both lockfiles’ package versions, artifacts, and markers; runtime dependencies and Python support; benchmark configuration; all CI workflows; justfile, .mise.toml, and documentation setup/support statements.

CLEAN — no actionable findings.

  1. Dependency and lockfile: The Furo marker correctly removes the vulnerable dependency path on Python 3.11.0–3.11.4 while retaining documentation tooling on newer interpreters. The lockfile changes from 96 to 95 package entries: only soupsieve 2.10 disappears. All 92 distinct package names remain, with every retained version, source, and artifact unchanged.

    The other marker changes reorder equivalent conditions, repartition resolution environments, propagate Furo’s condition, or remove combinations prohibited by the declared group conflicts. They introduce no unrelated installation changes. On early Python 3.11, the removed subtree is Furo, Beautiful Soup, SoupSieve, accessible-pygments, and sphinx-basic-ng.

  2. Compatibility and workflows: Runtime dependencies, optional extras, and requires-python = ">=3.11" remain unchanged. Benchmark installations are unaffected, including their Python 3.12 environments and Python 3.15/free-threaded filesystem environments.

    Both documentation workflows use Python 3.12. Other workflows and recipes retain their dependency selections across their configured interpreters. The intended behavioral change is that configured Sphinx builds on Python 3.11.0–3.11.4 lack Furo and cannot build the HTML documentation. Markdown lint/format and ordinary development checks do not require Furo.

  3. Factual accuracy: Against your supplied advisory data, SoupSieve 4.0 is the first release fixing all three advisories and requires Python ≥3.11.5. Releases 3.0/3.0.1 supporting earlier Python do not provide an alternative fixing all three. The dependency chain and comment are accurate.

    The testing-guide statement is accurate for the repository’s patched, locked documentation build dependencies; the Python floor is not necessary for standalone rumdl checks. Existing runtime-support and benchmark documentation remains accurate. This change removes the vulnerable locked entry; it does not introduce an explicit soupsieve>=4 constraint.

Review used read-only inspection. No builds, tests, environment synchronization, or GitHub access; external facts were taken as supplied.

@laughingman7743
laughingman7743 marked this pull request as ready for review November 21, 2026 09:40
@laughingman7743
laughingman7743 merged commit c81cc98 into master Nov 21, 2026
15 checks passed
@laughingman7743
laughingman7743 deleted the chore/soupsieve-docs-python-marker branch November 21, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant