From fc422855075bfa46860927f88b403aaf689ce99e Mon Sep 17 00:00:00 2001 From: James Braza Date: Thu, 26 Sep 2024 23:06:31 -0700 Subject: [PATCH 1/2] Discovered ':automergeMinor' config option, enabling much simplification --- .github/renovate.json5 | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 8abe7b52..c3802917 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -1,6 +1,10 @@ { $schema: "https://docs.renovatebot.com/renovate-schema.json", - extends: ["config:recommended"], + extends: [ + "config:recommended", + "group:allNonMajor", // Rely on config:recommended for major version updates + ":automergeMinor", + ], schedule: ["* 2 * * 1"], prHourlyLimit: 4, timezone: "America/Los_Angeles", @@ -11,18 +15,4 @@ "pre-commit": { enabled: true, }, - packageRules: [ - { - matchUpdateTypes: ["lockFileMaintenance"], - automerge: true, - }, - { - // group:allNonMajor, with automerge - groupName: "all non-major dependencies", - groupSlug: "all-minor-patch", - matchPackageNames: ["*"], - matchUpdateTypes: ["minor", "patch"], - automerge: true, - }, - ], } From 1ae7514c7556c9ff8e95ae862e8a0739475a81b7 Mon Sep 17 00:00:00 2001 From: James Braza Date: Thu, 26 Sep 2024 23:07:22 -0700 Subject: [PATCH 2/2] Preventing openai widening by Renovate for LiteLLM bug --- .github/renovate.json5 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index c3802917..b89c9c86 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -15,4 +15,11 @@ "pre-commit": { enabled: true, }, + packageRules: [ + { + // Allow 'widen' range strategy while matching aviary_internal pyproject.toml + matchPackageNames: ["openai"], + allowedVersions: "<1.47", + }, + ], }