python-pins: declare actionkit as a library and add a PR gate - #10
Merged
Conversation
requires-python stays ">=3.11" on purpose. Six repos import this library from an unpinned git URL and they span 3.11 to 3.14, so no single ==X.Y.* satisfies all of them: ==3.11.* would break every 3.14 consumer's lock and ==3.14.* would break fundraiser-api's. The `library` role opts out of the ==X.Y.* form rule only -- the values still have to agree with each other, which this check enforces. Adds a ci.yml as well; this repo had no PR gate at all. See docs/python-pins.md in WeMoveEU/dependency-policy.
aaronelliotross
force-pushed
the
python-pins
branch
from
August 27, 2026 14:41
2526132 to
399f1b0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plan Task 18 — the prerequisite for the 3.14 fan-out (Tasks 7–10), and the first repo wired to
WeMoveEU/ci-workflows/.github/actions/python-pins@v14.What changes
pyproject.toml: adds[tool.python-pins] role = "library".requires-pythonis deliberately unchanged at>=3.11..github/workflows/ci.yml: new. This repo had no PR gate at all.uv.lock: untouched —uv lockis a genuine no-op here, since nothing changed for the resolver.Why this library keeps a floor
Every other Python repo in the org is moving to
requires-python = "==X.Y.*", because a floor is satisfied by every later Python — which is how seven repos let Dependabot walk their Dockerfile topython:3.14with green builds while their manifests stayed put.This repo is the exception. Six repos (
bankimportertwice,we-babel,youmove-form,actionkit-updater,fundraiser-api) importactionkitfrom an unpinned git URL, resolved at theiruv locktime, and they span 3.11 to 3.14. No single exact pin works:==3.11.*breaks every 3.14 consumer's lock,==3.14.*breaksfundraiser-api's. So thelibraryrole opts out of the form rule — values must still agree with each other.Verification
Green case, on this tree:
Red case, proved on a throwaway branch (#11, closed unmerged): a
Dockerfileonpython:3.14-slimagainst this manifest turnedcired in 6s withwhich also confirms in a real repo that
role = "library"exempts only the form rule, not agreement.Separately, not in this PR
Six repos depending on this library at whatever
mainsays is its own problem: Dependabot's cooldown and no-majors rules cannot touch a floating git dependency, so this library reaches production unversioned and ungated. Tagging it and pinning the consumers changes six lockfiles and deserves its own review.