Repository navigation
chore: update vulnerable Python dependencies - #570
Merged
Merged
Conversation
Bump urllib3, requests, idna, and Pygments in the repo lockfile and add patched-version constraints for the workspace-template jupyter stack. Refs: #563
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.
Description
Remediate Dependabot/Trivy advisories for vulnerable Python dependencies in this repo and the workspace template seeded to consumer repos (including smoke-test).
This repo bumps
urllib3,requests,idna, andPygmentsinuv.lock. The workspace template adds[tool.uv] constraint-dependenciesfloors for the jupyter stack (notebook,jupyterlab,jupyter-server,mistune) so downstreamuv.lockfiles resolve patched versions on release re-sync.pytest(GHSA-6w46-j5rx-g56g) is already at 9.0.3 via #528 — no action; its stale alert should auto-close.Type of Change
feat-- New featurefix-- Bug fixdocs-- Documentation onlychore-- Maintenance task (deps, config, etc.)refactor-- Code restructuring (no behavior change)test-- Adding or updating testsci-- CI/CD pipeline changesbuild-- Build system or dependency changesrevert-- Reverts a previous commitstyle-- Code style (formatting, whitespace)Modifiers
!) -- This change breaks backward compatibilityChanges Made
pyproject.toml— raiseurllib3constraint floor to>=2.7.0uv.lock— bumpurllib32.7.0,requests2.34.2,idna3.18,pygments2.20.0assets/workspace/pyproject.toml— add jupyter-stackconstraint-dependencies(notebook>=7.5.6,jupyterlab>=4.5.7,jupyter-server>=2.18.0,mistune>=3.2.1)CHANGELOG.mdand syncedassets/workspace/.devcontainer/CHANGELOG.md— Security entry for security(deps): update vulnerable Python dependencies (idna, urllib3, Pygments, requests) #563Changelog Entry
Security
urllib32.7.0,requests2.34.2,idna3.18,Pygments2.20.0 in the repo lockfilenotebook7.5.6,jupyterlab4.5.7,jupyter-server2.18.0,mistune3.2.1)Testing
just test)Manual Testing Details
N/A — edit-only per plan; verification deferred to CI/nightly Trivy scan after merge.
Checklist
docs/templates/, then runjust docs)CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
Downstream consumer
uv.lockfiles (e.g. smoke-test) regenerate automatically via release dispatch (init-workspace.sh --smoke-test+just sync). No manual downstream lockfile step required.Refs: #563