pip-compile executing on every branch, every time #31483
Unanswered
sichapman
asked this question in
Request Help
Replies: 1 comment 2 replies
-
With Only way I can think of reducing this is by doing |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What would you like help with?
Other
How are you running Renovate?
Self-hosted
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
GitLab
Please tell us more about your question or problem
I assume this is intended behaviour but posting on the off chance it's not, or there's a way to configure around it.
The pip-compile manager executes pip-compile against every single pre-existing renovate/ branch whenever that repo is scanned. It's basically doing constant shadow lock file maintenance on every branch. As we have lots of Python apps this is adding lots of time onto our loops.
In my opinion, it should only execute when the branch has just been created or rebased. While it's theoretically nice to keep the transitive dependencies up to date if a branch ends up hanging around for a little while, it's almost certainly going to get rebased due to falling behind or having merge conflict anyway, and if it does get merged with a gone-slightly-out-of-date requirements.txt, that will soon get tidied up by the "proper" lock file maintenance. As it currently stands, it just adds extra time onto every single scan of the repo.
Logs (if relevant)
No response
Beta Was this translation helpful? Give feedback.
All reactions