dependabot[bot] opened a new pull request, #3024: URL: https://github.com/apache/iceberg-python/pull/3024
Bumps [prek](https://github.com/j178/prek) from 0.3.1 to 0.3.2. <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.3.2</h2> <h2>Release Notes</h2> <p>Released on 2026-02-06.</p> <h3>Highlights</h3> <ul> <li> <p><strong><code>prek.toml</code> is here!</strong></p> <p>You can now use <code>prek.toml</code> as an alternative to <code>.pre-commit-config.yaml</code> for configuring prek. <code>prek.toml</code> mirrors the structure of <code>.pre-commit-config.yaml</code>, but TOML is less error-prone. Your existing <code>.pre-commit-config.yaml</code> will continue to work, but for new users and new projects, <code>prek.toml</code> may make more sense. If you want to switch, run <code>prek util yaml-to-toml</code> to convert YAML configs to <code>prek.toml</code>. See <a href="https://prek.j178.dev/configuration">configuration docs</a> for details.</p> <p>For example, this config:</p> <pre lang="yaml"><code>repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 hooks: - id: check-yaml </code></pre> <p>Can be written as <code>prek.toml</code> like this:</p> <pre lang="toml"><code>[[repos]] repo = "https://github.com/pre-commit/pre-commit-hooks" rev = "v6.0.0" hooks = [ { id = "check-yaml" } ] </code></pre> </li> <li> <p><strong><code>serde-yaml</code> has been replaced with <code>serde-saphyr</code></strong></p> <p>We replaced the long-deprecated <code>serde-yaml</code> crate with <a href="https://crates.io/crates/serde-saphyr"><code>serde-saphyr</code></a> for YAML parsing. It is written in safe Rust and has better error messages, performance, and security. This lets us provide precise location information for configuration parsing errors, which should make it easier to fix config issues.</p> <p>For example, this invalid config:</p> <pre lang="yaml"><code>repos: - repo: https://github.com/crate-ci/typos hooks: - id: typos </code></pre> <p>Before:</p> <pre lang="console"><code>$ prek run error: Failed to parse `.pre-commit-config.yaml` caused by: Invalid remote repo: missing field `rev` </code></pre> </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.3.2</h2> <p>Released on 2026-02-06.</p> <h3>Highlights</h3> <ul> <li> <p><strong><code>prek.toml</code> is here!</strong></p> <p>You can now use <code>prek.toml</code> as an alternative to <code>.pre-commit-config.yaml</code> for configuring prek. <code>prek.toml</code> mirrors the structure of <code>.pre-commit-config.yaml</code>, but TOML is less error-prone. Your existing <code>.pre-commit-config.yaml</code> will continue to work, but for new users and new projects, <code>prek.toml</code> may make more sense. If you want to switch, run <code>prek util yaml-to-toml</code> to convert YAML configs to <code>prek.toml</code>. See <a href="https://github.com/j178/prek/blob/master/configuration.md">configuration docs</a> for details.</p> <p>For example, this config:</p> <pre lang="yaml"><code>repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 hooks: - id: check-yaml </code></pre> <p>Can be written as <code>prek.toml</code> like this:</p> <pre lang="toml"><code>[[repos]] repo = "https://github.com/pre-commit/pre-commit-hooks" rev = "v6.0.0" hooks = [ { id = "check-yaml" } ] </code></pre> </li> <li> <p><strong><code>serde-yaml</code> has been replaced with <code>serde-saphyr</code></strong></p> <p>We replaced the long-deprecated <code>serde-yaml</code> crate with <a href="https://crates.io/crates/serde-saphyr"><code>serde-saphyr</code></a> for YAML parsing. It is written in safe Rust and has better error messages, performance, and security. This lets us provide precise location information for configuration parsing errors, which should make it easier to fix config issues.</p> <p>For example, this invalid config:</p> <pre lang="yaml"><code>repos: - repo: https://github.com/crate-ci/typos hooks: - id: typos </code></pre> <p>Before:</p> <pre lang="console"><code>$ prek run error: Failed to parse `.pre-commit-config.yaml` caused by: Invalid remote repo: missing field `rev` </code></pre> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/j178/prek/commit/71790f3b08c221607d9813146e5f315695eaa017"><code>71790f3</code></a> Bump version to 0.3.2 (<a href="https://redirect.github.com/j178/prek/issues/1587">#1587</a>)</li> <li><a href="https://github.com/j178/prek/commit/91722781fa8e65568b8e17cc85b8fce607afbcdb"><code>9172278</code></a> Use semver fallback sort when tag timestamps are equal (<a href="https://redirect.github.com/j178/prek/issues/1579">#1579</a>)</li> <li><a href="https://github.com/j178/prek/commit/294325c7c4d44b9efe2aa94e0513f387567cfcee"><code>294325c</code></a> Remove emoji in README.md (<a href="https://redirect.github.com/j178/prek/issues/1589">#1589</a>)</li> <li><a href="https://github.com/j178/prek/commit/dc7d09df1a42f971d1283f337ed44f0752edd5e9"><code>dc7d09d</code></a> Remove upper bound constraintof uv version (<a href="https://redirect.github.com/j178/prek/issues/1588">#1588</a>)</li> <li><a href="https://github.com/j178/prek/commit/72a78eec6093ea3fc617bad81fe03be17ede7afc"><code>72a78ee</code></a> Do not make the child a session leader (<a href="https://redirect.github.com/j178/prek/issues/1586">#1586</a>)</li> <li><a href="https://github.com/j178/prek/commit/3fa9187f641f0eba83460297986f9049779d6f66"><code>3fa9187</code></a> Add <code>prek util yaml-to-toml</code> to convert <code>.pre-commit-config.yaml</code> to `prek.to...</li> <li><a href="https://github.com/j178/prek/commit/2314871e76a303b553b3be50e1a84135ef2c92f1"><code>2314871</code></a> Bump the supported uv version upper limit to <code>0.11.0</code> (<a href="https://redirect.github.com/j178/prek/issues/1580">#1580</a>)</li> <li><a href="https://github.com/j178/prek/commit/4ff825ebab2eb463ae3ced7cb161749d0ad0c978"><code>4ff825e</code></a> Include <code>prek.toml</code> in run hint for config filename (<a href="https://redirect.github.com/j178/prek/issues/1578">#1578</a>)</li> <li><a href="https://github.com/j178/prek/commit/b516d66ab3f68a4cf466c7c34d6886cdf1180e8d"><code>b516d66</code></a> Update quick start to use <code>prek.toml</code> (<a href="https://redirect.github.com/j178/prek/issues/1576">#1576</a>)</li> <li><a href="https://github.com/j178/prek/commit/60eb3f47e76be98234a185ddf3db41c1d65edc20"><code>60eb3f4</code></a> Document that use <code>--refresh</code> to pick up <code>.prekignore</code> changes (<a href="https://redirect.github.com/j178/prek/issues/1575">#1575</a>)</li> <li>Additional commits viewable in <a href="https://github.com/j178/prek/compare/v0.3.1...v0.3.2">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]
