Skip to content

Conversation

@harryswift01
Copy link
Contributor

Summary

This PR introduces Renovate to automatically manage and update pinned dependencies. It adds the necessary Renovate configuration, workflow, and dependency pinning to ensure predictable CI behavior and safe, controlled dependency upgrades.

Changes

Add Renovate configuration

  • Added .github/renovate.json with extends: ["config:base"] and rangeStrategy: "bump".
  • Ensures Renovate can update pinned versions via pull requests.

Add Renovate GitHub Actions workflow

  • Added .github/workflows/renovate.yaml to run Renovate daily at 8 AM UTC.
  • Configured Renovate to authenticate using the RENOVATE_TOKEN secret.
  • Allows automated dependency checks and updates.

Pin dependencies in pyproject.toml

  • Replaced unpinned (>=) versions with strict pinned (==) versions.
  • Updated optional testing and pre-commit dependencies to pinned versions.
  • Ensures deterministic CI runs and consistent dependency resolution.

Impact

  • CI becomes predictable and unaffected by upstream dependency changes.
  • Renovate will automatically propose version updates through PRs.
  • Reduced risk of merging incompatible or unstable dependency combinations.
  • Makes debugging CI failures easier, as dependency versions are well-defined.

@harryswift01 harryswift01 self-assigned this Nov 17, 2025
@harryswift01 harryswift01 added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Nov 17, 2025
@harryswift01 harryswift01 linked an issue Nov 17, 2025 that may be closed by this pull request
5 tasks
@harryswift01 harryswift01 requested a review from jimboid November 17, 2025 15:07
Copy link
Member

@jimboid jimboid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Will just have to monitor it for a while to make sure it is working as we want

@harryswift01 harryswift01 merged commit 03e9ebd into main Nov 17, 2025
14 checks passed
@harryswift01 harryswift01 deleted the 185-add-renovate branch November 17, 2025 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Renovate and Pin Dependencies for More Reliable Dependency Management

3 participants