From 802444a634b4a381bc250aa2b8d8ed6aa67934e9 Mon Sep 17 00:00:00 2001 From: lan496 Date: Sun, 6 Sep 2026 16:33:50 +0900 Subject: [PATCH 1/3] chore: align renovate config with spglib conventions Match spgrep's renovate setup: separate PRs per major version, and automerge patch updates across all managers rather than only CI and pre-commit. The required `ci` status check gates every automerge. Co-Authored-By: Claude --- .github/renovate.json5 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index c52a1c8..6981004 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -11,6 +11,8 @@ "platformAutomerge": true }, + "separateMultipleMajor": true, + "minimumReleaseAge": "7d", "configMigration": true, @@ -25,6 +27,12 @@ "enabledManagers": ["github-actions", "pep621", "pre-commit"], "packageRules": [ + { + "description": "Automerge patch updates", + "matchUpdateTypes": ["patch"], + "automerge": true, + "platformAutomerge": true + }, { "matchDepNames": ["python"], "enabled": false From 6866d036fafa687c02d1f57b72078caf4163ff6c Mon Sep 17 00:00:00 2001 From: lan496 Date: Sun, 6 Sep 2026 16:43:49 +0900 Subject: [PATCH 2/3] chore: mark pyproject as a uv project so renovate maintains uv.lock Renovate's pep621 manager selects its lockfile processor from the tool tables in pyproject.toml, not from the lockfile on disk. Without a [tool.uv] table it probed only for pdm.lock, found nothing, and the weekly lockFileMaintenance run silently produced no commit even though uv.lock is present. spglib/spgrep has this table and does get lockfile PRs. The table is intentionally empty: it only enables detection and leaves dependency resolution unchanged. Co-Authored-By: Claude --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 7dc7234..d90efd9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,6 +64,8 @@ dev = [ "spinforge[dev]" ] [tool.setuptools_scm] +[tool.uv] + [tool.ruff] line-length = 99 extend-exclude = [ "docs" ] From 4c5aad4e0d96251114a01fb0369a75940870eed5 Mon Sep 17 00:00:00 2001 From: lan496 Date: Sun, 6 Sep 2026 16:47:03 +0900 Subject: [PATCH 3/3] Revert "chore: mark pyproject as a uv project so renovate maintains uv.lock" This reverts commit 6866d036fafa687c02d1f57b72078caf4163ff6c. --- pyproject.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d90efd9..7dc7234 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,8 +64,6 @@ dev = [ "spinforge[dev]" ] [tool.setuptools_scm] -[tool.uv] - [tool.ruff] line-length = 99 extend-exclude = [ "docs" ]