From ac82ba1bd11c1c906a772248c496766a5c0201f0 Mon Sep 17 00:00:00 2001 From: Taewoon Kim Date: Mon, 26 Oct 2026 09:06:08 +0900 Subject: [PATCH] dependabot: raise a pip floor only when the range no longer covers the release The lower bounds in pyproject.toml are the oldest versions the package supports. The "Dependency floor audit" job resolves exactly those floors (--resolution lowest-direct, on every supported Python) and runs pip-audit on them. Dependabot's default strategy turned every ">=" floor into a PR that raised it to the newest release, which locks users out for no reason. increase-if-necessary raises a floor only when a new version falls outside the declared range, so the floors stay the oldest supported versions and the audit stays meaningful. A floor that is vulnerable or no longer installs is still caught by the audit and raised by hand. Co-Authored-By: Claude Sonnet 5.5 --- .github/dependabot.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 5debcbd1..722b4cbd 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,11 +7,21 @@ version: 2 updates: # pyproject.toml is the package definition (`[tool.uv] managed = false`, no # uv.lock), so it is tracked as a pip project rather than a uv one. + # + # The lower bounds in pyproject.toml are the oldest versions this package + # supports, not the newest it was tested with. The "Dependency floor audit" + # job (test-jvm.yml) installs exactly those floors (`--resolution + # lowest-direct`, on every supported Python) and runs pip-audit on them, so a + # floor that is too old or vulnerable fails CI. `increase-if-necessary` keeps + # that meaning: Dependabot only raises a floor when the new release falls + # outside the declared range. Without it, every `>=` floor became a PR to + # raise it to the newest release, which locks users out for no reason. - package-ecosystem: "pip" directory: "/" schedule: interval: weekly day: "sunday" + versioning-strategy: increase-if-necessary cooldown: default-days: 3 open-pull-requests-limit: 10