-
Notifications
You must be signed in to change notification settings - Fork 11
feat: Add CircuitMatcher #1017
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: lm/new-subcircuit
Are you sure you want to change the base?
feat: Add CircuitMatcher #1017
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## lm/new-subcircuit #1017 +/- ##
=====================================================
+ Coverage 79.18% 80.01% +0.83%
=====================================================
Files 96 98 +2
Lines 11674 12116 +442
Branches 11403 11845 +442
=====================================================
+ Hits 9244 9695 +451
+ Misses 1794 1781 -13
- Partials 636 640 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
This PR contains breaking changes to the public Rust API. cargo-semver-checks summary |
9a43e7a to
e39ca43
Compare
7d4745c to
3e3c87b
Compare
e39ca43 to
b63611a
Compare
0050508 to
dc6cfc6
Compare
5082b6c to
f47dbae
Compare
## 🤖 New release * `tket`: 0.13.1 -> 0.13.2 (✓ API compatible changes) * `tket-qsystem`: 0.18.0 -> 0.18.1 (✓ API compatible changes) <details><summary><i><b>Changelog</b></i></summary><p> ## `tket` <blockquote> ## [0.13.2](tket-v0.13.1...tket-v0.13.2) - 2025-08-08 ### New Features - *(tket-py)* Create BadgerOptimiser from arbitrary Rewriters ([#1022](#1022)) </blockquote> ## `tket-qsystem` <blockquote> ## [0.18.1](tket-qsystem-v0.18.0...tket-qsystem-v0.18.1) - 2025-08-08 ### Bug Fixes - *(qsystem)* handle barrier lowering for all array kinds ([#1024](#1024)) </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/).
Bumps the patch group with 4 updates: [bytemuck](https://github.com/Lokathor/bytemuck), [clap](https://github.com/clap-rs/clap), [cc](https://github.com/rust-lang/cc-rs) and [conan2](https://github.com/ravenexp/conan2-rs). Updates `bytemuck` from 1.23.1 to 1.23.2 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Lokathor/bytemuck/blob/main/changelog.md">bytemuck's changelog</a>.</em></p> <blockquote> <h2>1.23.2</h2> <ul> <li>bump <code>derive</code> minimum version.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Lokathor/bytemuck/commit/c069a2f6a4c7f3416257d0378c799085aa5626bb"><code>c069a2f</code></a> chore: Release bytemuck version 1.23.2</li> <li><a href="https://github.com/Lokathor/bytemuck/commit/8b48ef35bfe46032537a35af4faa8a48c93ef361"><code>8b48ef3</code></a> .</li> <li><a href="https://github.com/Lokathor/bytemuck/commit/7fef8d93ba0ed0703ba854bedb8ecd18c1b8cbca"><code>7fef8d9</code></a> bump derive minimum version. should be a semver patch effect.</li> <li><a href="https://github.com/Lokathor/bytemuck/commit/2524f62b76b0ec4804e3f4af4510fcd1253ffe66"><code>2524f62</code></a> chore: Release bytemuck_derive version 1.10.1</li> <li><a href="https://github.com/Lokathor/bytemuck/commit/c4873c9634d796fd06cee20a86638e69cc667e4a"><code>c4873c9</code></a> .</li> <li><a href="https://github.com/Lokathor/bytemuck/commit/374df78558e3d1a3ad51079054aa4e3dd6a3a53b"><code>374df78</code></a> Make the <code>Pod</code>/<code>NoUninit</code> derive macros use <code>assert!</code> to check size equality,...</li> <li><a href="https://github.com/Lokathor/bytemuck/commit/6633a5113f2ca66f7c7e9174136076225f9a7458"><code>6633a51</code></a> Fix a typo (<a href="https://redirect.github.com/Lokathor/bytemuck/issues/319">#319</a>)</li> <li><a href="https://github.com/Lokathor/bytemuck/commit/1c9e7ba196bd2bee43704c166d84778e467cc6e8"><code>1c9e7ba</code></a> chore: Release bytemuck_derive version 1.10.0</li> <li><a href="https://github.com/Lokathor/bytemuck/commit/5e58cf7182aef0c7d78f5f3c299e939b57e7369e"><code>5e58cf7</code></a> changelog</li> <li><a href="https://github.com/Lokathor/bytemuck/commit/0e11472150c3b63cbae3b445230fe074405bd2d2"><code>0e11472</code></a> add support for deriving NoUninit on enums with fields (<a href="https://redirect.github.com/Lokathor/bytemuck/issues/292">#292</a>)</li> <li>See full diff in <a href="https://github.com/Lokathor/bytemuck/compare/v1.23.1...v1.23.2">compare view</a></li> </ul> </details> <br /> Updates `clap` from 4.5.42 to 4.5.43 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/clap-rs/clap/releases">clap's releases</a>.</em></p> <blockquote> <h2>v4.5.43</h2> <h2>[4.5.43] - 2025-08-06</h2> <h3>Fixes</h3> <ul> <li><em>(help)</em> In long help, list Possible Values before defaults, rather than after, for a more consistent look</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md">clap's changelog</a>.</em></p> <blockquote> <h2>[4.5.43] - 2025-08-06</h2> <h3>Fixes</h3> <ul> <li><em>(help)</em> In long help, list Possible Values before defaults, rather than after, for a more consistent look</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/clap-rs/clap/commit/c4105bd90c314ac21dd9e008de8b88ab0175fdf7"><code>c4105bd</code></a> chore: Release</li> <li><a href="https://github.com/clap-rs/clap/commit/a029b20be631aab1d3a963872df2158b97f61427"><code>a029b20</code></a> docs: Update changelog</li> <li><a href="https://github.com/clap-rs/clap/commit/cf15d48b59cf39cafc3e3797dec293edaf9cf533"><code>cf15d48</code></a> Merge pull request <a href="https://redirect.github.com/clap-rs/clap/issues/5893">#5893</a> from 8LWXpg/patch-2</li> <li><a href="https://github.com/clap-rs/clap/commit/7e54542de972c4af98d3035377dcde83c5a5734e"><code>7e54542</code></a> Merge pull request <a href="https://redirect.github.com/clap-rs/clap/issues/5892">#5892</a> from 8LWXpg/patch-1</li> <li><a href="https://github.com/clap-rs/clap/commit/6ffc88f8c97be82e71d5d6101c98e1042708ab69"><code>6ffc88f</code></a> fix(complete): Check if help string is empty</li> <li><a href="https://github.com/clap-rs/clap/commit/7d8470ed9cf1d5503482938cea62f8f363579f12"><code>7d8470e</code></a> fix(complete): Fix single quote escaping in PowerShell</li> <li><a href="https://github.com/clap-rs/clap/commit/eadcc8f66c128272ea309fed3d53d45b9c700b6f"><code>eadcc8f</code></a> chore: Release</li> <li><a href="https://github.com/clap-rs/clap/commit/7ce0f7bea34011ca888a762bdd95d2371006c97a"><code>7ce0f7b</code></a> docs: Update changelog</li> <li><a href="https://github.com/clap-rs/clap/commit/fea7c5487bb602a9b7151c40069afc6f34bda442"><code>fea7c54</code></a> Merge pull request <a href="https://redirect.github.com/clap-rs/clap/issues/5888">#5888</a> from epage/tut</li> <li><a href="https://github.com/clap-rs/clap/commit/c297ddd56e2601d9d1b0a0ba13a9086e8f3ac43c"><code>c297ddd</code></a> docs(tutorial): Experiment with a flat layout</li> <li>Additional commits viewable in <a href="https://github.com/clap-rs/clap/compare/clap_complete-v4.5.42...clap_complete-v4.5.43">compare view</a></li> </ul> </details> <br /> Updates `cc` from 1.2.31 to 1.2.32 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md">cc's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/rust-lang/cc-rs/compare/cc-v1.2.31...cc-v1.2.32">1.2.32</a> - 2025-08-08</h2> <h3>Fixed</h3> <ul> <li>fix new clippy lint introduced in rust 1.89.0 (<a href="https://redirect.github.com/rust-lang/cc-rs/pull/1509">#1509</a>)</li> </ul> <h3>Other</h3> <ul> <li>clarify cargo default if no rerun emitted (<a href="https://redirect.github.com/rust-lang/cc-rs/pull/1508">#1508</a>)</li> <li>extract compile_objects_sequential (<a href="https://redirect.github.com/rust-lang/cc-rs/pull/1507">#1507</a>)</li> <li>Windows <code>find_tools</code>: add support for finding Clang (<a href="https://redirect.github.com/rust-lang/cc-rs/pull/1506">#1506</a>)</li> <li>Add m68k-unknown-linux-gnu cross-compile target (<a href="https://redirect.github.com/rust-lang/cc-rs/pull/1505">#1505</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rust-lang/cc-rs/commit/94a7cc349e379bbcddaaadecd1b433b929ecb347"><code>94a7cc3</code></a> chore: release v1.2.32 (<a href="https://redirect.github.com/rust-lang/cc-rs/issues/1510">#1510</a>)</li> <li><a href="https://github.com/rust-lang/cc-rs/commit/33b616dcf7b7f26d25e51814d1034ad90c823818"><code>33b616d</code></a> doc: clarify cargo default if no rerun emitted (<a href="https://redirect.github.com/rust-lang/cc-rs/issues/1508">#1508</a>)</li> <li><a href="https://github.com/rust-lang/cc-rs/commit/3046b0af8d295c6393fc48047ed6832659c93783"><code>3046b0a</code></a> fix new clippy lint introduced in rust 1.89.0 (<a href="https://redirect.github.com/rust-lang/cc-rs/issues/1509">#1509</a>)</li> <li><a href="https://github.com/rust-lang/cc-rs/commit/b8959a21adb36f50ab20972d50ec709a1167a596"><code>b8959a2</code></a> Refactor: extract compile_objects_sequential (<a href="https://redirect.github.com/rust-lang/cc-rs/issues/1507">#1507</a>)</li> <li><a href="https://github.com/rust-lang/cc-rs/commit/3f62db136f8c14126da3b24c0b2ff493e47747a9"><code>3f62db1</code></a> Windows <code>find_tools</code>: add support for finding Clang (<a href="https://redirect.github.com/rust-lang/cc-rs/issues/1506">#1506</a>)</li> <li><a href="https://github.com/rust-lang/cc-rs/commit/5e210bd8fb3714c57f3f5abd347f195c22fc8955"><code>5e210bd</code></a> Add m68k-unknown-linux-gnu cross-compile target (<a href="https://redirect.github.com/rust-lang/cc-rs/issues/1505">#1505</a>)</li> <li>See full diff in <a href="https://github.com/rust-lang/cc-rs/compare/cc-v1.2.31...cc-v1.2.32">compare view</a></li> </ul> </details> <br /> Updates `conan2` from 0.1.7 to 0.1.8 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ravenexp/conan2-rs/blob/main/CHANGELOG.md">conan2's changelog</a>.</em></p> <blockquote> <h2>[0.1.8] - 2025-08-08</h2> <h3>🐛 Bug Fixes</h3> <ul> <li>Solve issue <a href="https://redirect.github.com/ravenexp/conan2-rs/issues/26">#26</a> by collecting all library search paths in BTreeMap</li> </ul> <h3>⚙️ Miscellaneous Tasks</h3> <ul> <li>Update git-cliff config file for v2.10</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ravenexp/conan2-rs/commit/c6387ec692c717e312af9ccffda45568c0c8ec63"><code>c6387ec</code></a> chore(release): prepare for v0.1.8</li> <li><a href="https://github.com/ravenexp/conan2-rs/commit/137c6a2fe01cdde9d05a40eacad2d03d61c10609"><code>137c6a2</code></a> chore: Update git-cliff config file for v2.10</li> <li><a href="https://github.com/ravenexp/conan2-rs/commit/01601d95408b3424b6d34c766a7cb19884224cf6"><code>01601d9</code></a> fix: solve issue <a href="https://redirect.github.com/ravenexp/conan2-rs/issues/26">#26</a> by collecting all library search paths in BTreeMap</li> <li>See full diff in <a href="https://github.com/ravenexp/conan2-rs/compare/v0.1.7...v0.1.8">compare view</a></li> </ul> </details> <br /> 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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/download-artifact/releases">actions/download-artifact's releases</a>.</em></p> <blockquote> <h2>v5.0.0</h2> <h2>What's Changed</h2> <ul> <li>Update README.md by <a href="https://github.com/nebuk89"><code>@nebuk89</code></a> in <a href="https://redirect.github.com/actions/download-artifact/pull/407">actions/download-artifact#407</a></li> <li>BREAKING fix: inconsistent path behavior for single artifact downloads by ID by <a href="https://github.com/GrantBirki"><code>@GrantBirki</code></a> in <a href="https://redirect.github.com/actions/download-artifact/pull/416">actions/download-artifact#416</a></li> </ul> <h2>v5.0.0</h2> <h3>🚨 Breaking Change</h3> <p>This release fixes an inconsistency in path behavior for single artifact downloads by ID. <strong>If you're downloading single artifacts by ID, the output path may change.</strong></p> <h4>What Changed</h4> <p>Previously, <strong>single artifact downloads</strong> behaved differently depending on how you specified the artifact:</p> <ul> <li><strong>By name</strong>: <code>name: my-artifact</code> → extracted to <code>path/</code> (direct)</li> <li><strong>By ID</strong>: <code>artifact-ids: 12345</code> → extracted to <code>path/my-artifact/</code> (nested)</li> </ul> <p>Now both methods are consistent:</p> <ul> <li><strong>By name</strong>: <code>name: my-artifact</code> → extracted to <code>path/</code> (unchanged)</li> <li><strong>By ID</strong>: <code>artifact-ids: 12345</code> → extracted to <code>path/</code> (fixed - now direct)</li> </ul> <h4>Migration Guide</h4> <h5>✅ No Action Needed If:</h5> <ul> <li>You download artifacts by <strong>name</strong></li> <li>You download <strong>multiple</strong> artifacts by ID</li> <li>You already use <code>merge-multiple: true</code> as a workaround</li> </ul> <h5>⚠️ Action Required If:</h5> <p>You download <strong>single artifacts by ID</strong> and your workflows expect the nested directory structure.</p> <p><strong>Before v5 (nested structure):</strong></p> <pre lang="yaml"><code>- uses: actions/download-artifact@v4 with: artifact-ids: 12345 path: dist # Files were in: dist/my-artifact/ </code></pre> <blockquote> <p>Where <code>my-artifact</code> is the name of the artifact you previously uploaded</p> </blockquote> <p><strong>To maintain old behavior (if needed):</strong></p> <pre lang="yaml"><code></tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/download-artifact/commit/634f93cb2916e3fdff6788551b99b062d0335ce0"><code>634f93c</code></a> Merge pull request <a href="https://redirect.github.com/actions/download-artifact/issues/416">#416</a> from actions/single-artifact-id-download-path</li> <li><a href="https://github.com/actions/download-artifact/commit/b19ff4302770b82aa4694b63703b547756dacce6"><code>b19ff43</code></a> refactor: resolve download path correctly in artifact download tests (mainly ...</li> <li><a href="https://github.com/actions/download-artifact/commit/e262cbee4ab8c473c61c59a81ad8e9dc760e90db"><code>e262cbe</code></a> bundle dist</li> <li><a href="https://github.com/actions/download-artifact/commit/bff23f9308ceb2f06d673043ea6311519be6a87b"><code>bff23f9</code></a> update docs</li> <li><a href="https://github.com/actions/download-artifact/commit/fff8c148a8fdd56aa81fcb019f0b5f6c65700c4d"><code>fff8c14</code></a> fix download path logic when downloading a single artifact by id</li> <li><a href="https://github.com/actions/download-artifact/commit/448e3f862ab3ef47aa50ff917776823c9946035b"><code>448e3f8</code></a> Merge pull request <a href="https://redirect.github.com/actions/download-artifact/issues/407">#407</a> from actions/nebuk89-patch-1</li> <li><a href="https://github.com/actions/download-artifact/commit/47225c44b359a5155efdbbbc352041b3e249fb1b"><code>47225c4</code></a> Update README.md</li> <li>See full diff in <a href="https://github.com/actions/download-artifact/compare/v4...v5">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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Replaces the machinery to call per-language instructions in the just recipes with simpler definitions. The main benefit is that now we can pass parameters to the internal commands, e.g. ```bash # Run rust tests matching the name just test-rust my_test --no-fail-fast # Run python tests matching the name just test-python -k some_other_test -vv ```
Bumps [slab](https://github.com/tokio-rs/slab) from 0.4.10 to 0.4.11. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tokio-rs/slab/releases">slab's releases</a>.</em></p> <blockquote> <h2>v0.4.11</h2> <ul> <li>Fix <code>Slab::get_disjoint_mut</code> out of bounds (<a href="https://redirect.github.com/tokio-rs/slab/issues/152">#152</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/tokio-rs/slab/blob/master/CHANGELOG.md">slab's changelog</a>.</em></p> <blockquote> <h1>0.4.11 (August 8, 2025)</h1> <ul> <li>Fix <code>Slab::get_disjoint_mut</code> out of bounds (<a href="https://redirect.github.com/tokio-rs/slab/issues/152">#152</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tokio-rs/slab/commit/2e5779f8eb318827c78cad38007445a93ec04503"><code>2e5779f</code></a> Release v0.4.11 (<a href="https://redirect.github.com/tokio-rs/slab/issues/153">#153</a>)</li> <li><a href="https://github.com/tokio-rs/slab/commit/2d65c514bc964b192bab212ddf3c1fcea4ae96b8"><code>2d65c51</code></a> Fix get_disjoint_mut error condition (<a href="https://redirect.github.com/tokio-rs/slab/issues/152">#152</a>)</li> <li>See full diff in <a href="https://github.com/tokio-rs/slab/compare/v0.4.10...v0.4.11">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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/CQCL/tket2/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Historical trivia: the WASM extension was broken when we updated hugr to 0.21, but there was no test to show it! Now there is 🙂
- Moves the pytket parameter parser logic into a `param` submodule - Moves `LoadedParam` definition to its own submodule
Passes the set of type translators when translating a type, so e.g. `Future<T>` can translate `T` recursively. BREAKING CHANGE: Added a `TypeTranslatorSet` to the `PytketTypeTranslator::type_to_pytket` trait method.
Defines a `WireTracker` struct for the pytket decoder framework. It keeps track of wires that have been added to the HUGR being created along with which qubit/bit/parameter elements each of them carries (wires may carry multiple, see `PytketTypeTranslator` in `::serialize::pytket::extensions`. The tracker lets us associate new wires with registers/parameters, and updates previous references so they know they don't have the latest pytket register value. In the future we'll expand this tracker to let us do automatic type translations (e.g. unpacking a tuple), as defined by the extension decoders. Also adds a new `Tk1DecodeError` that will be used by the decoder framework. Depends on #1035
- Adds a `PytketDecoder` trait that let us extend the decoding framework to external extensions. - Translations are no longer 1-to-1 between pytket commands and hugr ops, the decoding call has access to a hugr builder and its context. - Allows tracking wires with complex/composite types. We don't provide helpers to convert types yet, it's up to the extension emitter to look at the incoming wire types. (Note: I splitted this change to a previous PR, #1036) TODO: - [x] Implement the decoder trait for all standard extensions. - [x] Fix remaining test errors. - [ ] Add a nicer guide for writing extension traits in the module docs. BREAKING CHANGE: Split pytket encoder/decoder errors into separate structs.
Implements encoder/decoders for the `tket.qsystem` and `tket.futures` extensions. Currently I'm only translating `PhasedX`, `ZZPhase` and `ZZMax` from pytket, as those are the operations that can be represented directly with `QSystemOp`s. Should we include more?
…1044) Bumps the minor group with 1 update: [rayon](https://github.com/rayon-rs/rayon). Updates `rayon` from 1.10.0 to 1.11.0 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rayon-rs/rayon/blob/main/RELEASES.md">rayon's changelog</a>.</em></p> <blockquote> <h1>Release rayon 1.11.0 / rayon-core 1.13.0 (2025-08-12)</h1> <ul> <li>The minimum supported <code>rustc</code> is now 1.80.</li> <li><code>iter::repeatn</code> has been renamed to <code>iter::repeat_n</code> to match the name stabilized in the standard library. The old name still exists as a deprecated function for compatibility.</li> <li>Fixed a bug in <code>in_place_scope</code> when the default global registry uses the current thread, like on WebAssembly without threading support.</li> <li><code>binary_heap::Iter</code> no longer requires a temporary allocation.</li> <li>Relaxed trait bounds on many of the public structs.</li> <li>Implemented <code>IntoParallelIterator for Box<[T]></code> and its references.</li> <li>Implemented <code>FromParallelIterator<_> for Box<str></code> via <code>String</code>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rayon-rs/rayon/commit/6236214d717694917e77aa1c16d91176b9bc2fff"><code>6236214</code></a> Merge <a href="https://redirect.github.com/rayon-rs/rayon/issues/1031">#1031</a></li> <li><a href="https://github.com/rayon-rs/rayon/commit/652f11176a44205adfa6d27fb1260c8ed20aafce"><code>652f111</code></a> Release rayon 1.7.0 and rayon-core 1.11.0</li> <li><a href="https://github.com/rayon-rs/rayon/commit/7df001da1b0b3fa0fd02a5891496224f4a4f77a5"><code>7df001d</code></a> Tweak plumbing consumer description</li> <li><a href="https://github.com/rayon-rs/rayon/commit/322dfe87e4af12790ded93e1f63ca490f2a407b1"><code>322dfe8</code></a> Merge <a href="https://redirect.github.com/rayon-rs/rayon/issues/1026">#1026</a></li> <li><a href="https://github.com/rayon-rs/rayon/commit/099241d410abdcb08046341488ada0bd1a3e0648"><code>099241d</code></a> Merge <a href="https://redirect.github.com/rayon-rs/rayon/issues/1030">#1030</a></li> <li><a href="https://github.com/rayon-rs/rayon/commit/a17bcb90aa076e1c107937f8379f96cd18425b6b"><code>a17bcb9</code></a> Fix inappropriate use of slice::as_mut_ptr</li> <li><a href="https://github.com/rayon-rs/rayon/commit/98077fe07c821c7327f7b516b0f450901c47c92d"><code>98077fe</code></a> Be more cautious about drain drops</li> <li><a href="https://github.com/rayon-rs/rayon/commit/706969515c80868eec1d821bd2258d156aecb0e7"><code>7069695</code></a> Merge <a href="https://redirect.github.com/rayon-rs/rayon/issues/1028">#1028</a></li> <li><a href="https://github.com/rayon-rs/rayon/commit/874ff731251adb42fbe7d7921def11998017fd93"><code>874ff73</code></a> Fix docs for the yield <code>None</code> case on <code>ThreadPool</code></li> <li><a href="https://github.com/rayon-rs/rayon/commit/58f7b7ec9d0fb68036fbd2fd15c454b362a36d2c"><code>58f7b7e</code></a> Be careful comparing <code>job_ref.execute_fn</code></li> <li>Additional commits viewable in <a href="https://github.com/rayon-rs/rayon/compare/rayon-core-v1.10.0...rayon-core-v1.11.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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Depends on #1039 - Adds an optional config parameter to all the `load_tk1` / `save_tk1` utilities, so we don't use the default by mistake. - Uses the new qsystem encoder/decoders in `tket-py`, so now we can load `ZZMax`/`ZZPhase`/`PhasedX` BREAKING CHANGE: Added encode/decode config arguments to pytket load/store utilities This is not a breaking change for the python lib, so I'll override the flag for release-please: BEGIN_COMMIT_OVERRIDE feat: Support qsystem native operations when loading pytket circuits END_COMMIT_OVERRIDE
BREAKING CHANGE: re-exported hugr version updated to 0.23
Expands support for defining which qubit and bit ids get used for the outputs when encoding and decoding pytket operations. On the decoder side, splits the `qubits: &[TrackedQubit]` and `bits: &[TrackedBit]` parameters of the wiring-up operation into `input_` and `output_` lists, so both can be set explicitly. On the encoder site, since the behaviour is a bit more complex (the input ids are not immediately known without some extra computation) we add a `EmitCommandOptions` struct with functions that mark which ids to reuse, and methods to easily set commonly used options. Blocked by - #1120 - #1121 - (Requires Hugr `0.22.4` / `0.23` release) - #1123 - #1122 Closes #1124 BREAKING CHANGE: `PytketEncoderContext::emit_node` and `PytketDecoderContext::add_node_with_wires` now explicitly control the output bit/qubit ids.
Adds an "in encoding stack" state to the function encoding cache, to detect recursive function calls while encoding and produce opaque barriers instead of trying to recurse infinitely. drive by: Handle untracked input wires when encoding unsupported nodes. This is required for incoming non-local wires (like function references).
The qsystem lowering in #865 introduced a load of lazy type unpacking logic that may be generally useful elsewhere. This PR pulls out the recursive, cached: - Analysis of what row a container type like array of tuple will be unpacked to when extracting elements of a given type (`type_unpack.rs`) - Building of the unpack and re-pack functions (`unpack_container.rs`) It also extracts the map from temporary extension op to function definition, as this trick may also be generally useful for deferred lowering/linking (`op_function_map.rs`) Both caches use RefCells for interior mutability, though in the map case it is not strictly a cache - the map is a necessary output of the logic.
Copy the selene-hugr-qis-compiler from the [0.2.6 tagged commit](https://github.com/CQCL/selene/tree/selene-hugr-qis-compiler-v0.2.6/selene-compilers/hugr_qis) - Add to uv and cargo workspaces - Bump uv versions in CI to 0.8.22 (needed some new features) - python checks check both tket-py and qis-compiler but the tests are separate - Keep python test dependencies to the package specific dev group to avoid conflicts when testing separate packages. guppylang is a dev dependency but depends on the qis-compiler, so uv would try to build it when testing tket-py without this separation - Pull request checks only run on linux, other platform wheel builds are left for main as with tket-py - macos-13 wheel building is turned off since that is going away anyway and is very slow due to runner availability. [Successful wheel build](ttps://github.com/CQCL/tket2/actions/runs/18217318181) - Trusted publishing has been turned on pypi - Once this merges I believe(?) tagging the commit as `selene-hugr-qis-compiler-v0.2.6` will be enough to get release-please to start working
The `__init__.py` is not in a default location, so we must add it explicitly here for `release-please` to detect the `x-release-please-version` annotation and update the package's `__version__` constant
) The code for badger currently mixes the "rewriting logic" (what rewrites can be applied and should be considered) with the "optimisation logic" (how do I explore the possible rewrites to find a cost-minimising circuit. This PR refactors the optimisation logic out, as a result: - the optimiser can be reused in the future in other contexts - the code for badger is a lot more readable and maintainable (this is the part that I intend to modify further nex) Note that this does not touch any of the multi-threaded versions of badger. Those are harder to refactor in the same way.
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/download-artifact/releases">actions/download-artifact's releases</a>.</em></p> <blockquote> <h2>v5.0.0</h2> <h2>What's Changed</h2> <ul> <li>Update README.md by <a href="https://github.com/nebuk89"><code>@nebuk89</code></a> in <a href="https://redirect.github.com/actions/download-artifact/pull/407">actions/download-artifact#407</a></li> <li>BREAKING fix: inconsistent path behavior for single artifact downloads by ID by <a href="https://github.com/GrantBirki"><code>@GrantBirki</code></a> in <a href="https://redirect.github.com/actions/download-artifact/pull/416">actions/download-artifact#416</a></li> </ul> <h2>v5.0.0</h2> <h3>🚨 Breaking Change</h3> <p>This release fixes an inconsistency in path behavior for single artifact downloads by ID. <strong>If you're downloading single artifacts by ID, the output path may change.</strong></p> <h4>What Changed</h4> <p>Previously, <strong>single artifact downloads</strong> behaved differently depending on how you specified the artifact:</p> <ul> <li><strong>By name</strong>: <code>name: my-artifact</code> → extracted to <code>path/</code> (direct)</li> <li><strong>By ID</strong>: <code>artifact-ids: 12345</code> → extracted to <code>path/my-artifact/</code> (nested)</li> </ul> <p>Now both methods are consistent:</p> <ul> <li><strong>By name</strong>: <code>name: my-artifact</code> → extracted to <code>path/</code> (unchanged)</li> <li><strong>By ID</strong>: <code>artifact-ids: 12345</code> → extracted to <code>path/</code> (fixed - now direct)</li> </ul> <h4>Migration Guide</h4> <h5>✅ No Action Needed If:</h5> <ul> <li>You download artifacts by <strong>name</strong></li> <li>You download <strong>multiple</strong> artifacts by ID</li> <li>You already use <code>merge-multiple: true</code> as a workaround</li> </ul> <h5>⚠️ Action Required If:</h5> <p>You download <strong>single artifacts by ID</strong> and your workflows expect the nested directory structure.</p> <p><strong>Before v5 (nested structure):</strong></p> <pre lang="yaml"><code>- uses: actions/download-artifact@v4 with: artifact-ids: 12345 path: dist # Files were in: dist/my-artifact/ </code></pre> <blockquote> <p>Where <code>my-artifact</code> is the name of the artifact you previously uploaded</p> </blockquote> <p><strong>To maintain old behavior (if needed):</strong></p> <pre lang="yaml"><code></tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/download-artifact/commit/634f93cb2916e3fdff6788551b99b062d0335ce0"><code>634f93c</code></a> Merge pull request <a href="https://redirect.github.com/actions/download-artifact/issues/416">#416</a> from actions/single-artifact-id-download-path</li> <li><a href="https://github.com/actions/download-artifact/commit/b19ff4302770b82aa4694b63703b547756dacce6"><code>b19ff43</code></a> refactor: resolve download path correctly in artifact download tests (mainly ...</li> <li><a href="https://github.com/actions/download-artifact/commit/e262cbee4ab8c473c61c59a81ad8e9dc760e90db"><code>e262cbe</code></a> bundle dist</li> <li><a href="https://github.com/actions/download-artifact/commit/bff23f9308ceb2f06d673043ea6311519be6a87b"><code>bff23f9</code></a> update docs</li> <li><a href="https://github.com/actions/download-artifact/commit/fff8c148a8fdd56aa81fcb019f0b5f6c65700c4d"><code>fff8c14</code></a> fix download path logic when downloading a single artifact by id</li> <li><a href="https://github.com/actions/download-artifact/commit/448e3f862ab3ef47aa50ff917776823c9946035b"><code>448e3f8</code></a> Merge pull request <a href="https://redirect.github.com/actions/download-artifact/issues/407">#407</a> from actions/nebuk89-patch-1</li> <li><a href="https://github.com/actions/download-artifact/commit/47225c44b359a5155efdbbbc352041b3e249fb1b"><code>47225c4</code></a> Update README.md</li> <li>See full diff in <a href="https://github.com/actions/download-artifact/compare/v4...v5">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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
When encoding a hugr into a pytket circuit, we use a toposort over the given region to process nodes. This skips over non-local edges, and caused the encoding to fail due to the input wires not being registered. This PR adds a check before processing each node that looks at any incoming non-local edge and - If it is a module-level definition of a float/rotation parameter, loads it. - If it is a module-level function definition/declaration, we know function-typed wires don't carry pytket values so we mark them as such. - Anything else (e.g. a non-local edge from a parent DF region) causes the node itself to be marked as unsupported.
Bumps the patch group with 3 updates: [pest](https://github.com/pest-parser/pest), [pest_derive](https://github.com/pest-parser/pest) and [cc](https://github.com/rust-lang/cc-rs). Updates `pest` from 2.8.2 to 2.8.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pest-parser/pest/releases">pest's releases</a>.</em></p> <blockquote> <h2>v2.8.3</h2> <h2>What's Changed</h2> <ul> <li>deps: drop <code>thiserror</code> for a manual impl by <a href="https://github.com/CosmicHorrorDev"><code>@CosmicHorrorDev</code></a> in <a href="https://redirect.github.com/pest-parser/pest/pull/1120">pest-parser/pest#1120</a></li> <li>feat: impl Error from core by <a href="https://github.com/CosmicHorrorDev"><code>@CosmicHorrorDev</code></a> in <a href="https://redirect.github.com/pest-parser/pest/pull/1121">pest-parser/pest#1121</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pest-parser/pest/compare/v2.8.2...v2.8.3">https://github.com/pest-parser/pest/compare/v2.8.2...v2.8.3</a></p> <h2>Warning: Semantic Versioning</h2> <p>Note that the node tag feature in 2.6.0 was a technically semver-breaking change even though it is a backwards-compatible / non-breaking change in the meta-grammar. There may be similar non-breaking changes to the meta-grammar between minor versions in the future. These non-breaking changes, however, may translate into semver-breaking changes due to the additional variants propagated from the generated <code>Rule</code> enum.</p> <p>This new feature caused issues in some Cargo version resolution situations where Cargo mixed different versions of pest dependencies. For this reason, these "grammar non-breaking but semver-breaking" changes are now available only under the "grammar-extras" feature flag. If you would like to use node tags (or other future grammar features), you can do so by enabling this flag on the pest_derive crate in your Cargo.toml:</p> <pre><code>... pest_derive = { version = "2.8", features = ["grammar-extras"] } </code></pre> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pest-parser/pest/commit/d2dd16c5bf361eaaf36b4f7b9657ee48252883f3"><code>d2dd16c</code></a> ci: setup trusted publishing (<a href="https://redirect.github.com/pest-parser/pest/issues/1124">#1124</a>)</li> <li><a href="https://github.com/pest-parser/pest/commit/e1061fe3e874999df379d75d4d16eb978dfcfc6e"><code>e1061fe</code></a> feat: impl Error from core (<a href="https://redirect.github.com/pest-parser/pest/issues/1121">#1121</a>)</li> <li><a href="https://github.com/pest-parser/pest/commit/a2889a04c6e24d10dfd098920b3d3623e56b68ca"><code>a2889a0</code></a> deps: drop <code>thiserror</code> for a manual impl (<a href="https://redirect.github.com/pest-parser/pest/issues/1120">#1120</a>)</li> <li>See full diff in <a href="https://github.com/pest-parser/pest/compare/v2.8.2...v2.8.3">compare view</a></li> </ul> </details> <br /> Updates `pest_derive` from 2.8.2 to 2.8.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pest-parser/pest/releases">pest_derive's releases</a>.</em></p> <blockquote> <h2>v2.8.3</h2> <h2>What's Changed</h2> <ul> <li>deps: drop <code>thiserror</code> for a manual impl by <a href="https://github.com/CosmicHorrorDev"><code>@CosmicHorrorDev</code></a> in <a href="https://redirect.github.com/pest-parser/pest/pull/1120">pest-parser/pest#1120</a></li> <li>feat: impl Error from core by <a href="https://github.com/CosmicHorrorDev"><code>@CosmicHorrorDev</code></a> in <a href="https://redirect.github.com/pest-parser/pest/pull/1121">pest-parser/pest#1121</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pest-parser/pest/compare/v2.8.2...v2.8.3">https://github.com/pest-parser/pest/compare/v2.8.2...v2.8.3</a></p> <h2>Warning: Semantic Versioning</h2> <p>Note that the node tag feature in 2.6.0 was a technically semver-breaking change even though it is a backwards-compatible / non-breaking change in the meta-grammar. There may be similar non-breaking changes to the meta-grammar between minor versions in the future. These non-breaking changes, however, may translate into semver-breaking changes due to the additional variants propagated from the generated <code>Rule</code> enum.</p> <p>This new feature caused issues in some Cargo version resolution situations where Cargo mixed different versions of pest dependencies. For this reason, these "grammar non-breaking but semver-breaking" changes are now available only under the "grammar-extras" feature flag. If you would like to use node tags (or other future grammar features), you can do so by enabling this flag on the pest_derive crate in your Cargo.toml:</p> <pre><code>... pest_derive = { version = "2.8", features = ["grammar-extras"] } </code></pre> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pest-parser/pest/commit/d2dd16c5bf361eaaf36b4f7b9657ee48252883f3"><code>d2dd16c</code></a> ci: setup trusted publishing (<a href="https://redirect.github.com/pest-parser/pest/issues/1124">#1124</a>)</li> <li><a href="https://github.com/pest-parser/pest/commit/e1061fe3e874999df379d75d4d16eb978dfcfc6e"><code>e1061fe</code></a> feat: impl Error from core (<a href="https://redirect.github.com/pest-parser/pest/issues/1121">#1121</a>)</li> <li><a href="https://github.com/pest-parser/pest/commit/a2889a04c6e24d10dfd098920b3d3623e56b68ca"><code>a2889a0</code></a> deps: drop <code>thiserror</code> for a manual impl (<a href="https://redirect.github.com/pest-parser/pest/issues/1120">#1120</a>)</li> <li>See full diff in <a href="https://github.com/pest-parser/pest/compare/v2.8.2...v2.8.3">compare view</a></li> </ul> </details> <br /> Updates `cc` from 1.2.39 to 1.2.40 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rust-lang/cc-rs/releases">cc's releases</a>.</em></p> <blockquote> <h2>cc-v1.2.40</h2> <h3>Other</h3> <ul> <li>Reorder changelog and remove duplicate Unreleased section (<a href="https://redirect.github.com/rust-lang/cc-rs/pull/1579">#1579</a>)</li> <li>Prefer clang if linker-plugin-lto specified (<a href="https://redirect.github.com/rust-lang/cc-rs/pull/1573">#1573</a>)</li> <li>Fix building for Mac Catalyst (<a href="https://redirect.github.com/rust-lang/cc-rs/pull/1577">#1577</a>)</li> <li>Improve ESP microcontroller targets (<a href="https://redirect.github.com/rust-lang/cc-rs/pull/1574">#1574</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-lang/cc-rs/blob/main/CHANGELOG.md">cc's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/rust-lang/cc-rs/compare/cc-v1.2.39...cc-v1.2.40">1.2.40</a> - 2025-10-03</h2> <h3>Other</h3> <ul> <li>Reorder changelog and remove duplicate Unreleased section (<a href="https://redirect.github.com/rust-lang/cc-rs/pull/1579">#1579</a>)</li> <li>Prefer clang if linker-plugin-lto specified (<a href="https://redirect.github.com/rust-lang/cc-rs/pull/1573">#1573</a>)</li> <li>Fix building for Mac Catalyst (<a href="https://redirect.github.com/rust-lang/cc-rs/pull/1577">#1577</a>)</li> <li>Improve ESP microcontroller targets (<a href="https://redirect.github.com/rust-lang/cc-rs/pull/1574">#1574</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rust-lang/cc-rs/commit/1ca8b2af7a19faa4d090cc5deba3f7a0cd721174"><code>1ca8b2a</code></a> chore: release (<a href="https://redirect.github.com/rust-lang/cc-rs/issues/1583">#1583</a>)</li> <li><a href="https://github.com/rust-lang/cc-rs/commit/6fb2a8f27d10a991203d5a892fd8320056f7fe41"><code>6fb2a8f</code></a> Reorder changelog and remove duplicate Unreleased section (<a href="https://redirect.github.com/rust-lang/cc-rs/issues/1579">#1579</a>)</li> <li><a href="https://github.com/rust-lang/cc-rs/commit/bcc5a388c701113100995e12d849366820f3314e"><code>bcc5a38</code></a> Prefer clang if linker-plugin-lto specified (<a href="https://redirect.github.com/rust-lang/cc-rs/issues/1573">#1573</a>)</li> <li><a href="https://github.com/rust-lang/cc-rs/commit/89fb94c31c86b8b2ac31eaec65e68abd6d8fb843"><code>89fb94c</code></a> Fix building for Mac Catalyst (<a href="https://redirect.github.com/rust-lang/cc-rs/issues/1577">#1577</a>)</li> <li><a href="https://github.com/rust-lang/cc-rs/commit/7abc77c1102a967a00d12e62e09b421078dd01cd"><code>7abc77c</code></a> Improve ESP microcontroller targets (<a href="https://redirect.github.com/rust-lang/cc-rs/issues/1574">#1574</a>)</li> <li><a href="https://github.com/rust-lang/cc-rs/commit/5e84b3fcf807edcd4a682a918faa4d1e58245eab"><code>5e84b3f</code></a> Regenerate windows sys bindings (<a href="https://redirect.github.com/rust-lang/cc-rs/issues/1572">#1572</a>)</li> <li><a href="https://github.com/rust-lang/cc-rs/commit/a3168893d8dcd4c6f0cd44e36e9cc343d8cd3a2f"><code>a316889</code></a> Update windows-bindgen requirement from 0.63 to 0.64 (<a href="https://redirect.github.com/rust-lang/cc-rs/issues/1571">#1571</a>)</li> <li>See full diff in <a href="https://github.com/rust-lang/cc-rs/compare/cc-v1.2.39...cc-v1.2.40">compare view</a></li> </ul> </details> <br /> 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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/checkout/releases">actions/checkout's releases</a>.</em></p> <blockquote> <h2>v5.0.0</h2> <h2>What's Changed</h2> <ul> <li>Update actions checkout to use node 24 by <a href="https://github.com/salmanmkc"><code>@salmanmkc</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2226">actions/checkout#2226</a></li> <li>Prepare v5.0.0 release by <a href="https://github.com/salmanmkc"><code>@salmanmkc</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2238">actions/checkout#2238</a></li> </ul> <h2>⚠️ Minimum Compatible Runner Version</h2> <p><strong>v2.327.1</strong><br /> <a href="https://github.com/actions/runner/releases/tag/v2.327.1">Release Notes</a></p> <p>Make sure your runner is updated to this version or newer to use this release.</p> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/checkout/compare/v4...v5.0.0">https://github.com/actions/checkout/compare/v4...v5.0.0</a></p> <h2>v4.3.0</h2> <h2>What's Changed</h2> <ul> <li>docs: update README.md by <a href="https://github.com/motss"><code>@motss</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1971">actions/checkout#1971</a></li> <li>Add internal repos for checking out multiple repositories by <a href="https://github.com/mouismail"><code>@mouismail</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1977">actions/checkout#1977</a></li> <li>Documentation update - add recommended permissions to Readme by <a href="https://github.com/benwells"><code>@benwells</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2043">actions/checkout#2043</a></li> <li>Adjust positioning of user email note and permissions heading by <a href="https://github.com/joshmgross"><code>@joshmgross</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2044">actions/checkout#2044</a></li> <li>Update README.md by <a href="https://github.com/nebuk89"><code>@nebuk89</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2194">actions/checkout#2194</a></li> <li>Update CODEOWNERS for actions by <a href="https://github.com/TingluoHuang"><code>@TingluoHuang</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2224">actions/checkout#2224</a></li> <li>Update package dependencies by <a href="https://github.com/salmanmkc"><code>@salmanmkc</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2236">actions/checkout#2236</a></li> <li>Prepare release v4.3.0 by <a href="https://github.com/salmanmkc"><code>@salmanmkc</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2237">actions/checkout#2237</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/motss"><code>@motss</code></a> made their first contribution in <a href="https://redirect.github.com/actions/checkout/pull/1971">actions/checkout#1971</a></li> <li><a href="https://github.com/mouismail"><code>@mouismail</code></a> made their first contribution in <a href="https://redirect.github.com/actions/checkout/pull/1977">actions/checkout#1977</a></li> <li><a href="https://github.com/benwells"><code>@benwells</code></a> made their first contribution in <a href="https://redirect.github.com/actions/checkout/pull/2043">actions/checkout#2043</a></li> <li><a href="https://github.com/nebuk89"><code>@nebuk89</code></a> made their first contribution in <a href="https://redirect.github.com/actions/checkout/pull/2194">actions/checkout#2194</a></li> <li><a href="https://github.com/salmanmkc"><code>@salmanmkc</code></a> made their first contribution in <a href="https://redirect.github.com/actions/checkout/pull/2236">actions/checkout#2236</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/checkout/compare/v4...v4.3.0">https://github.com/actions/checkout/compare/v4...v4.3.0</a></p> <h2>v4.2.2</h2> <h2>What's Changed</h2> <ul> <li><code>url-helper.ts</code> now leverages well-known environment variables by <a href="https://github.com/jww3"><code>@jww3</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1941">actions/checkout#1941</a></li> <li>Expand unit test coverage for <code>isGhes</code> by <a href="https://github.com/jww3"><code>@jww3</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1946">actions/checkout#1946</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/checkout/compare/v4.2.1...v4.2.2">https://github.com/actions/checkout/compare/v4.2.1...v4.2.2</a></p> <h2>v4.2.1</h2> <h2>What's Changed</h2> <ul> <li>Check out other refs/* by commit if provided, fall back to ref by <a href="https://github.com/orhantoy"><code>@orhantoy</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1924">actions/checkout#1924</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/Jcambass"><code>@Jcambass</code></a> made their first contribution in <a href="https://redirect.github.com/actions/checkout/pull/1919">actions/checkout#1919</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/checkout/compare/v4.2.0...v4.2.1">https://github.com/actions/checkout/compare/v4.2.0...v4.2.1</a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/actions/checkout/blob/main/CHANGELOG.md">actions/checkout's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <h2>V5.0.0</h2> <ul> <li>Update actions checkout to use node 24 by <a href="https://github.com/salmanmkc"><code>@salmanmkc</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2226">actions/checkout#2226</a></li> </ul> <h2>V4.3.0</h2> <ul> <li>docs: update README.md by <a href="https://github.com/motss"><code>@motss</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1971">actions/checkout#1971</a></li> <li>Add internal repos for checking out multiple repositories by <a href="https://github.com/mouismail"><code>@mouismail</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1977">actions/checkout#1977</a></li> <li>Documentation update - add recommended permissions to Readme by <a href="https://github.com/benwells"><code>@benwells</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2043">actions/checkout#2043</a></li> <li>Adjust positioning of user email note and permissions heading by <a href="https://github.com/joshmgross"><code>@joshmgross</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2044">actions/checkout#2044</a></li> <li>Update README.md by <a href="https://github.com/nebuk89"><code>@nebuk89</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2194">actions/checkout#2194</a></li> <li>Update CODEOWNERS for actions by <a href="https://github.com/TingluoHuang"><code>@TingluoHuang</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2224">actions/checkout#2224</a></li> <li>Update package dependencies by <a href="https://github.com/salmanmkc"><code>@salmanmkc</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/2236">actions/checkout#2236</a></li> </ul> <h2>v4.2.2</h2> <ul> <li><code>url-helper.ts</code> now leverages well-known environment variables by <a href="https://github.com/jww3"><code>@jww3</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1941">actions/checkout#1941</a></li> <li>Expand unit test coverage for <code>isGhes</code> by <a href="https://github.com/jww3"><code>@jww3</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1946">actions/checkout#1946</a></li> </ul> <h2>v4.2.1</h2> <ul> <li>Check out other refs/* by commit if provided, fall back to ref by <a href="https://github.com/orhantoy"><code>@orhantoy</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1924">actions/checkout#1924</a></li> </ul> <h2>v4.2.0</h2> <ul> <li>Add Ref and Commit outputs by <a href="https://github.com/lucacome"><code>@lucacome</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1180">actions/checkout#1180</a></li> <li>Dependency updates by <a href="https://github.com/dependabot"><code>@dependabot</code></a>- <a href="https://redirect.github.com/actions/checkout/pull/1777">actions/checkout#1777</a>, <a href="https://redirect.github.com/actions/checkout/pull/1872">actions/checkout#1872</a></li> </ul> <h2>v4.1.7</h2> <ul> <li>Bump the minor-npm-dependencies group across 1 directory with 4 updates by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1739">actions/checkout#1739</a></li> <li>Bump actions/checkout from 3 to 4 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1697">actions/checkout#1697</a></li> <li>Check out other refs/* by commit by <a href="https://github.com/orhantoy"><code>@orhantoy</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1774">actions/checkout#1774</a></li> <li>Pin actions/checkout's own workflows to a known, good, stable version. by <a href="https://github.com/jww3"><code>@jww3</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1776">actions/checkout#1776</a></li> </ul> <h2>v4.1.6</h2> <ul> <li>Check platform to set archive extension appropriately by <a href="https://github.com/cory-miller"><code>@cory-miller</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1732">actions/checkout#1732</a></li> </ul> <h2>v4.1.5</h2> <ul> <li>Update NPM dependencies by <a href="https://github.com/cory-miller"><code>@cory-miller</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1703">actions/checkout#1703</a></li> <li>Bump github/codeql-action from 2 to 3 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1694">actions/checkout#1694</a></li> <li>Bump actions/setup-node from 1 to 4 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1696">actions/checkout#1696</a></li> <li>Bump actions/upload-artifact from 2 to 4 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1695">actions/checkout#1695</a></li> <li>README: Suggest <code>user.email</code> to be <code>41898282+github-actions[bot]@users.noreply.github.com</code> by <a href="https://github.com/cory-miller"><code>@cory-miller</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1707">actions/checkout#1707</a></li> </ul> <h2>v4.1.4</h2> <ul> <li>Disable <code>extensions.worktreeConfig</code> when disabling <code>sparse-checkout</code> by <a href="https://github.com/jww3"><code>@jww3</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1692">actions/checkout#1692</a></li> <li>Add dependabot config by <a href="https://github.com/cory-miller"><code>@cory-miller</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1688">actions/checkout#1688</a></li> <li>Bump the minor-actions-dependencies group with 2 updates by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1693">actions/checkout#1693</a></li> <li>Bump word-wrap from 1.2.3 to 1.2.5 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/actions/checkout/pull/1643">actions/checkout#1643</a></li> </ul> <h2>v4.1.3</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/checkout/commit/08c6903cd8c0fde910a37f88322edcfb5dd907a8"><code>08c6903</code></a> Prepare v5.0.0 release (<a href="https://redirect.github.com/actions/checkout/issues/2238">#2238</a>)</li> <li><a href="https://github.com/actions/checkout/commit/9f265659d3bb64ab1440b03b12f4d47a24320917"><code>9f26565</code></a> Update actions checkout to use node 24 (<a href="https://redirect.github.com/actions/checkout/issues/2226">#2226</a>)</li> <li>See full diff in <a href="https://github.com/actions/checkout/compare/v4...v5">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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the minor group with 2 updates: [bytemuck](https://github.com/Lokathor/bytemuck) and [serde_with](https://github.com/jonasbb/serde_with). Updates `bytemuck` from 1.23.2 to 1.24.0 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Lokathor/bytemuck/blob/main/changelog.md">bytemuck's changelog</a>.</em></p> <blockquote> <h1><code>bytemuck</code> changelog</h1> <h2>1.24</h2> <ul> <li><a href="https://redirect.github.com/Lokathor/bytemuck/pull/322">use new stable avx512 types from rust 1.89</a></li> <li><a href="https://redirect.github.com/Lokathor/bytemuck/pull/317">impl AnyBitPattern for [MaybeUninit<T: AnyBitPattern>; N]</a></li> <li>bump <code>derive</code> minimum version.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Lokathor/bytemuck/commit/da748163ea203f80098b6bdc754c54ebc535364c"><code>da74816</code></a> chore: Release bytemuck version 1.24.0</li> <li><a href="https://github.com/Lokathor/bytemuck/commit/a22377977be65e3b8cef394a3522447782a976b8"><code>a223779</code></a> changelog</li> <li><a href="https://github.com/Lokathor/bytemuck/commit/f40b0e482b78307cb966b3203fb15e149a9f2f15"><code>f40b0e4</code></a> update dep version to latest.</li> <li><a href="https://github.com/Lokathor/bytemuck/commit/abbebe597e02ac0828bb987c73a3f037cd8d62b5"><code>abbebe5</code></a> chore: Release bytemuck_derive version 1.10.2</li> <li><a href="https://github.com/Lokathor/bytemuck/commit/6bda8ef26882e322165c1361d9e8fdf6ab00ed66"><code>6bda8ef</code></a> changelog.</li> <li><a href="https://github.com/Lokathor/bytemuck/commit/d31d92cc774c36b19c642cac6ee8a8c247e79842"><code>d31d92c</code></a> Extend <code>#[derive(TransparentWrapper)]</code> (<a href="https://redirect.github.com/Lokathor/bytemuck/issues/147">#147</a>)</li> <li><a href="https://github.com/Lokathor/bytemuck/commit/3e18072a9f51a5fe07d729fc06221dfa4e38e686"><code>3e18072</code></a> chore: Release contiguous_bitset version 0.1.2</li> <li><a href="https://github.com/Lokathor/bytemuck/commit/13f5e70e768b7ff2b15a1ed659520d3c35f9cf40"><code>13f5e70</code></a> Bitset debug (<a href="https://redirect.github.com/Lokathor/bytemuck/issues/324">#324</a>)</li> <li><a href="https://github.com/Lokathor/bytemuck/commit/1295a373429856418f27fef07988c9cc46804e5e"><code>1295a37</code></a> chore: Release contiguous_bitset version 0.1.1</li> <li><a href="https://github.com/Lokathor/bytemuck/commit/ca7d7808ce606e7a56b2d3937b9fa3b2db6e154f"><code>ca7d780</code></a> tell clippy to calm down.</li> <li>Additional commits viewable in <a href="https://github.com/Lokathor/bytemuck/compare/v1.23.2...v1.24.0">compare view</a></li> </ul> </details> <br /> Updates `serde_with` from 3.14.1 to 3.15.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jonasbb/serde_with/releases">serde_with's releases</a>.</em></p> <blockquote> <h2>serde_with v3.15.0</h2> <h3>Added</h3> <ul> <li> <p>Added error inspection to <code>VecSkipError</code> and <code>MapSkipError</code> by <a href="https://github.com/michelhe"><code>@michelhe</code></a> (<a href="https://redirect.github.com/jonasbb/serde_with/issues/878">#878</a>) This allows interacting with the previously hidden error, for example for logging. Checkout the newly added example to both types.</p> </li> <li> <p>Allow documenting the types generated by <code>serde_conv!</code>. The <code>serde_conv!</code> macro now acceps outer attributes before the optional visibility modifier. This allow adding doc comments in the shape of <code>#[doc = "..."]</code> or any other attributes, such as lint modifiers.</p> <pre lang="rust"><code>serde_conv!( #[doc = "Serialize bools as string"] #[allow(dead_code)] pub BoolAsString, bool, |x: &bool| ::std::string::ToString::to_string(x), |x: ::std::string::String| x.parse() ); </code></pre> </li> <li> <p>Add support for <code>hashbrown</code> v0.16 (<a href="https://redirect.github.com/jonasbb/serde_with/issues/877">#877</a>)</p> <p>This extends the existing support for <code>hashbrown</code> v0.14 and v0.15 to the newly released version.</p> </li> </ul> <h3>Changed</h3> <ul> <li>Bump MSRV to 1.76, since that is required for <code>toml</code> dev-dependency.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/jonasbb/serde_with/commit/ea38dce3a645abd507c39f9595c9f99574dcd024"><code>ea38dce</code></a> Bump version to 3.15.0 (<a href="https://redirect.github.com/jonasbb/serde_with/issues/892">#892</a>)</li> <li><a href="https://github.com/jonasbb/serde_with/commit/a3da8e643f0321661cd924af824a1db457ac060f"><code>a3da8e6</code></a> Bump version to 3.15.0</li> <li><a href="https://github.com/jonasbb/serde_with/commit/c36e692de36b319d181bf585ab78c424b47b127e"><code>c36e692</code></a> Bump dev-dependencies (<a href="https://redirect.github.com/jonasbb/serde_with/issues/891">#891</a>)</li> <li><a href="https://github.com/jonasbb/serde_with/commit/ae8466dd31fc0d8931cce37dae95efdab175304a"><code>ae8466d</code></a> Bump dev-dependencies</li> <li><a href="https://github.com/jonasbb/serde_with/commit/f7337ff7ec3ba7477130e28dba220e3343f8b3bf"><code>f7337ff</code></a> Support <code>serde_core</code> and remove dependencies on <code>serde_derive</code> (<a href="https://redirect.github.com/jonasbb/serde_with/issues/889">#889</a>)</li> <li><a href="https://github.com/jonasbb/serde_with/commit/c1d73b3c31837258d35d20612214725cb7388c85"><code>c1d73b3</code></a> Replace serde with serde_core in all files</li> <li><a href="https://github.com/jonasbb/serde_with/commit/320d292f23d1e90539596ddccd787b0dbadb58b8"><code>320d292</code></a> Remove dependency on serde_derive</li> <li><a href="https://github.com/jonasbb/serde_with/commit/dca6df80839da76d00820e5fa7f635a7692593f0"><code>dca6df8</code></a> Remove version-sync crate and reimplement needed functionality with regex and...</li> <li><a href="https://github.com/jonasbb/serde_with/commit/6c6e53f0b1efe7a46e8917443b6eb33ff8548ad0"><code>6c6e53f</code></a> Remove version-sync crate and reimplement needed functionality with regex and...</li> <li><a href="https://github.com/jonasbb/serde_with/commit/f64ea4035c87515e13ccf354ea6373a03cfb4966"><code>f64ea40</code></a> Add support for <code>hashbrown</code> v0.16 (<a href="https://redirect.github.com/jonasbb/serde_with/issues/888">#888</a>)</li> <li>Additional commits viewable in <a href="https://github.com/jonasbb/serde_with/compare/v3.14.1...v3.15.0">compare view</a></li> </ul> </details> <br /> 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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
[//]: # (dependabot-start)⚠️ **Dependabot is rebasing this PR**⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/setup-python/releases">actions/setup-python's releases</a>.</em></p> <blockquote> <h2>v6.0.0</h2> <h2>What's Changed</h2> <h3>Breaking Changes</h3> <ul> <li>Upgrade to node 24 by <a href="https://github.com/salmanmkc"><code>@salmanmkc</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/1164">actions/setup-python#1164</a></li> </ul> <p>Make sure your runner is on version v2.327.1 or later to ensure compatibility with this release. <a href="https://github.com/actions/runner/releases/tag/v2.327.1">See Release Notes</a></p> <h3>Enhancements:</h3> <ul> <li>Add support for <code>pip-version</code> by <a href="https://github.com/priyagupta108"><code>@priyagupta108</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/1129">actions/setup-python#1129</a></li> <li>Enhance reading from .python-version by <a href="https://github.com/krystof-k"><code>@krystof-k</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/787">actions/setup-python#787</a></li> <li>Add version parsing from Pipfile by <a href="https://github.com/aradkdj"><code>@aradkdj</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/1067">actions/setup-python#1067</a></li> </ul> <h3>Bug fixes:</h3> <ul> <li>Clarify pythonLocation behaviour for PyPy and GraalPy in environment variables by <a href="https://github.com/aparnajyothi-y"><code>@aparnajyothi-y</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/1183">actions/setup-python#1183</a></li> <li>Change missing cache directory error to warning by <a href="https://github.com/aparnajyothi-y"><code>@aparnajyothi-y</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/1182">actions/setup-python#1182</a></li> <li>Add Architecture-Specific PATH Management for Python with --user Flag on Windows by <a href="https://github.com/aparnajyothi-y"><code>@aparnajyothi-y</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/1122">actions/setup-python#1122</a></li> <li>Include python version in PyPy python-version output by <a href="https://github.com/cdce8p"><code>@cdce8p</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/1110">actions/setup-python#1110</a></li> <li>Update docs: clarification on pip authentication with setup-python by <a href="https://github.com/priya-kinthali"><code>@priya-kinthali</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/1156">actions/setup-python#1156</a></li> </ul> <h3>Dependency updates:</h3> <ul> <li>Upgrade idna from 2.9 to 3.7 in /<strong>tests</strong>/data by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/actions/setup-python/pull/843">actions/setup-python#843</a></li> <li>Upgrade form-data to fix critical vulnerabilities <a href="https://redirect.github.com/actions/setup-python/issues/182">#182</a> & <a href="https://redirect.github.com/actions/setup-python/issues/183">#183</a> by <a href="https://github.com/aparnajyothi-y"><code>@aparnajyothi-y</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/1163">actions/setup-python#1163</a></li> <li>Upgrade setuptools to 78.1.1 to fix path traversal vulnerability in PackageIndex.download by <a href="https://github.com/aparnajyothi-y"><code>@aparnajyothi-y</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/1165">actions/setup-python#1165</a></li> <li>Upgrade actions/checkout from 4 to 5 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/actions/setup-python/pull/1181">actions/setup-python#1181</a></li> <li>Upgrade <code>@actions/tool-cache</code> from 2.0.1 to 2.0.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/actions/setup-python/pull/1095">actions/setup-python#1095</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/krystof-k"><code>@krystof-k</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-python/pull/787">actions/setup-python#787</a></li> <li><a href="https://github.com/cdce8p"><code>@cdce8p</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-python/pull/1110">actions/setup-python#1110</a></li> <li><a href="https://github.com/aradkdj"><code>@aradkdj</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-python/pull/1067">actions/setup-python#1067</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/setup-python/compare/v5...v6.0.0">https://github.com/actions/setup-python/compare/v5...v6.0.0</a></p> <h2>v5.6.0</h2> <h2>What's Changed</h2> <ul> <li>Workflow updates related to Ubuntu 20.04 by <a href="https://github.com/aparnajyothi-y"><code>@aparnajyothi-y</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/1065">actions/setup-python#1065</a></li> <li>Fix for Candidate Not Iterable Error by <a href="https://github.com/aparnajyothi-y"><code>@aparnajyothi-y</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/1082">actions/setup-python#1082</a></li> <li>Upgrade semver and <code>@types/semver</code> by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/1091">actions/setup-python#1091</a></li> <li>Upgrade prettier from 2.8.8 to 3.5.3 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/1046">actions/setup-python#1046</a></li> <li>Upgrade ts-jest from 29.1.2 to 29.3.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/1081">actions/setup-python#1081</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/setup-python/compare/v5...v5.6.0">https://github.com/actions/setup-python/compare/v5...v5.6.0</a></p> <h2>v5.5.0</h2> <h2>What's Changed</h2> <h3>Enhancements:</h3> <ul> <li>Support free threaded Python versions like '3.13t' by <a href="https://github.com/colesbury"><code>@colesbury</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/973">actions/setup-python#973</a></li> <li>Enhance Workflows: Include ubuntu-arm runners, Add e2e Testing for free threaded and Upgrade <code>@action/cache</code> from 4.0.0 to 4.0.3 by <a href="https://github.com/priya-kinthali"><code>@priya-kinthali</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/1056">actions/setup-python#1056</a></li> <li>Add support for .tool-versions file in setup-python by <a href="https://github.com/mahabaleshwars"><code>@mahabaleshwars</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/1043">actions/setup-python#1043</a></li> </ul> <h3>Bug fixes:</h3> <ul> <li>Fix architecture for pypy on Linux ARM64 by <a href="https://github.com/mayeut"><code>@mayeut</code></a> in <a href="https://redirect.github.com/actions/setup-python/pull/1011">actions/setup-python#1011</a> This update maps arm64 to aarch64 for Linux ARM64 PyPy installations.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/setup-python/commit/e797f83bcb11b83ae66e0230d6156d7c80228e7c"><code>e797f83</code></a> Upgrade to node 24 (<a href="https://redirect.github.com/actions/setup-python/issues/1164">#1164</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/3d1e2d2ca0a067f27da6fec484fce7f5256def85"><code>3d1e2d2</code></a> Revert "Enhance cache-dependency-path handling to support files outside the w...</li> <li><a href="https://github.com/actions/setup-python/commit/65b071217a8539818fdb8b54561bcbae40380a54"><code>65b0712</code></a> Clarify pythonLocation behavior for PyPy and GraalPy in environment variables...</li> <li><a href="https://github.com/actions/setup-python/commit/5b668cf7652160527499ee14ceaff4be9306cb88"><code>5b668cf</code></a> Bump actions/checkout from 4 to 5 (<a href="https://redirect.github.com/actions/setup-python/issues/1181">#1181</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/f62a0e252fe7114e86949abfa6e1e89f85bb38c2"><code>f62a0e2</code></a> Change missing cache directory error to warning (<a href="https://redirect.github.com/actions/setup-python/issues/1182">#1182</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/9322b3ca74000aeb2c01eb777b646334015ddd72"><code>9322b3c</code></a> Upgrade setuptools to 78.1.1 to fix path traversal vulnerability in PackageIn...</li> <li><a href="https://github.com/actions/setup-python/commit/fbeb884f69f0ac1c0257302f62aa524c2824b649"><code>fbeb884</code></a> Bump form-data to fix critical vulnerabilities <a href="https://redirect.github.com/actions/setup-python/issues/182">#182</a> & <a href="https://redirect.github.com/actions/setup-python/issues/183">#183</a> (<a href="https://redirect.github.com/actions/setup-python/issues/1163">#1163</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/03bb6152f4f691b9d64579a1bd791904a083c452"><code>03bb615</code></a> Bump idna from 2.9 to 3.7 in /<strong>tests</strong>/data (<a href="https://redirect.github.com/actions/setup-python/issues/843">#843</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/36da51d563b70a972897150555bb025096d65565"><code>36da51d</code></a> Add version parsing from Pipfile (<a href="https://redirect.github.com/actions/setup-python/issues/1067">#1067</a>)</li> <li><a href="https://github.com/actions/setup-python/commit/3c6f142cc0036d53007e92fa1e327564a4cfb7aa"><code>3c6f142</code></a> update documentation (<a href="https://redirect.github.com/actions/setup-python/issues/1156">#1156</a>)</li> <li>Additional commits viewable in <a href="https://github.com/actions/setup-python/compare/v5...v6">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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 3.1.4 to 3.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pypa/cibuildwheel/releases">pypa/cibuildwheel's releases</a>.</em></p> <blockquote> <h2>v3.2.0</h2> <ul> <li>✨ Adds GraalPy v25 (Python 3.12) support (<a href="https://redirect.github.com/pypa/cibuildwheel/issues/2597">#2597</a>)</li> <li>🛠 Update to CPython 3.14.0rc3 (<a href="https://redirect.github.com/pypa/cibuildwheel/issues/2602">#2602</a>)</li> <li>🛠 Adds CPython 3.14.0 prerelease support for Android, and a number of improvements to Android builds (<a href="https://redirect.github.com/pypa/cibuildwheel/issues/2568">#2568</a>, <a href="https://redirect.github.com/pypa/cibuildwheel/issues/2591">#2591</a>)</li> <li>🛠 Improvements to testing on Android, passing environment markers when installing the venv, and providing more debug output when build-verbosity is set (<a href="https://redirect.github.com/pypa/cibuildwheel/issues/2575">#2575</a>)</li> <li>⚠️ PyPy 3.10 was moved to <code>pypy-eol</code> in the <code>enable</code> option, as it is now end-of-life. (<a href="https://redirect.github.com/pypa/cibuildwheel/issues/2521">#2521</a>)</li> <li>📚 Docs improvements (<a href="https://redirect.github.com/pypa/cibuildwheel/issues/2574">#2574</a>, <a href="https://redirect.github.com/pypa/cibuildwheel/issues/2601">#2601</a>, <a href="https://redirect.github.com/pypa/cibuildwheel/issues/2598">#2598</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md">pypa/cibuildwheel's changelog</a>.</em></p> <blockquote> <h3>v3.2.0</h3> <p><em>22 September 2025</em></p> <ul> <li>✨ Adds GraalPy v25 (Python 3.12) support (<a href="https://redirect.github.com/pypa/cibuildwheel/issues/2597">#2597</a>)</li> <li>🛠 Update to CPython 3.14.0rc3 (<a href="https://redirect.github.com/pypa/cibuildwheel/issues/2602">#2602</a>)</li> <li>🛠 Adds CPython 3.14.0 prerelease support for Android, and a number of improvements to Android builds (<a href="https://redirect.github.com/pypa/cibuildwheel/issues/2568">#2568</a>, <a href="https://redirect.github.com/pypa/cibuildwheel/issues/2591">#2591</a>)</li> <li>🛠 Improvements to testing on Android, passing environment markers when installing the venv, and providing more debug output when build-verbosity is set (<a href="https://redirect.github.com/pypa/cibuildwheel/issues/2575">#2575</a>)</li> <li>⚠️ PyPy 3.10 was moved to <code>pypy-eol</code> in the <code>enable</code> option, as it is now end-of-life. (<a href="https://redirect.github.com/pypa/cibuildwheel/issues/2521">#2521</a>)</li> <li>📚 Docs improvements (<a href="https://redirect.github.com/pypa/cibuildwheel/issues/2574">#2574</a>, <a href="https://redirect.github.com/pypa/cibuildwheel/issues/2601">#2601</a>, <a href="https://redirect.github.com/pypa/cibuildwheel/issues/2598">#2598</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pypa/cibuildwheel/commit/7c619efba910c04005a835b110b057fc28fd6e93"><code>7c619ef</code></a> Bump version: v3.2.0</li> <li><a href="https://github.com/pypa/cibuildwheel/commit/bbebb68339e0aee225907d52767bd4a0423be7e4"><code>bbebb68</code></a> [Bot] Update dependencies (<a href="https://redirect.github.com/pypa/cibuildwheel/issues/2603">#2603</a>)</li> <li><a href="https://github.com/pypa/cibuildwheel/commit/5bbeaf830fbc45f506c78995a91508753a80a2c2"><code>5bbeaf8</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/pypa/cibuildwheel/issues/2604">#2604</a>)</li> <li><a href="https://github.com/pypa/cibuildwheel/commit/7a67c6b5a9b98a3ac8c63ce05cbbf0665ea19ea7"><code>7a67c6b</code></a> Add GraalPy 25 and remove workarounds for that version. (<a href="https://redirect.github.com/pypa/cibuildwheel/issues/2597">#2597</a>)</li> <li><a href="https://github.com/pypa/cibuildwheel/commit/b8a4fbc237c513da28f6df5eb6443d63ee9c2275"><code>b8a4fbc</code></a> Improve information about configuration overriding (<a href="https://redirect.github.com/pypa/cibuildwheel/issues/2598">#2598</a>)</li> <li><a href="https://github.com/pypa/cibuildwheel/commit/70de033a7ff4087510bb4cd5f0b5e0b6328390a4"><code>70de033</code></a> Replace the <code>macos-13</code> images with the <code>macos-15-intel</code> images (GHA) (<a href="https://redirect.github.com/pypa/cibuildwheel/issues/2601">#2601</a>)</li> <li><a href="https://github.com/pypa/cibuildwheel/commit/ce4c16f88f17ab1f5711ab46e1bc6c796cd97fe1"><code>ce4c16f</code></a> [Bot] Update dependencies (<a href="https://redirect.github.com/pypa/cibuildwheel/issues/2602">#2602</a>)</li> <li><a href="https://github.com/pypa/cibuildwheel/commit/66490f05369c9df86f605f2e87725dde3de6816c"><code>66490f0</code></a> Add CMAKE_CROSSCOMPILING_EMULATOR to Android CMake toolchain (<a href="https://redirect.github.com/pypa/cibuildwheel/issues/2591">#2591</a>)</li> <li><a href="https://github.com/pypa/cibuildwheel/commit/77b9e35d7c4c367d5e2838147a7a456fee55c7a6"><code>77b9e35</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/pypa/cibuildwheel/issues/2594">#2594</a>)</li> <li><a href="https://github.com/pypa/cibuildwheel/commit/39e9da06c5d3f3a360ec315ce12252eb84e34e8c"><code>39e9da0</code></a> [Bot] Update dependencies (<a href="https://redirect.github.com/pypa/cibuildwheel/issues/2593">#2593</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pypa/cibuildwheel/compare/v3.1.4...v3.2.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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
) This PR defines new ExtensionOps for modifiers (control/dagger/power) and global phases in a new module `rich_circuit`. Modifiers are defined as higher order functions that takes a circuit and returns the modified circuit. Global phases are defined as an Extension op that takes a rotation angle and returns nothing. The resolver (Hugr to Hugr function that eliminates those) are to be implemented in this module. # TODOs Three todos are left in the code: - I haven't yet understood what `post_opdef` should do, so I left them as default. But I am not sure this is right. - The current `contain_qubit_term` function just cares `Runtime`, `ListType` and `TupleType`, which might not be exhaustive enough. This todo comment is left as it may be implemented in the future.
This PR implements a modifier resolver for default `OpType`s including Conditional, Call, etc. ## Contents - New module `modifier_resolver` with some tests - This resolver tries to eliminate `Modifier`s from Hugr by rewriting circuits to ones with modifiers applied. - Most of the description is written at the head of `modifier_resolver.rs`. ## TODOs - A lot of TODOs are left. The summary is also written at the head of `modifier_resolver.rs`. ## Not included Modifier implementation for `TketOp`s will be done in a succeeding PR. --------- Co-authored-by: Agustín Borgna <agustin.borgna@quantinuum.com>
First implementation of modifier resolver for TketOps. This simply implements the decomposition of gates in the paper - Barenco, Adriano, et al. "Elementary gates for quantum computation." Physical review A 52.5 (1995): 3457.
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 6 to 7. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/setup-uv/releases">astral-sh/setup-uv's releases</a>.</em></p> <blockquote> <h2>v7.0.0 🌈 node24 and a lot of bugfixes</h2> <h2>Changes</h2> <p>This release comes with a load of bug fixes and a speed up. Because of switching from node20 to node24 it is also a breaking change. If you are running on GitHub hosted runners this will just work, if you are using self-hosted runners make sure, that your runners are up to date. If you followed the normal installation instructions your self-hosted runner will keep itself updated.</p> <p>This release also removes the deprecated input <code>server-url</code> which was used to download uv releases from a different server. The <a href="https://github.com/astral-sh/setup-uv?tab=readme-ov-file#manifest-file">manifest-file</a> input supersedes that functionality by adding a flexible way to define available versions and where they should be downloaded from.</p> <h3>Fixes</h3> <ul> <li>The action now respects when the environment variable <code>UV_CACHE_DIR</code> is already set and does not overwrite it. It now also finds <a href="https://docs.astral.sh/uv/reference/settings/#cache-dir">cache-dir</a> settings in config files if you set them.</li> <li>Some users encountered problems that <a href="https://github.com/astral-sh/setup-uv?tab=readme-ov-file#disable-cache-pruning">cache pruning</a> took forever because they had some <code>uv</code> processes running in the background. Starting with uv version <code>0.8.24</code> this action uses <code>uv cache prune --ci --force</code> to ignore the running processes</li> <li>If you just want to install uv but not have it available in path, this action now respects <code>UV_NO_MODIFY_PATH</code></li> <li>Some other actions also set the env var <code>UV_CACHE_DIR</code>. This action can now deal with that but as this could lead to unwanted behavior in some edgecases a warning is now displayed.</li> </ul> <h3>Improvements</h3> <p>If you are using minimum version specifiers for the version of uv to install for example</p> <pre lang="toml"><code>[tool.uv] required-version = ">=0.8.17" </code></pre> <p>This action now detects that and directly uses the latest version. Previously it would download all available releases from the uv repo to determine the highest matching candidate for the version specifier, which took much more time.</p> <p>If you are using other specifiers like <code>0.8.x</code> this action still needs to download all available releases because the specifier defines an upper bound (not 0.9.0 or later) and "latest" would possibly not satisfy that.</p> <h2>🚨 Breaking changes</h2> <ul> <li>Use node24 instead of node20 <a href="https://github.com/eifinger"><code>@eifinger</code></a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/608">#608</a>)</li> <li>Remove deprecated input server-url <a href="https://github.com/eifinger"><code>@eifinger</code></a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/607">#607</a>)</li> </ul> <h2>🐛 Bug fixes</h2> <ul> <li>Respect UV_CACHE_DIR and cache-dir <a href="https://github.com/eifinger"><code>@eifinger</code></a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/612">#612</a>)</li> <li>Use --force when pruning cache <a href="https://github.com/eifinger"><code>@eifinger</code></a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/611">#611</a>)</li> <li>Respect UV_NO_MODIFY_PATH <a href="https://github.com/eifinger"><code>@eifinger</code></a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/603">#603</a>)</li> <li>Warn when <code>UV_CACHE_DIR</code> has changed <a href="https://github.com/jamesbraza"><code>@jamesbraza</code></a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/601">#601</a>)</li> </ul> <h2>🚀 Enhancements</h2> <ul> <li>Shortcut to latest version for minimum version specifier <a href="https://github.com/eifinger"><code>@eifinger</code></a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/598">#598</a>)</li> </ul> <h2>🧰 Maintenance</h2> <ul> <li>Bump dependencies <a href="https://github.com/eifinger"><code>@eifinger</code></a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/613">#613</a>)</li> <li>Fix test-uv-no-modify-path <a href="https://github.com/eifinger"><code>@eifinger</code></a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/604">#604</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/setup-uv/commit/3259c6206f993105e3a61b142c2d97bf4b9ef83d"><code>3259c62</code></a> Bump deps (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/633">#633</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/bf8e8ed895b7f686f85839659243f31a7df4a977"><code>bf8e8ed</code></a> Split up documentation (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/632">#632</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/9c6b5e9fb575cac8e82bb437dd7fc25a094bd85d"><code>9c6b5e9</code></a> Add resolution-strategy input to support oldest compatible version selection ...</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/a5129e99f44f5d2ba22cdc54770745bd6f0d9c33"><code>a5129e9</code></a> Add copilot-instructions.md (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/630">#630</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/d18bcc753ac29c1ed721aa4a812a90eb937852d6"><code>d18bcc7</code></a> Add value of UV_PYTHON_INSTALL_DIR to path (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/628">#628</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/bd1f875aba1ebb6d38211b773b094ad1dcca58df"><code>bd1f875</code></a> Set output venv when activate-environment is used (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/627">#627</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/1a91c3851df47749b241e3c5c696350957c93ff0"><code>1a91c38</code></a> chore: update known checksums for 0.9.2 (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/626">#626</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/c79f606987cb4a0f3d1a95a3e44bcebfb0a9b303"><code>c79f606</code></a> chore: update known checksums for 0.9.1 (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/625">#625</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/e0249f159931b41f44fc8208c9b4cff085288cc9"><code>e0249f1</code></a> Fall back to PR for updating known versions (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/623">#623</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/6d2eb15b4979924f7be71aa06908c6211f80ac88"><code>6d2eb15</code></a> Cache python installs (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/621">#621</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/setup-uv/compare/v6...v7">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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fb86371 to
5aa818c
Compare
No description provided.