dependabot[bot] opened a new pull request, #3904: URL: https://github.com/apache/iceberg-python/pull/3904
Bumps [prek](https://github.com/j178/prek) from 0.4.14 to 0.5.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/j178/prek/releases">prek's releases</a>.</em></p> <blockquote> <h2>0.5.0</h2> <h2>Release Notes</h2> <p>Released on 2026-08-27.</p> <h3>Highlights</h3> <h4>Choose where hook toolchains come from</h4> <p><code>language_version</code> now accepts a source <code>preference</code> alongside the version <code>request</code>, letting you control where prek looks for a compatible toolchain when it creates a hook environment. Use <code>managed</code> (the default) or <code>system</code> to choose which source prek tries first while still allowing fallback and downloads. Use <code>only-managed</code> or <code>only-system</code> to require one source.</p> <p>For example, this local Ruff hook requires a Python 3.12 toolchain managed by prek:</p> <pre lang="yaml"><code>repos: - repo: local hooks: - id: ruff name: ruff language: python entry: ruff check additional_dependencies: [ruff] language_version: request: "3.12" preference: only-managed </code></pre> <p>With <code>only-managed</code>, prek reuses a compatible toolchain from its managed store or downloads one when needed. It never falls back to Python from <code>PATH</code>, an OS package manager, or a version manager, so toolchain selection does not depend on the developer or CI machine's external environment.</p> <p>Existing scalar values such as <code>language_version: "3.12"</code> continue to work. See <a href="https://prek.j178.dev/0.5.0/languages/#toolchain-management-and-language_version">toolchain management and <code>language_version</code></a> for the full source-selection behavior. (<a href="https://redirect.github.com/j178/prek/pull/2613">#2613</a>)</p> <h3>Breaking changes</h3> <p>The breaking changes in this release are mostly small cleanups, and most users should not be affected.</p> <ul> <li>Group names can no longer start with <code>@</code>. This prefix is now reserved for special group selectors such as the new <code>@ungrouped</code> selector. (<a href="https://redirect.github.com/j178/prek/pull/2617">#2617</a>)</li> <li><code>PREK_MAX_CONCURRENCY</code> has been removed. Use <code>PREK_CONCURRENT_HOOKS</code> and <code>PREK_CONCURRENT_BATCHES</code> to control hook and per-hook batch concurrency separately. (<a href="https://redirect.github.com/j178/prek/pull/2620">#2620</a>)</li> <li>The top-level <code>prek init-template-dir</code> command has been removed. Use <code>prek util init-template-dir</code>, or <code>prek init-templatedir</code> for drop-in compatibility with <code>pre-commit</code>. (<a href="https://redirect.github.com/j178/prek/pull/2623">#2623</a>)</li> <li><code>prek auto-update</code> has been removed. Use <code>prek update</code>, or <code>prek autoupdate</code> for drop-in compatibility with <code>pre-commit</code>. (<a href="https://redirect.github.com/j178/prek/pull/2619">#2619</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/j178/prek/blob/master/CHANGELOG.md">prek's changelog</a>.</em></p> <blockquote> <h2>0.5.0</h2> <p>Released on 2026-08-27.</p> <h3>Highlights</h3> <h4>Choose where hook toolchains come from</h4> <p><code>language_version</code> now accepts a source <code>preference</code> alongside the version <code>request</code>, letting you control where prek looks for a compatible toolchain when it creates a hook environment. Use <code>managed</code> (the default) or <code>system</code> to choose which source prek tries first while still allowing fallback and downloads. Use <code>only-managed</code> or <code>only-system</code> to require one source.</p> <p>For example, this local Ruff hook requires a Python 3.12 toolchain managed by prek:</p> <pre lang="yaml"><code>repos: - repo: local hooks: - id: ruff name: ruff language: python entry: ruff check additional_dependencies: [ruff] language_version: request: "3.12" preference: only-managed </code></pre> <p>With <code>only-managed</code>, prek reuses a compatible toolchain from its managed store or downloads one when needed. It never falls back to Python from <code>PATH</code>, an OS package manager, or a version manager, so toolchain selection does not depend on the developer or CI machine's external environment.</p> <p>Existing scalar values such as <code>language_version: "3.12"</code> continue to work. See <a href="https://prek.j178.dev/0.5.0/languages/#toolchain-management-and-language_version">toolchain management and <code>language_version</code></a> for the full source-selection behavior. (<a href="https://redirect.github.com/j178/prek/pull/2613">#2613</a>)</p> <h3>Breaking changes</h3> <p>The breaking changes in this release are mostly small cleanups, and most users should not be affected.</p> <ul> <li>Group names can no longer start with <code>@</code>. This prefix is now reserved for special group selectors such as the new <code>@ungrouped</code> selector. (<a href="https://redirect.github.com/j178/prek/pull/2617">#2617</a>)</li> <li><code>PREK_MAX_CONCURRENCY</code> has been removed. Use <code>PREK_CONCURRENT_HOOKS</code> and <code>PREK_CONCURRENT_BATCHES</code> to control hook and per-hook batch concurrency separately. (<a href="https://redirect.github.com/j178/prek/pull/2620">#2620</a>)</li> <li>The top-level <code>prek init-template-dir</code> command has been removed. Use <code>prek util init-template-dir</code>, or <code>prek init-templatedir</code> for drop-in compatibility with <code>pre-commit</code>. (<a href="https://redirect.github.com/j178/prek/pull/2623">#2623</a>)</li> <li><code>prek auto-update</code> has been removed. Use <code>prek update</code>, or <code>prek autoupdate</code> for drop-in compatibility with <code>pre-commit</code>. (<a href="https://redirect.github.com/j178/prek/pull/2619">#2619</a>)</li> </ul> <h3>Enhancements</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/j178/prek/commit/67f85359486c57b0fc145ae948283713bf33bf94"><code>67f8535</code></a> Bump version to 0.5.0 (<a href="https://redirect.github.com/j178/prek/issues/2631">#2631</a>)</li> <li><a href="https://github.com/j178/prek/commit/4546befaacb22177be1a7590fb944cad0664ad73"><code>4546bef</code></a> Remove legacy <code>init-template-dir</code> command (<a href="https://redirect.github.com/j178/prek/issues/2623">#2623</a>)</li> <li><a href="https://github.com/j178/prek/commit/e63bd4be1ead8c09effeac5c451c5efd94e1f643"><code>e63bd4b</code></a> Remove hook marker schema 0 (<a href="https://redirect.github.com/j178/prek/issues/2622">#2622</a>)</li> <li><a href="https://github.com/j178/prek/commit/8c433ae73124cef61c390217e0163adbb6a17cd9"><code>8c433ae</code></a> Remove config-tracking cache bootstrap (<a href="https://redirect.github.com/j178/prek/issues/2621">#2621</a>)</li> <li><a href="https://github.com/j178/prek/commit/62ca460aea7d5e24ca27e79cd1128ab91ce396c1"><code>62ca460</code></a> Remove <code>PREK_MAX_CONCURRENCY</code> (<a href="https://redirect.github.com/j178/prek/issues/2620">#2620</a>)</li> <li><a href="https://github.com/j178/prek/commit/e2468eae017a0cb5e68fd54f96e6b66f5d6db598"><code>e2468ea</code></a> Remove legacy update aliases (<a href="https://redirect.github.com/j178/prek/issues/2619">#2619</a>)</li> <li><a href="https://github.com/j178/prek/commit/795c3a46b3c1b20a343a5fe8ec0d1b9fea79ade9"><code>795c3a4</code></a> Group run options in CLI help (<a href="https://redirect.github.com/j178/prek/issues/2629">#2629</a>)</li> <li><a href="https://github.com/j178/prek/commit/b27eb6edf4779994f4e484be605119291f858fc6"><code>b27eb6e</code></a> Document prek run architecture (<a href="https://redirect.github.com/j178/prek/issues/2630">#2630</a>)</li> <li><a href="https://github.com/j178/prek/commit/7dd9aa9149854bb0a37bde6ed64e3d1b42c46fdb"><code>7dd9aa9</code></a> Avoid persisting docs workflow credentials (<a href="https://redirect.github.com/j178/prek/issues/2627">#2627</a>)</li> <li><a href="https://github.com/j178/prek/commit/23815bdd83ce766e93647a98cfc091ec15b0d9ba"><code>23815bd</code></a> Remove the <code>@builtin</code> group selector (<a href="https://redirect.github.com/j178/prek/issues/2628">#2628</a>)</li> <li>Additional commits viewable in <a href="https://github.com/j178/prek/compare/v0.4.14...v0.5.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
