Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,31 @@ updates:
labels:
- "dependencies"
- "python"

# Release toolchain: the hash lock pypi.yml installs with --require-hashes
# (.github/requirements/release.txt, pip-compile --generate-hashes). Without
# this entry the lock would only ever age -- the root entry above does not
# look in this directory. Updates regenerate the lock, hashes included.
- package-ecosystem: "pip"
directory: "/.github/requirements"
schedule:
interval: "weekly"
day: "monday"
time: "06:00"
timezone: "Europe/Zurich"
open-pull-requests-limit: 2
cooldown:
default-days: 7
groups:
release-toolchain:
applies-to: version-updates
patterns:
- "*"
release-toolchain-security:
applies-to: security-updates
commit-message:
prefix: "ci"
include: "scope"
labels:
- "dependencies"
- "python"
31 changes: 31 additions & 0 deletions .github/requirements/release.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Release toolchain for .github/workflows/pypi.yml (build + release QA gate).
#
# Top-level requirements only; release.txt is the hash lock the workflow
# installs with `--require-hashes`. Regenerate it from THIS directory with the
# release job's interpreter (Python 3.12, see pypi.yml), so the resolved
# environment markers are the ones the job evaluates:
#
# pip-compile --allow-unsafe --generate-hashes --strip-extras release.in
#
# Use click<8.3 with pip-tools 7.6.1: with a newer click, pip-compile writes a
# spurious `--no-index` into the header of release.txt (measured 2026-09-25).
# The header is the documented regeneration command a maintainer copies, and
# with `--no-index` it resolves against no package index at all. The quality
# contract rejects such a header.
#
# Dependabot (the /.github/requirements entry in dependabot.yml) infers
# --generate-hashes / --allow-unsafe from this lock's CONTENT and takes the
# interpreter from the header's "with Python X.Y" (dependabot-core#14137). If a
# refresh ever resolves for another Python, the quality contract's
# python-version check turns that update red instead of letting a lock with
# the wrong environment markers through.
#
# `--allow-unsafe` is required: setuptools is the build backend and is locked
# here because pypi.yml builds with `--no-isolation` (an isolated build would
# download an unpinned setuptools at build time).
build
check-wheel-contents
# Must satisfy [build-system] requires in pyproject.toml; the quality contract
# checks the locked version against it.
setuptools>=77.0
twine
636 changes: 636 additions & 0 deletions .github/requirements/release.txt

Large diffs are not rendered by default.

Loading
Loading