Skip to content

Fix | Update the dependencies with security alerts, black 26, Dependabot version updates - #363

Merged
diego-ojeda-binbash merged 3 commits into
masterfrom
fix/dependency-alerts
Nov 15, 2026
Merged

diego-ojeda-binbash merged 3 commits into
masterfrom
fix/dependency-alerts

Conversation

@diego-ojeda-binbash

Copy link
Copy Markdown
Collaborator

What?

Closes the 51 open Dependabot alerts on poetry.lock (1 critical, 20 high, 24 medium, 6 low). Possible now that Python 3.9 and 3.10 are gone (#360): several fixes need 3.10 or 3.11+.

Three commits:

  1. Dependencies with alerts
    • Runtime pins, which is what pip install leverage users get (they don't use the lock):

      Package Before After
      jinja2 3.0.1 3.1.6
      requests 2.31 2.34.2
      boto3 1.33.2 1.44.3 (its botocore no longer caps urllib3 below 2.1)
    • Lock: urllib3 2.0.7 → 2.8.0, certifi, idna, cryptography, virtualenv, filelock and pygments to their fixed releases.

    • Dev: pytest 8.3.3 → 9.2.0.

  2. black 23.3.0 → 26.10.1
    • Same version in the dev dependency, the pre-commit hook and the lint workflow.
    • The reformat is small (+19/−31): module docstrings, blank lines and @overload stubs.
  3. .github/dependabot.yml
    • Weekly version updates. For pip, minor and patch updates are grouped, with one PR for runtime and one for dev; majors come one by one. GitHub Actions are grouped together.
    • Dependabot PRs get no AWS credentials, so the ref-arch E2E skips them. The file says to run it by hand before merging one that touches boto3.

Testing

  • 330 tests, mypy, ruff and black pass with the new versions.
  • This PR changes leverage/ and poetry.lock, so the ref-arch E2E runs too and covers the boto3 1.33 → 1.44 jump against real AWS.

Not here

The Snyk part of #358: its PR check tests nothing, likely because of a stale project import. That gets fixed in the Snyk dashboard, not in the repo.

Relates to #358

🤖 Generated with Claude Code

diego-ojeda-binbash and others added 3 commits November 15, 2026 11:27
Runtime pins: jinja2 3.0.1 -> 3.1.6, requests 2.31 -> 2.34.2, boto3 1.33.2 ->
1.44.3 (its botocore no longer caps urllib3 below 2.1). Dev: pytest 8.3.3 ->
9.2.0. Lock: certifi, urllib3 2.8.0, idna, cryptography, virtualenv,
filelock and pygments to their fixed releases.

Relates to #358

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fixes the black security alerts, which need Python 3.10+ (possible since
#360). Same version in the dev dependency, the pre-commit hook and the lint
workflow. The reformat only touches module docstrings, blank lines and
overload stubs.

Relates to #358

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Weekly, grouped: minor and patch updates in one pull request per kind of
dependency (runtime, dev), majors one by one, all actions together.

Relates to #358

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@diego-ojeda-binbash diego-ojeda-binbash added enhancement New feature or request security labels Nov 15, 2026
@coderabbitai

coderabbitai Bot commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 20 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 09d86321-46bb-469f-9042-eb875ae0ba7e
Commits

Reviewing files that changed from the base of the PR and between 64085cf and 8dd1f43.

Files ignored due to path filters: 1

  • poetry.lock is excluded by !**/*.lock
Files selected for processing: 20

  • .github/dependabot.yml
  • .github/workflows/test-lint-black.yaml
  • .pre-commit-config.yaml
  • leverage/__init__.py
  • leverage/_internals.py
  • leverage/_parsing.py
  • leverage/_utils.py
  • leverage/conf.py
  • leverage/leverage.py
  • leverage/logger.py
  • leverage/modules/aws.py
  • leverage/modules/credentials.py
  • leverage/modules/project.py
  • leverage/modules/run.py
  • leverage/modules/runner.py
  • leverage/path.py
  • leverage/tasks.py
  • pyproject.toml
  • tests/test_logger.py
  • tests/test_path.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@diego-ojeda-binbash diego-ojeda-binbash self-assigned this Nov 15, 2026
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 43724608126

Coverage remained the same at 78.034%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • 20 coverage regressions across 2 files.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

20 previously-covered lines in 2 files lost coverage.

File Lines Losing Coverage Coverage
modules/run.py 18 54.37%
modules/aws.py 2 97.32%

Coverage Stats

Coverage Status
Relevant Lines: 4128
Covered Lines: 3340
Line Coverage: 80.91%
Relevant Branches: 1080
Covered Branches: 724
Branch Coverage: 67.04%
Branches in Coverage %: Yes
Coverage Strength: 0.81 hits per line

💛 - Coveralls

@diego-ojeda-binbash
diego-ojeda-binbash merged commit 98e0b95 into master Nov 15, 2026
22 of 24 checks passed
@diego-ojeda-binbash
diego-ojeda-binbash deleted the fix/dependency-alerts branch November 15, 2026 14:39
@diego-ojeda-binbash diego-ojeda-binbash added fix and removed enhancement New feature or request labels Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants