Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tox-dev/github-workflows
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6.7.1
Choose a base ref
...
head repository: tox-dev/github-workflows
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6.7.2
Choose a head ref
  • 2 commits
  • 7 files changed
  • 2 contributors

Commits on Nov 7, 2026

  1. 🐛 fix(cooled-prek): admit pinned hook versions (#59)

    A repository that bumps a pre-commit hook to a release younger than
    seven days fails `cooled-hooks.yaml`, although the bump is deliberate.
    [bump-deps-index#302](gaborbernat/bump-deps-index#302)
    pinned the simplint mirror at v0.7.1, whose package requires
    `simplint==0.7.1`, and the hook could not install because uv's seven-day
    `exclude-newer` hid that release. 🧹
    
    With this change the cooldown holds back only what nobody chose. Before
    building hook environments, `cooled-prek` collects the exact
    `name==version` pins of each Python hook, from its
    `additional_dependencies` and from the hook repository's install
    requirements at the pinned `rev` (`install_requires` in `setup.py` or
    `setup.cfg`, `[project].dependencies` in `pyproject.toml`). For each pin
    it looks up the pinned release's upload time on PyPI and admits that
    release up to its upload time while it is younger than the cutoff. Once
    the release is a week old nothing is written, and the normal cutoff
    applies again. A newer release of the same package uploaded after the
    pinned one stays blocked. The pin already limits the hook to that one
    version; its dependencies, ranges, dev and extra requirements and every
    unpinned package still install under the cutoff. A pin and a
    `[tool.nab]` exception for the same package keep the later date, and a
    hook repository or PyPI lookup that fails fails the run.
    
    The `exclude-newer-package` input of `cooled-hooks.yaml` only ever
    reached the locked release tools, never the hook environments; its
    description and the docs now say so.
    gaborbernat authored Nov 7, 2026
    Configuration menu
    Copy the full SHA
    498db8c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0c4cffd View commit details
    Browse the repository at this point in the history
Loading