From 334864f26fce8d8e76255c029a166b776b2235a1 Mon Sep 17 00:00:00 2001 From: Dragomir Penev Date: Tue, 16 Sep 2025 14:52:37 +0300 Subject: [PATCH] Renovate rules for uv --- .github/renovate.json5 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index fa5d940..d332eeb 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -3,10 +3,28 @@ extends: [ 'github>canonical/data-platform//renovate_presets/charm.json5', ], + "enabledManagers": ["pep621", "github-actions", "regex"], reviewers: [ 'team:data-postgresql', ], packageRules: [ + { + "matchManagers": ["pep621"], + "rangeStrategy": "bump", + "matchJsonata": [ + // Don't force version for direct lib deps + "depType = 'dependency-groups' and managerData.depGroup != 'lib'" + ], + "groupName": "Python dependencies" + }, + { + "matchManagers": ["pep621"], + "rangeStrategy": "in-range-only", + "matchJsonata": [ + "depType = 'dependency-groups' and managerData.depGroup = 'charm-libs'" + ], + "groupName": "Python dependencies" + }, ], customManagers: [ ],