Repository navigation
Resolve Furo only where a fixed soupsieve installs - #1428
Conversation
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>
| # 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'", |
There was a problem hiding this comment.
Self-review round one (implementation behavior)
- Base:
89ffcd9705b3d7f9adffba44f24f773868c10773, head:e37d63ac35dd2522d0afc8a29e682839338262f6(full pass); repair head14d09875851fa283345205c882bbe2bf8e3ae307. - Inventory:
pyproject.tomldev group (furomarker),uv.lock, and the callers of Furo (docs/conf.py:222html_theme = "furo"; no Python module, test, or workflow imports furo, beautifulsoup4, or soupsieve). - Behavior: the package's
requires-pythonand runtime dependencies are unchanged; only the dev group changes. Locked(name, version)pairs differ from the base only by the removedsoupsieve 2.10; the otheruv.lockhunks are uv's marker simplifications.uv sync --locked --group dev --dry-runon 3.11.4 omits furo/beautifulsoup4/soupsieve and on 3.11.5 and 3.12 installssoupsieve==4.0. - Alternatives: a
soupsieve>=3.0.2dev constraint cannot resolve for Python 3.11.0 to 3.11.4 whilerequires-python = ">=3.11", so the marker belongs on the dependency that pulls soupsieve in. - CI: the Test matrix's
3.11resolves to the newest 3.11 patch release, which keeps Furo; tests do not use it. - Result: FINDINGS.
docs/testing.md:30told 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.
| "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 |
There was a problem hiding this comment.
Self-review round two (claims and operational behavior)
- Base:
89ffcd9705b3d7f9adffba44f24f773868c10773, head:14d09875851fa283345205c882bbe2bf8e3ae307(full claim pass over the PR body, both commit messages, this comment, anddocs/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.10and GHSA-7g44-g9rc-x53w>= 0.4, <= 2.10(patched 3.0.2). PyPIrequires_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.tomlpin (python = "3.12"), anddocs.yamlsets 3.12. - Documentation reader:
docs/testing.mdis 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.
|
|
||
| [[package]] | ||
| name = "soupsieve" | ||
| version = "4.0" |
There was a problem hiding this comment.
Independent review (relayed Codex result, static review)
- Reviewer: Codex CLI 0.169.0, model
gpt-6-astra, reasoning effortmax, session01a1fd70-d60f-7c91-9493-6649750fe2ee;codex exec -s read-onlyin 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_pythonvalues 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.
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.10disappears. 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.
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.
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
rumdlchecks. Existing runtime-support and benchmark documentation remains accurate. This change removes the vulnerable locked entry; it does not introduce an explicitsoupsieve>=4constraint.Review used read-only inspection. No builds, tests, environment synchronization, or GitHub access; external facts were taken as supplied.
WHAT
Limit the
furoentry of thedevdependency group topython_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.lockchanges 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
devgroup 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
devgroup but leave out Furo, so they cannot build the documentation;docs/testing.mdnow states that the documentation checks need Python 3.11.5 or later.Both documentation workflows build on Python 3.12 (
docs.yamlsets it, anddocs-lint.yamluses the.mise.tomlpin).TEST
Tested commit: 14d0987.
uv lock --check: passed.(name, version)pairs of every locked package againstorigin/master: the only difference is the removedsoupsieve 2.10.uv sync --locked --group dev --dry-runwith--python 3.11.4,3.11.5, and3.12: 3.11.4 resolves without Furo, beautifulsoup4, and soupsieve; 3.11.5 and 3.12 installfuro==2025.9.25,beautifulsoup4==4.13.5, andsoupsieve==4.0.just lintandjust 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.just docs build(sphinx-multiversion over every tag) and the AWS test suites, since no runtime code or test changes.🤖 Generated with Claude Code