Skip to content

Update Renovate configuration to respect manually curated dependency ranges#101

Merged
harryswift01 merged 2 commits intomainfrom
100-general-handling-manually-curated-dependency-ranges
Jan 28, 2026
Merged

Update Renovate configuration to respect manually curated dependency ranges#101
harryswift01 merged 2 commits intomainfrom
100-general-handling-manually-curated-dependency-ranges

Conversation

@harryswift01
Copy link
Copy Markdown
Member

Summary

This PR updates the Renovate configuration to use the in-range-only strategy for dependency updates. The goal is to ensure manually curated version ranges are respected, avoiding automatic replacement or widening, while still updating lockfiles for in-range versions and notifying about out-of-range releases.

Changes

Update rangeStrategy to in-range-only

  • Replaces "rangeStrategy": "replace" with "rangeStrategy": "in-range-only".
  • Ensures Renovate respects manually defined version ranges in pyproject.toml.

Enable dependencyDashboard

  • Adds "dependencyDashboard": true to the configuration.
  • Allows out-of-range updates to be visible in the dashboard without automatically merging them.

Impact

  • Renovate will no longer pin dependencies outside manually curated ranges.
  • Lockfiles for in-range versions will continue to be updated automatically.
  • Out-of-range updates will be visible for review, reducing the risk of breaking CI or the codebase.

@harryswift01 harryswift01 requested a review from jimboid January 26, 2026 13:15
@harryswift01 harryswift01 self-assigned this Jan 26, 2026
@harryswift01 harryswift01 added the dependencies Pull requests that update a dependency file label Jan 26, 2026
@harryswift01 harryswift01 linked an issue Jan 26, 2026 that may be closed by this pull request
@coveralls
Copy link
Copy Markdown
Collaborator

coveralls commented Jan 26, 2026

Pull Request Test Coverage Report for Build 21405967956

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 56.949%

Totals Coverage Status
Change from base Build 21280255073: 0.0%
Covered Lines: 713
Relevant Lines: 1252

💛 - Coveralls

jimboid
jimboid previously approved these changes Jan 26, 2026
Copy link
Copy Markdown
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.

We see that this configuration behaves the way we wanted on the aiida-gromacs repository. So this is a good addition here too.

Copy link
Copy Markdown
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 great and is proven on two other repos now.

@harryswift01 harryswift01 merged commit e4bb07b into main Jan 28, 2026
10 checks passed
@harryswift01 harryswift01 deleted the 100-general-handling-manually-curated-dependency-ranges branch January 28, 2026 08:30
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[General]: Handling Manually Curated Dependency Ranges in Renovate

3 participants