Repository navigation
fix(deps): major security updates (Pillow 13, cryptography 50, starlette 1, oauthlib 4, soupsieve 4) - #86
Open
reformedot wants to merge 1 commit into
Open
fix(deps): major security updates (Pillow 13, cryptography 50, starlette 1, oauthlib 4, soupsieve 4)#86reformedot wants to merge 1 commit into
reformedot wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
1 issue found across 3 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="pyproject.toml">
<violation number="1" location="pyproject.toml:18">
P2: This lmnr bump (0.7.56 → 0.7.62) is not one of the five security upgrades in the PR description and is not mentioned there. Laminar is used in the benchmark run and results export workflow, so this change should be called out or split into its own PR. Revert it here unless it is intentionally part of this change.</violation>
</file>
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
|
|
||
| [project.optional-dependencies] | ||
| laminar = ["lmnr==0.7.56"] | ||
| laminar = ["lmnr==0.7.62"] |
There was a problem hiding this comment.
P2: This lmnr bump (0.7.56 → 0.7.62) is not one of the five security upgrades in the PR description and is not mentioned there. Laminar is used in the benchmark run and results export workflow, so this change should be called out or split into its own PR. Revert it here unless it is intentionally part of this change.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At pyproject.toml, line 18:
<comment>This lmnr bump (0.7.56 → 0.7.62) is not one of the five security upgrades in the PR description and is not mentioned there. Laminar is used in the benchmark run and results export workflow, so this change should be called out or split into its own PR. Revert it here unless it is intentionally part of this change.</comment>
<file context>
@@ -15,7 +15,7 @@ dependencies = [
[project.optional-dependencies]
-laminar = ["lmnr==0.7.56"]
+laminar = ["lmnr==0.7.62"]
[build-system]
</file context>
Suggested change
| laminar = ["lmnr==0.7.62"] | |
| laminar = ["lmnr==0.7.56"] |
Contributor
Author
reformedot
force-pushed
the
deps/security-major
branch
from
November 30, 2026 05:59
1eaf1cf to
932c71f
Compare
This was referenced Nov 30, 2026
…tte 1, oauthlib 4, soupsieve 4) Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
reformedot
force-pushed
the
deps/security-major
branch
from
November 30, 2026 08:35
932c71f to
930a687
Compare
Contributor
Author
|
@cubic review |
@reformedot I have started the AI code review. It will take a few minutes to complete. |
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.
Major update: do not merge without the owner's decision.
This pull request builds on #85 (patch and minor updates) and adds the five packages whose security fix exists only in a new major version. Together with #85 it fixes all 115 open Dependabot alerts; this part fixes 59 of them (5 critical, 33 high, 20 medium, 1 low). Merge #85 first; the diff of this pull request then shrinks to the changes below.
What changed
screenshot_evidence.pyand two tests; also through browser-use, reportlab, matplotlibFernetinevaluation.py,frameworks/__init__.py,review_rubric_revision.py; also through authlib, google-auth, pyjwtpyproject.toml:requires-pythonmoves from>=3.11to>=3.11.5. soupsieve 3.0.2 and 4.0 (the only patched versions) require Python 3.11.5 or newer, so the lock does not resolve without this change. CI and the workflows use Python 3.12.Breaking changes of each major update
Iimages as PNG no longer clips values;Image.fromarray(mode=...)no longer changes data types;Image.Image.get_child_images()moved toImageFile.ImageFile;Image._show,ImageCms.ImageCmsProfile.product_name/.product_infoandExifTags.IFD.Makernoteare removed. First-party code callsImage.open,Image.new,Image.MIME,Image.Resampling.LANCZOS,resize,saveandImage.DecompressionBombErroronly; none of the removed items.starlette>=0.27with no upper bound.SECT*), Python 3.8, x86_64 macOS wheels and 32-bit Windows; stricter loading of malformed keys, certificates and CRLs. First-party code usescryptography.fernet.Fernetonly. Note for macOS on Intel: cryptography 49 and newer ship no x86_64 macOS wheel, so that platform needs a Rust toolchain to build it.DeviceCodeGrantvalidation). This repo reaches oauthlib only as an OAuth client through google-auth-oauthlib.:has()is stricter by default; custom selectors must be given in order; contents oftemplateandiframeare no longer matched as part of the document. No first-party code calls soupsieve orselect(). markdownify does not use CSS selectors; browser-use 0.11.5 only handsBeautifulSoupto the namespace of its code-use agent.Proof
Each command ran on
main(before) and on this branch (after), on Linux with Python 3.12.uv sync --frozen --python 3.12 --all-extras --all-groupsuv run python review_rubric_revision.pyValidated 18 revised tasksuv run python -m unittest discover -s testsRan 78 tests,OK (skipped=3)Ran 78 tests, 1 failure locally (see below); thetestcheck of this pull request runs the same suite and passesuv run ruff check bcode_runner.py bcode_eval.py bcode_results.py tests/test_bcode_runner.py tests/test_bcode_binary.pyAll checks passed!All checks passed!tests/uvx pyright --pythonpath .venv/bin/python .The local failure is
test_runner_grades_partial_execution_and_retains_judge_artifacts(AssertionError: None != 0.7). This test andtest_timeout_preserves_partial_tool_and_file_evidencegive a fake executor a 0.4 second task timeout. The test machine was shared and under heavy load (load average 8 to 15 on 2 cores) during these runs, and under that load both tests also fail onmain. Run alone three times each under that load, at least one of the two failed in 3 of 3 runs onmainand in 1 of 3 runs on this branch.The 3 skipped tests are skipped before and after: they need a Chrome binary (
BCODE_TEST_CHROME) or a released binary (BCODE_TEST_BIN), which the test machine did not have.An offline script exercised the paths that reach the updated packages on this branch: a
Fernetencrypt and decrypt round trip;markdownifyand a BeautifulSoupselect()(soupsieve 4.0); import ofgoogle_auth_oauthlib.flowandrequests_oauthlib(oauthlib 4.0.1); import of the mcp server and client transports and buildingFastMCP(...).sse_app()and.streamable_http_app()(starlette 1.3.1); import ofbrowser_use,browser_use.mcp.serverandbrowser_use.mcp.client; a reportlabImageReaderon a Pillow 13 image. All steps passed.Not tested: a real benchmark run (it needs API keys and a browser provider).
Dependabot pull requests that this replaces
#45 (cryptography), #63 (pillow), #73 (oauthlib), #83 (starlette).
🤖 Generated with Claude Code