fix(python-sdk): patch vulnerable async and tooling dependencies - #1720
Merged
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
supermemory-mcp | bfc538c | Sep 29 2026, 09:32 PM |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
supermemory-app | bfc538c | Commit Preview URL Branch Preview URL |
Sep 29 2026, 09:33 PM |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
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.
Patch the Python SDK lockfile to the first safe releases covering the current Critical/High advisories: anyio 4.14.2, urllib3 2.7.0, aiohttp 3.14.3, Black 26.3.1, and Click 8.3.3. Resolver-required Black dependencies also change (pathspec and pytokens). No SDK source or tests are changed.
Breaking compatibility change
The patched releases require Python >=3.10. Raise requires-python from 3.9 to 3.10, remove the 3.9 classifier, align mypy, and move the minimum-supermemory CI lane from Python 3.9 to 3.10 while retaining supermemory==3.50.0. Raise the existing aiohttp extra and Black dev requirement to their patched releases. Python 3.9 users can no longer install this SDK version; do not publish without accounting for this compatibility change.
Security coverage
Critical anyio GHSA-82r6-8w77-94w6; High urllib3 advisories including GHSA-qccp-gfcp-xxvc, aiohttp GHSA-6mq8-rvhq-8wgg / GHSA-cq5v-8q36-5273, Black GHSA-3936-cmfr-pm3m, and Click PYSEC-2026-2132. Whole-lock OSV scan finds no Critical/High matches; lower-severity findings remain.
Exact Dependabot alert numbers await access: the integration's repository alerts API returns HTTP 403. These advisory IDs must be mapped to the repository alerts before SOC 2 sign-off.
Validation
uv lock --check and uv build pass. Both CI lanes were reproduced locally through locked sync, wheel build/install, dependency check, wheel/version assertion, and tests: Python 3.10 with minimum supermemory==3.50.0 and Python 3.12 with locked supermemory==3.59.0 each passed 31 tests (11 skipped, two existing coroutine warnings). No test-file edits. Existing mypy reports missing requests stubs and, with temporary stubs, 27 existing source typing errors. Black/Flake8/isort flag unchanged source formatting; no formatting changes are included.