fix: bump vulnerable deps (requests, pytest, Pygments) and drop EOL Python 3.9#405
Open
nthmost-orkes wants to merge 1 commit intomainfrom
Open
fix: bump vulnerable deps (requests, pytest, Pygments) and drop EOL Python 3.9#405nthmost-orkes wants to merge 1 commit intomainfrom
nthmost-orkes wants to merge 1 commit intomainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
- requests >= 2.33.0 (was >=2.31.0) — fixes insecure temp file reuse (GHSA) - pytest ^9.0.3 (was ^8.4.1) — fixes vulnerable tmpdir handling (GHSA) - pygments >= 2.20.0 (dev dep) — fixes ReDoS via GUID regex (GHSA) - python >= 3.10 (was >=3.9) — 3.9 reached EOL Oct 2025; CI already tests 3.12 only - ruff target-version updated from py39 → py310 to match
f144e50 to
f226650
Compare
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.
Summary
requestsbumped to>=2.33.0— fixes insecure temp file reuse inextract_zipped_paths()(GHSA-9wx4-h78v-vm56)pytestbumped to^9.0.3— fixes vulnerable tmpdir handling (GHSA-ymfq-2fqq-2gfj)pygmentsexplicit>=2.20.0dev constraint — fixes ReDoS via GUID regex (GHSA-mrwq-x4v8-fh7p)pythonminimum bumped from3.9→3.10— formalizes what has been true since February 27, 2026 (see below)ruff target-versionupdated frompy39→py310to matchCompanion to #382 which covers urllib3, filelock, and virtualenv.
Vulnerabilities Fixed
When did 3.9 actually stop working?
February 27, 2026 — commit
c09ea520("Bump vulnerable dependencies") addedfilelock>=3.20.3andvirtualenv>=20.36.1as dev deps.filelock>=3.20.3requires Python >=3.10, so the dev environment (and thereforepoetry lock) has been incompatible with 3.9 since that date. This PR just makes the statedpythonconstraint match reality.Test plan
poetry run pytest tests/unit/ -q— 697 passed, 5 skipped, 0 failuresUser impact
Python 3.9 users will need to upgrade to 3.10+ to use this SDK version. Since 3.9 is past end-of-life and the project has been effectively 3.10+ since February 27, 2026, this brings the stated requirement in line with what we actually support.