Skip to content

fix(deps): bump cryptography to 47.0.0 and pygments to 2.20.0#1729

Merged
andrewbolster merged 1 commit into
mainfrom
fix/dependabot-bump-cryptography-pygments
Apr 26, 2026
Merged

fix(deps): bump cryptography to 47.0.0 and pygments to 2.20.0#1729
andrewbolster merged 1 commit into
mainfrom
fix/dependabot-bump-cryptography-pygments

Conversation

@andrewbolster
Copy link
Copy Markdown
Owner

Summary

Resolves 4 open Dependabot security alerts by updating transitive dependencies in `uv.lock`:

Package From To Alerts resolved
cryptography 45.0.7 47.0.0 #55 (high), #66 (low), #68 (medium)
pygments 2.19.1 2.20.0 #67 (low)
cffi 1.17.1 2.0.0 (required by cryptography 47.x)

All are transitive dependencies — no changes to `pyproject.toml` required.

Why cffi? cryptography 46+ dropped cffi as a runtime dep (switched to pure Rust), but the uv resolver was stuck in a cycle: it selected cryptography 45.x to satisfy a cffi constraint that only existed because it had selected 45.x. Upgrading cffi to 2.0.0 alongside cryptography broke the cycle.

Test plan

  • `uv run pre-commit run --all-files` — clean
  • Unit tests (rss, datatables) pass against new dep versions
  • CI will validate all Python versions (3.10–3.13)

🤖 Generated with Claude Code

Resolves Dependabot alerts:
- cryptography: CVE subgroup attack (<=46.0.4), DNS constraint bypass (<46.0.6),
  buffer overflow (>=45.0.0,<46.0.7) — all fixed in 47.0.0
- pygments: ReDoS via GUID regex (<2.20.0) — fixed in 2.20.0
- cffi bumped to 2.0.0 (required by cryptography 47.x resolver)

All are transitive dependencies; no direct dependency changes needed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions github-actions Bot added bug Something isn't working version:patch Bug fixes - patch version bump labels Apr 25, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.23%. Comparing base (fca21da) to head (6d9dae5).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1729   +/-   ##
=======================================
  Coverage   69.23%   69.23%           
=======================================
  Files          38       38           
  Lines        8296     8296           
  Branches      725      725           
=======================================
  Hits         5744     5744           
  Misses       2403     2403           
  Partials      149      149           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@andrewbolster andrewbolster merged commit 1df263b into main Apr 26, 2026
14 checks passed
@andrewbolster andrewbolster deleted the fix/dependabot-bump-cryptography-pygments branch April 26, 2026 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working version:patch Bug fixes - patch version bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant