From 24f0167a83b7d935444bd058856c94fef3b62df2 Mon Sep 17 00:00:00 2001 From: Eli Fine Date: Fri, 9 May 2025 15:23:21 +0000 Subject: [PATCH 1/2] copier --- .copier-answers.yml | 2 +- .github/renovate.json5 | 7 +++++++ template/.github/renovate.json5.jinja | 6 ++++++ 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .github/renovate.json5 create mode 100644 template/.github/renovate.json5.jinja diff --git a/.copier-answers.yml b/.copier-answers.yml index ad9527de..d1e832c8 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: v0.0.41-12-gac9541a +_commit: v0.0.41-14-g72397ea _src_path: gh:LabAutomationAndScreening/copier-base-template.git description: Copier template for creating Python libraries and executables python_ci_versions: diff --git a/.github/renovate.json5 b/.github/renovate.json5 new file mode 100644 index 00000000..f50d4303 --- /dev/null +++ b/.github/renovate.json5 @@ -0,0 +1,7 @@ +{ + $schema: "https://docs.renovatebot.com/renovate-schema.json", + lockFileMaintenance: { + enabled: true, + }, + logLevel: "debug", +} diff --git a/template/.github/renovate.json5.jinja b/template/.github/renovate.json5.jinja new file mode 100644 index 00000000..746f8c91 --- /dev/null +++ b/template/.github/renovate.json5.jinja @@ -0,0 +1,6 @@ +{% raw %}{ + $schema: "https://docs.renovatebot.com/renovate-schema.json", + lockFileMaintenance: { + enabled: true, + }, +}{% endraw %} From b327872ceea905e30ee341c9f83959f3002a40b3 Mon Sep 17 00:00:00 2001 From: Eli Fine Date: Fri, 9 May 2025 15:26:44 +0000 Subject: [PATCH 2/2] pop --- .copier-answers.yml | 2 +- .github/renovate.json5 | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index d1e832c8..b4ce9341 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: v0.0.41-14-g72397ea +_commit: v0.0.41-15-g47ecd9d _src_path: gh:LabAutomationAndScreening/copier-base-template.git description: Copier template for creating Python libraries and executables python_ci_versions: diff --git a/.github/renovate.json5 b/.github/renovate.json5 index f50d4303..4e111958 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -4,4 +4,20 @@ enabled: true, }, logLevel: "debug", + // Only run the PEP 621 manager (disable all others) + enabledManagers: ["pep621"], + + // Optional: customize the file-matching if your pyproject.toml lives + // in a subfolder or has a nonstandard name + pep621: { + fileMatch: ["(^|/)pyproject\\.toml$"], + }, + + // Example: group all Python updates into one PR + packageRules: [ + { + matchManagers: ["pep621"], + groupName: "all python dependencies", + }, + ], }