Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ just lint
```

Run `just lint` before tests, including when invoking pytest directly.
For documentation checks, install the tools pinned in `.mise.toml` with [mise](https://mise.jdx.dev/):
For documentation checks, use Python 3.11.5 or later, which the Furo theme's dependencies require, and install the tools pinned in `.mise.toml` with [mise](https://mise.jdx.dev/):

```bash
mise install
Expand Down
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,11 @@ dev = [
"sphinx",
"sphinx-multiversion",
"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.

# 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.

"myst-parser",
"sphinx-design",
"cfn-lint>=1",
Expand Down
Loading
Loading