Repository navigation
fix(deps): patch Dependabot security alerts - #233
Merged
Merged
Conversation
Dependabot has five open alerts against uv.lock: - urllib3 2.7.0: GHSA-8988-9cw3-xx77 (high), GHSA-vxq7-64xx-v4gw (high), GHSA-gh4c-6fx4-qh6g (medium). Fixed in 2.8.0. - anyio 4.12.1: GHSA-82r6-8w77-94w6 (critical), GHSA-5p39-cfhj-2xmp (medium). Fixed in 4.14.2. Relock only those two packages, each to its first patched release. A plain `--upgrade-package anyio` picks 4.15.1, which also pulls a newer typing-extensions, so the lock names the exact versions to keep the diff to the two packages. urllib3 is a declared dependency, so raise its floor in pyproject.toml to 2.8.0. AnyIO comes in only through the dev and llm extras (httpx, anthropic), so it gets no new declared dependency. A new test fails if the lock falls below either patched release or the urllib3 floor drops below 2.8.0. Signed-off-by: abrichr <richard.abrich@mldsai.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.
Fixes all five open Dependabot alerts on
uv.lock.Changes
uv.lock: only urllib3 and anyio change, each to its first patched release (uv lock -P urllib3==2.8.0 -P anyio==4.14.2). A plain--upgrade-package anyioselects 4.15.1, which also pulls a newer typing-extensions, so the lock names the exact versions.pyproject.toml: the urllib3 security floor goes from>=2.7.0to>=2.8.0, so a later relock can't fall back.devandllmextras (httpx, anthropic). It gets no new declared dependency or override, because the lock upgrade is enough.tests/test_locked_security_floors.py(new): fails if the lock pins either package below its patched release, or if the urllib3 floor drops below 2.8.0.No open Dependabot PR covered these alerts. The open Dependabot PRs (#224, #225, #226, #231) bump GitHub Actions only. This PR doesn't touch
pyproject.tomloruv.locklines that #232 changes.Verification
uv sync --locked --extra dev --extra llminstalls urllib3 2.8.0 and anyio 4.14.2.uv run pytest tests/ -q: 519 passed, 1 skipped.uv run python scripts/validate_docs.py: passed.uv run python scripts/check_published_version_claims.py --offline: passed.uv run mkdocs build --strict: built.pip-audit --require-hashesonuv export --frozen --all-extras: no known vulnerabilities found.ruff check --target-version py312andruff format --checkon the new test: clean. The repo has no ruff config or lint job.🤖 Generated with Claude Code