Repository navigation
CM-74534: Fix vulnerable dependencies and drop Python 3.9 support - #570
Merged
Merged
Conversation
Upgrade dependencies flagged by Dependabot alerts and consolidate the open Dependabot PRs (#555, #557, #558, #559, #560, #561, #563): - pyjwt 2.15.1, urllib3 2.8.0, anyio 4.15.1, cryptography 50.0.1, marshmallow 4.3.1, requests 2.34.2, setuptools 83.0.0 - pytest 9.0.3, responses 0.26.3, ruff 0.16.9 - docker/setup-qemu-action v4.4.0, docker/setup-buildx-action v4.4.1, docker/build-push-action v7.4.0 Most patched releases require Python 3.10+, so the minimum supported version is now 3.10: - requires-python >=3.10, classifiers and CI matrices updated - drop Python version markers on mcp, truststore, pywin32, anyio - mcp command and truststore are always available; remove the 3.9 fallbacks in trust_store, host_info, app.py and pyinstaller.spec - ruff targets py310: Optional/Union rewritten to PEP 604 unions Also fix new ruff 0.16 findings and a test JWT fixture whose signature segment was not valid base64url (pyjwt 2.14+ decodes it even when verification is disabled). Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 7, 2026
avishaiamiel
approved these changes
Oct 8, 2026
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
Resolves the open Dependabot alerts and consolidates the open Dependabot PRs (#555, #557, #558, #559, #560, #561, #563) into one change.
Dependency upgrades
<5.0.0)Drop Python 3.9 (minimum is now 3.10)
Most patched releases no longer support 3.9.
requires-python >=3.10; classifiers, CI workflows and docs updated (full test matrix 3.10–3.14)mcpcommand and truststore are now unconditional; removed the 3.9 fallbacks intrust_store.py,host_info.py,app.py,pyinstaller.specpy310, which rewroteOptional/Unionto PEP 604 unions. This rewrite accounts for most of the diff.Other
test_codex.py: JWT fixture now uses a valid base64url signature. pyjwt 2.14+ decodes the signature even withverify_signature=False.Release note
Python 3.9 is no longer supported. The CLI interface is unchanged, so this ships as a minor version bump.
Testing
ruff checkandruff format --checkare clean🤖 Generated with Claude Code