fix: update vulnerable dependencies and drop Python 3.9 (EOL)#206
Merged
Conversation
Addresses all open Dependabot security alerts: - requests: 2.32.5 -> 2.33.1 (insecure temp file reuse, netrc leak) - deepdiff: 8.6.1 -> 8.6.2 (memory exhaustion DoS via SAFE_TO_IMPORT) - jinja2: tighten constraint to >=3.1.6 (sandbox breakout; already at 3.1.6) - pytest: 7.4.4 -> 9.0.3 (vulnerable tmpdir handling) - pygments: 2.18.0 -> 2.20.0 (ReDoS via GUID regex) - markdown: 3.7 -> 3.10.2 (uncaught exception) - pymdown-extensions: 10.14.3 -> 10.21.2 (ReDoS in figure capture) - filelock: 3.19.1 -> 3.29.0 (TOCTOU symlink vulnerability) requests>=2.33.0 requires Python>=3.10, so drop EOL Python 3.9 support and bump requires-python to >=3.10.
Contributor
Coverage Report
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 all 22 open Dependabot security alerts by updating vulnerable dependencies. Also drops Python 3.9 (EOL since October 2025) since
requests>=2.33.0requires Python>=3.10.requestsdeepdiffjinja2>=3.1.6pytestpygmentsmarkdownpymdown-extensionsfilelockurllib3Note:
urllib3andjinja2were already at safe versions in the lockfile — only theirpyproject.tomlconstraints were too loose.Breaking change
Drops Python 3.9 support — EOL since October 2025, and
requests>=2.33.0requires Python>=3.10. The CI matrix is updated accordingly.Test plan
uv run pytest