Tracking specific branch using git-refs datasource and Poetry manager #36333
Unanswered
jakubkarczewski
asked this question in
Request Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
GitLab, using renovate-runner repository (job run in CI/CD) - latest image
Please tell us more about your question or problem
Hey!
I'm wondering whether it's possible to track a specific branch of our internal Python dependency using Poetry manager in Renovate.
Context
We have a following
repository_core
dependency defined inpyproject.toml
and in a
Dockerfile
FROM gcr.io/my-company-gcr/repository-core:12345commithash ...
Problem
I found a way to track the default (
dev
) branch ofrepository-core
and update the commit hash in both places. But I can't seem to find a way to update the commit hash from a specific branch (other than defaultdev
).It's possible to use the regex manager for that (already implemented in the config for
Dockerfile
) but in Poetry I can't find a way to do it. Is tracking a specific branch ofgit-refs
supported by Poetry manager?Alternatively, if it's not possible - is it possible to run
poetry lock
after updates using per-project config (not global)? I am able to replace commit hashes in both places using regex manager but it leaves us with brokenpoetry.lock
file.Config
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions