Repository navigation
Lock soupsieve 4.1.3 to clear three Dependabot alerts - #1508
Merged
Merged
Conversation
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>
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.
Clears the three open Dependabot alerts, all on
soupsieveinuv.lock.< 4.0.0>= 0.4, <= 2.10<= 2.10The change
soupsieve2.10 → 4.1.3 inuv.lock, which meets all three patched versions. No other package moves.soupsieveis not a runtime dependency: nameparser has none. It is locked throughfuro→beautifulsoup4→soupsieve, in thedevgroup only (the docs theme). Nothing innameparser/,tests/ortools/importsbs4orsoupsieve.Why
pyproject.tomlchanges tooEvery 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 soupsievetherefore 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
furoentry now carriespython_full_version >= '3.11.5', so the lock holds onesoupsieve.requires-pythonis unchanged, so nothing a user installs moves. The cost:uv syncon 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 fromdocs/requirements.txt, not the lock) are above that line.To weigh
furounpinned fromdocs/requirements.txt, so it already resolves the newestsoupsieve; this PR does not change that build.Also checked
uv.lockhas an open alert: the three above are the only open ones.namedivider-pythonis 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 xfaileduv run pytest -n0 -m serial: 39 passeduv run mypy,uv run ruff check: cleanuv run sphinx-build -b html docsand-b doctest docs(1474 tests, 0 failures)No release-log bullet: nothing a user installs changes.
🤖 Generated with Claude Code