Bump vulnerable dependencies (Python 3.8-compatible fixes)#402
Merged
Conversation
8977a19 to
55b4bf3
Compare
There was a problem hiding this comment.
Pull request overview
This pull request updates the core/ and cli/ Poetry dependency constraints and lockfiles to newer Python 3.8-compatible versions in order to reduce known vulnerable dependency alerts while keeping the project’s stated Python ^3.8 floor.
Changes:
- Widen
certificonstraints in bothcoreandclito allow patched releases to resolve. - Add a Python-3.8 compatibility cap for
hypothesisincore. - Refresh Poetry lockfiles to pick up newer dependency versions (e.g.,
requests,urllib3,jsonschema,idna,zipp, etc.).
Reviewed changes
Copilot reviewed 2 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| core/pyproject.toml | Widens certifi constraint and caps hypothesis to keep Python 3.8 compatibility. |
| core/poetry.lock | Re-locks core dependencies to newer Python 3.8-compatible versions. |
| cli/pyproject.toml | Widens certifi constraint to allow patched releases. |
| cli/poetry.lock | Re-locks CLI dependencies to newer Python 3.8-compatible versions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Resolves 27 of 66 open Dependabot alerts by re-locking core/ and cli/ to the latest dependency versions installable on the project's Python ^3.8 floor. Key bumps: - aiohttp 3.8.6 -> 3.10.11 (core) - urllib3 2.0.7 -> 2.2.3 (core), 1.26.13 -> 2.2.3 (cli) - requests -> 2.32.4, jinja2 3.1.4 -> 3.1.6, idna -> 3.15, zipp -> 3.20.2 - certifi -> 2026.5.20 (widened constraint to >=2024.7.4; the old ^2023.7.22 caret excluded the patched release) The remaining 39 alerts all require dependency releases that dropped Python 3.8 support (aiohttp >=3.12, urllib3 >=2.5, cryptography >=44, orjson >=3.11, azure-core >=1.38, pytest >=9, requests >=2.33) and cannot be applied without raising the Python floor. All 187 core unit tests pass with the upgraded dependencies. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
55b4bf3 to
f51563f
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
Re-locks
core/andcli/to the latest dependency versions installable on the project's Python^3.8floor, clearing 27 of 66 open Dependabot alerts.Key version bumps
pyproject.tomlchange (minimal)^2023.7.22→>=2024.7.4in both packages — the old caret excluded the patched 2024.7.4 release, so the alert couldn't clear without widening it.All other version changes are lockfile-only (
poetry lockpicking newer Python 3.8-compatible releases); no other constraints were touched.Remaining 39 alerts — all gated on the Python 3.8 floor
Every remaining alert requires a release that dropped Python 3.8 support, so it cannot be applied without raising the floor to
^3.9+:The Python floor must stay at 3.8 (a customer runs the package on it), so these are not actionable here.
Verification
All 187 core unit tests pass with the upgraded dependencies (
PYTHONPATH=src python -m pytest). The CLI package has no unit tests; CI only exercisescore.🤖 Generated with Claude Code