Skip to content

python: bump pytest and pygments for Dependabot alerts#5187

Merged
pietern merged 1 commit intomainfrom
fix-latent-vulns
May 6, 2026
Merged

python: bump pytest and pygments for Dependabot alerts#5187
pietern merged 1 commit intomainfrom
fix-latent-vulns

Conversation

@pietern
Copy link
Copy Markdown
Contributor

@pietern pietern commented May 6, 2026

Changes

  • Bump pytest in python/codegen/: 8.3.3 → 9.0.3
  • Bump pygments in python/: 2.19.1 → 2.20.0

Why

Dependabot flagged two latent vulnerabilities in dev-only Python tooling:

  • pytest 8.3.x: tmpdir handling (GHSA-pq67-6m6q-mj2v).
  • Pygments 2.19.x: ReDoS in the GUID regex.

Neither affects the shipped CLI; both live in the Python codegen / databricks-bundles dev environments.

Tests

  • ./task pydabs-test pydabs-lint — 163 passed; lint + pyright + ruff format clean.
  • cd python/codegen && uv run pytest — 8 passed.

PR description drafted with Claude Code.

- pytest in python/codegen: 8.3.3 -> 9.0.3 (GHSA-pq67-6m6q-mj2v, tmpdir handling)
- pygments in python: 2.19.1 -> 2.20.0 (GHSA, GUID regex ReDoS)

Drop the explicit pytest version in python/codegen/pyproject.toml; the
lockfile pins it.

Co-authored-by: Isaac
@pietern pietern temporarily deployed to test-trigger-is May 6, 2026 08:34 — with GitHub Actions Inactive
@pietern pietern temporarily deployed to test-trigger-is May 6, 2026 08:34 — with GitHub Actions Inactive
@pietern pietern requested a review from janniklasrose May 6, 2026 08:35
@pietern pietern merged commit 8e61912 into main May 6, 2026
34 of 35 checks passed
@pietern pietern deleted the fix-latent-vulns branch May 6, 2026 08:58
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.

2 participants