Repository navigation
chore(deps): limit apidocs to Python 3.11.5+ to clear soupsieve CVEs - #42
Merged
Merged
Conversation
Trivy flags CVE-2026-126190 and CVE-2026-126191 in soupsieve, which furo pulls in through beautifulsoup4. The fixes (4.0.1) need Python 3.11.5, and the 2.x line uv kept for Python 3.10 is unpatched, so the lock could not be made clean while the docs extra resolved for 3.10. Mark the apidocs extra for 3.11.5 and later and floor soupsieve at 4.0.1. The library still supports 3.10; both docs workflows run on 3.12. Co-authored-by: Yvette Mankerian <yvettekm@gmail.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Trivy fails on every PR (first seen on #41, the ruff bump) with CVE-2026-126190 and CVE-2026-126191 in soupsieve, which
furopulls in throughbeautifulsoup4(apidocsextra only — not a runtime dependency of the library).The lock held two soupsieve versions: 3.0 for Python ≥3.11 and 2.10 for 3.10. The fix (4.0.1) requires Python ≥3.11.5 and the 2.x line is unpatched, so no lock that resolves the docs extra for 3.10 can pass.
What
apidocsdependencypython_full_version >= '3.11.5'and floorsoupsieve>=4.0.1there. The library itself still supports 3.10; both docs workflows run on 3.12.apidocsis skipped on 3.10.Checks
trivy fs --severity HIGH,CRITICALon the lock: 0 findingsuv lock --checkpassessphinx-build -Won Python 3.12 with soupsieve 4.1.1: cleanAfter this merges,
@dependabot rebaseon #41 should turn its Trivy check green.🤖 Generated with Claude Code