Skip to content

chore: update vulnerable Python dependencies - #570

Merged
c-vigo merged 1 commit into
devfrom
chore/563-update-vulnerable-python-deps
Jun 9, 2026
Merged

c-vigo merged 1 commit into
devfrom
chore/563-update-vulnerable-python-deps

Conversation

@c-vigo

@c-vigo c-vigo commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

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, and Pygments in uv.lock. The workspace template adds [tool.uv] constraint-dependencies floors for the jupyter stack (notebook, jupyterlab, jupyter-server, mistune) so downstream uv.lock files 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 feature
  • fix -- Bug fix
  • docs -- Documentation only
  • chore -- Maintenance task (deps, config, etc.)
  • refactor -- Code restructuring (no behavior change)
  • test -- Adding or updating tests
  • ci -- CI/CD pipeline changes
  • build -- Build system or dependency changes
  • revert -- Reverts a previous commit
  • style -- Code style (formatting, whitespace)

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

  • pyproject.toml — raise urllib3 constraint floor to >=2.7.0
  • uv.lock — bump urllib3 2.7.0, requests 2.34.2, idna 3.18, pygments 2.20.0
  • assets/workspace/pyproject.toml — add jupyter-stack constraint-dependencies (notebook>=7.5.6, jupyterlab>=4.5.7, jupyter-server>=2.18.0, mistune>=3.2.1)
  • CHANGELOG.md and synced assets/workspace/.devcontainer/CHANGELOG.md — Security entry for security(deps): update vulnerable Python dependencies (idna, urllib3, Pygments, requests) #563

Changelog Entry

Security

  • Update vulnerable Python dependencies (#563)
    • Bump urllib3 2.7.0, requests 2.34.2, idna 3.18, Pygments 2.20.0 in the repo lockfile
    • Constrain workspace-template jupyter stack to patched versions (notebook 7.5.6, jupyterlab 4.5.7, jupyter-server 2.18.0, mistune 3.2.1)

Testing

  • Tests pass locally (just test)
  • Manual testing performed (describe below)

Manual Testing Details

N/A — edit-only per plan; verification deferred to CI/nightly Trivy scan after merge.

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly (edit docs/templates/, then run just docs)
  • I have updated CHANGELOG.md in the [Unreleased] section (and pasted the entry above)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

Downstream consumer uv.lock files (e.g. smoke-test) regenerate automatically via release dispatch (init-workspace.sh --smoke-test + just sync). No manual downstream lockfile step required.

Refs: #563

Bump urllib3, requests, idna, and Pygments in the repo lockfile and
add patched-version constraints for the workspace-template jupyter stack.

Refs: #563
@c-vigo c-vigo self-assigned this Jun 9, 2026
@c-vigo
c-vigo enabled auto-merge June 9, 2026 11:18
@c-vigo
c-vigo disabled auto-merge June 9, 2026 11:22
@c-vigo
c-vigo merged commit 3c9edd5 into dev Jun 9, 2026
16 checks passed
@c-vigo
c-vigo deleted the chore/563-update-vulnerable-python-deps branch June 9, 2026 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant