Repository navigation
chore(py-sdk): close anyio and pytest advisories — resolve the scan lockfile for 3.10, test 3.9 and 3.10 - #84
Merged
Conversation
Python 3.9 is end-of-life, and the patched anyio (4.14.2+) and pytest (9.0.3+) releases both require 3.10 or newer. Moves requires-python, the CI job, and the scan-only requirements-lock.txt to 3.10 (anyio 4.15.1, pytest 9.1.1).
added 2 commits
September 30, 2026 12:54
… and test both Reverts the requires-python / README floor change. anyio is unpinned (via httpx), so 3.10+ installs already get the patched release and 3.9 installs cannot get one from any release of ours. The scan-only requirements-lock.txt stays resolved for 3.10 (anyio 4.15.1, pytest 9.1.1), and CI now runs the Python suite on 3.9 and 3.10.
Member
Author
|
CI/CD green, Claude reviewed. All 12 checks passed, including the Python suite on both 3.9 and 3.10. The final diff is two files: the Python CI job becomes a 3.9 / 3.10 matrix, and the scan-only |
nicolasiscoding
marked this pull request as ready for review
September 30, 2026 17:23
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.
Closes #83
Closes the open
anyioandpytestadvisories on the Python package without changing the supported Python floor. Python 3.9 stays supported.Why the alerts existed
requirements-lock.txtis a scan-only file: nothing installs from it, it exists so the dependency graph has exact versions to match advisories against. It was resolved for Python 3.9, and the patched releases of two packages in the tree do not install on 3.9:anyio: 4.13+ requires Python 3.10; the fixes are in 4.14.2 (GHSA-82r6-8w77-94w6, GHSA-5p39-cfhj-2xmp)pytest: 9.x requires Python 3.10; the fix is in 9.0.3 (GHSA-6w46-j5rx-g56g), test tooling onlyThe SDK does not pin
anyio(it arrives throughhttpx), so an install on Python 3.10 or newer already resolves the patched release. An install on 3.9 resolvesanyio4.12.1 and no release of this SDK can change that, because upstream publishes no patched build for 3.9.Changes
packages/py-sdk/requirements-lock.txt: resolved for Python 3.10 instead of 3.9 (anyio4.12.1 → 4.15.1,pytest8.4.2 → 9.1.1, plus the rest of the tree), with the reasoning written into the file header.github/workflows/ci.yml: the Python job runs as a matrix on 3.9 (the floor) and 3.10 (what the lockfile describes), so both resolved trees are testedNo change to
pyproject.toml, the READMEs, or any source. No version bump and nothing to release.What this does not do
Users who stay on Python 3.9 keep resolving the older
anyio. Exposure is narrow (TLS host name handling for internationalized, non-ASCII domain names; the SDK talks to an ASCII host by default), and the way out for them is Python 3.10+. Dropping 3.9 fromrequires-pythonremains a separate decision for a future release.Supersedes #80.
Testing
CI runs the full Python suite on both 3.9 and 3.10. Locally on 3.10 with the newly resolved versions: 345 passed.
🤖 Generated with Claude Code