Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Make renovate update the lockfile #175

Merged
merged 2 commits into from
Dec 1, 2022
Merged

Make renovate update the lockfile #175

merged 2 commits into from
Dec 1, 2022

Conversation

major
Copy link
Member

@major major commented Nov 30, 2022

Renovate's default rangeStrategy setting is replace. That only updates the pyproject.toml if the new version upstream is outside the range of what pyproject.toml will allow.

By using update-lockfile instead, renovate instead updates the lockfile when dependencies change within ranges and then updates the ranges (similar to replace) when the ranges change.

https://docs.renovatebot.com/configuration-options/#rangestrategy

Signed-off-by: Major Hayden major@redhat.com

@major major force-pushed the renovate-update-lockfile branch 2 times, most recently from 3b04315 to 253644e Compare December 1, 2022 15:31
Renovate's default `rangeStrategy` setting is `replace`. That only
updates the pyproject.toml if the new version upstream is outside the
range of what pyproject.toml will allow.

By using `update-lockfile` instead, renovate instead updates the
lockfile when dependencies change within ranges and then updates the
ranges (similar to `replace`) when the ranges change.

https://docs.renovatebot.com/configuration-options/#rangestrategy

Signed-off-by: Major Hayden <major@redhat.com>
Copy link
Member

@miyunari miyunari left a comment

Choose a reason for hiding this comment

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

LGTM! :)

@major major merged commit 75a55c2 into main Dec 1, 2022
@major major deleted the renovate-update-lockfile branch December 1, 2022 15:53
@major
Copy link
Member Author

major commented Dec 1, 2022

Fingers crossed 🤞🏻

@major major mentioned this pull request Dec 1, 2022
1 task
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants