Repository navigation
PL2 Docs: devices.rst - #10570
Closed
isaacdevlugt wants to merge 104 commits into
Closed
PL2 Docs: devices.rst#10570isaacdevlugt wants to merge 104 commits into
devices.rst#10570isaacdevlugt wants to merge 104 commits into
Conversation
…o chore/names_on_decomp_rules
…o chore/names_on_decomp_rules
Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.50 to 3.2.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/gitpython-developers/GitPython/releases">gitpython's releases</a>.</em></p> <blockquote> <h2>3.2.1</h2> <h2>What's Changed</h2> <ul> <li>prepare for next release, v3.2 by <a href="https://github.com/Byron"><code>@Byron</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2260">gitpython-developers/GitPython#2260</a></li> <li>objects: decode a byte mode before reading its digits by <a href="https://github.com/SashaMIT"><code>@SashaMIT</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2261">gitpython-developers/GitPython#2261</a></li> <li>build(deps): bump <a href="https://github.com/astral-sh/ruff-pre-commit">https://github.com/astral-sh/ruff-pre-commit</a> from v0.16.5 to 0.16.9 in the pre-commit group by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2263">gitpython-developers/GitPython#2263</a></li> <li>fix(submodule): validate destinations before mutation by <a href="https://github.com/Byron"><code>@Byron</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2264">gitpython-developers/GitPython#2264</a></li> <li>fix(util): create lock files in one exclusive step by <a href="https://github.com/radhika1314"><code>@radhika1314</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2267">gitpython-developers/GitPython#2267</a></li> <li>fix(commit): accumulate gpgsig continuation lines in linear time by <a href="https://github.com/Keerthana-64"><code>@Keerthana-64</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2268">gitpython-developers/GitPython#2268</a></li> <li>fix(index): accept a single PathLike in checkout by <a href="https://github.com/kokotatan"><code>@kokotatan</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2269">gitpython-developers/GitPython#2269</a></li> <li>fix(util): redact URL credentials without corrupting the host by <a href="https://github.com/yunaremaia"><code>@yunaremaia</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2270">gitpython-developers/GitPython#2270</a></li> <li>change line for changelogs by <a href="https://github.com/CrowZhen"><code>@CrowZhen</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2272">gitpython-developers/GitPython#2272</a></li> <li>fix(commit): reject identity fields that alter commit headers by <a href="https://github.com/Keerthana-64"><code>@Keerthana-64</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2271">gitpython-developers/GitPython#2271</a></li> <li>fix: stop stalled remote commands when their timeout expires by <a href="https://github.com/Byron"><code>@Byron</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2277">gitpython-developers/GitPython#2277</a></li> <li>fix(util): reject symbolic links that alias <code>.gitmodules</code> by <a href="https://github.com/Keerthana-64"><code>@Keerthana-64</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2278">gitpython-developers/GitPython#2278</a></li> <li>fix: send one object name or path per git stdin record by <a href="https://github.com/Keerthana-64"><code>@Keerthana-64</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2279">gitpython-developers/GitPython#2279</a></li> <li>fix(stats): preserve whitespace in filenames by <a href="https://github.com/v1shay"><code>@v1shay</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2280">gitpython-developers/GitPython#2280</a></li> <li>fix(config): preserve exact large integer values by <a href="https://github.com/xiehuanyi"><code>@xiehuanyi</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2281">gitpython-developers/GitPython#2281</a></li> <li>fix: resolve IterableList names independently of list attributes by <a href="https://github.com/FanWu-ai"><code>@FanWu-ai</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2283">gitpython-developers/GitPython#2283</a></li> <li>fix relative blocking lock 20261011 by <a href="https://github.com/Byron"><code>@Byron</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2284">gitpython-developers/GitPython#2284</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/SashaMIT"><code>@SashaMIT</code></a> made their first contribution in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2261">gitpython-developers/GitPython#2261</a></li> <li><a href="https://github.com/kokotatan"><code>@kokotatan</code></a> made their first contribution in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2269">gitpython-developers/GitPython#2269</a></li> <li><a href="https://github.com/yunaremaia"><code>@yunaremaia</code></a> made their first contribution in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2270">gitpython-developers/GitPython#2270</a></li> <li><a href="https://github.com/CrowZhen"><code>@CrowZhen</code></a> made their first contribution in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2272">gitpython-developers/GitPython#2272</a></li> <li><a href="https://github.com/v1shay"><code>@v1shay</code></a> made their first contribution in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2280">gitpython-developers/GitPython#2280</a></li> <li><a href="https://github.com/xiehuanyi"><code>@xiehuanyi</code></a> made their first contribution in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2281">gitpython-developers/GitPython#2281</a></li> <li><a href="https://github.com/FanWu-ai"><code>@FanWu-ai</code></a> made their first contribution in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2283">gitpython-developers/GitPython#2283</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/gitpython-developers/GitPython/compare/3.2.0...3.2.1">https://github.com/gitpython-developers/GitPython/compare/3.2.0...3.2.1</a></p> <h2>3.2.0 - Security</h2> <h2>What's Changed</h2> <ul> <li>test: cover subdirectory discovery and pathspec commands in bare-repository worktrees by <a href="https://github.com/christianvuerings"><code>@christianvuerings</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2228">gitpython-developers/GitPython#2228</a></li> <li>Read git's yes/no and on/off booleans in get_value by <a href="https://github.com/rawsun007"><code>@rawsun007</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2229">gitpython-developers/GitPython#2229</a></li> <li>Clarify detached HEAD access and isolate test branch state by <a href="https://github.com/Byron"><code>@Byron</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2231">gitpython-developers/GitPython#2231</a></li> <li>Reject submodule move destinations through intermediate symlinks by <a href="https://github.com/Byron"><code>@Byron</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2232">gitpython-developers/GitPython#2232</a></li> <li>fix: validate checkout positional reference options by <a href="https://github.com/Byron"><code>@Byron</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2233">gitpython-developers/GitPython#2233</a></li> <li>Fix timeout child-process lookup on non-GNU systems by <a href="https://github.com/aprylewu"><code>@aprylewu</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2236">gitpython-developers/GitPython#2236</a></li> <li>Preserve implicit boolean config keys by <a href="https://github.com/Byron"><code>@Byron</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2238">gitpython-developers/GitPython#2238</a></li> <li>Reject comments after implicit boolean config keys by <a href="https://github.com/Byron"><code>@Byron</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2239">gitpython-developers/GitPython#2239</a></li> <li>Fix case-insensitive Git config name matching by <a href="https://github.com/Byron"><code>@Byron</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2241">gitpython-developers/GitPython#2241</a></li> <li>Move project metadata to pyproject.toml by <a href="https://github.com/mwtoews"><code>@mwtoews</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2242">gitpython-developers/GitPython#2242</a></li> <li>Move [doc] extra to a PEP 735 dependency group; add uv-sync CI check by <a href="https://github.com/mwtoews"><code>@mwtoews</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2243">gitpython-developers/GitPython#2243</a></li> <li>fix: strip inline config comments the way git does by <a href="https://github.com/rawsun007"><code>@rawsun007</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2245">gitpython-developers/GitPython#2245</a></li> <li>Drop Python 3.7 by <a href="https://github.com/mwtoews"><code>@mwtoews</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2246">gitpython-developers/GitPython#2246</a></li> <li>fix: preserve positional operands in high-level Git commands by <a href="https://github.com/Byron"><code>@Byron</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2247">gitpython-developers/GitPython#2247</a></li> <li>submodule: option to update without fetching by <a href="https://github.com/jeffro256"><code>@jeffro256</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2244">gitpython-developers/GitPython#2244</a></li> <li>bump minor version to indicate drop of python 3.7 support by <a href="https://github.com/Byron"><code>@Byron</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2248">gitpython-developers/GitPython#2248</a></li> <li>fix: skip a UTF-8 BOM when reading config files by <a href="https://github.com/geek-alpha"><code>@geek-alpha</code></a> in <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2249">gitpython-developers/GitPython#2249</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/gitpython-developers/GitPython/blob/main/doc/source/changes.rst">gitpython's changelog</a>.</em></p> <blockquote> <h1>3.2.1</h1> <p>Security fixes for</p> <ul> <li><a href="https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-83vg-56qc-22m7">https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-83vg-56qc-22m7</a></li> </ul> <p>If you can, also try and provide feedback on the upcoming v4 branch <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2274">gitpython-developers/GitPython#2274</a> - patches welcome.</p> <p>See the following for all changes. <a href="https://github.com/gitpython-developers/GitPython/releases/tag/3.2.1">https://github.com/gitpython-developers/GitPython/releases/tag/3.2.1</a></p> <h1>3.2.0</h1> <p>Drops support for Python 3.7 (5 years after its EOL).</p> <p>Security fixes for</p> <ul> <li>Deprecate the pure-Python <code>GitDB</code> object database backend due to security and performance issues. Selecting it or a subclass through <code>odbt</code> now emits a <code>DeprecationWarning</code>. Remove <code>odbt=GitDB</code> to use <code>GitCmdObjectDB</code>, the existing default, or select <code>odbt=GitCmdObjectDB</code> explicitly. The <code>gitdb</code> package remains a dependency for shared types and utilities.</li> <li><a href="https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-gq48-pqfc-9p58">https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-gq48-pqfc-9p58</a></li> <li><a href="https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-23mf-xhv8-69c2">https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-23mf-xhv8-69c2</a></li> <li><a href="https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-f9j4-qggq-h239">https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-f9j4-qggq-h239</a></li> <li><a href="https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-w8jc-g24h-crhw">https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-w8jc-g24h-crhw</a></li> <li><a href="https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-m64x-33q8-m5h7">https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-m64x-33q8-m5h7</a></li> <li><a href="https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-fx3j-rwgx-fr94">https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-fx3j-rwgx-fr94</a></li> </ul> <p>If you can, also try and provide feedback on the upcoming v4 branch <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2274">gitpython-developers/GitPython#2274</a> - patches welcome.</p> <p>See the following for all changes. <a href="https://github.com/gitpython-developers/GitPython/releases/tag/3.2.0">https://github.com/gitpython-developers/GitPython/releases/tag/3.2.0</a></p> <h1>3.1.62</h1> <p>Security fixes for</p> <ul> <li><a href="https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-59cr-6r3x-644w">https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-59cr-6r3x-644w</a></li> </ul> <p>If you can, also try and provide feedback on the upcoming v4 branch <a href="https://redirect.github.com/gitpython-developers/GitPython/pull/2274">gitpython-developers/GitPython#2274</a> - patches welcome.</p> <p>See the following for all changes. <a href="https://github.com/gitpython-developers/GitPython/releases/tag/3.1.62">https://github.com/gitpython-developers/GitPython/releases/tag/3.1.62</a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/gitpython-developers/GitPython/commit/c179357b38a8962f1c8e33153ac58b5ac0e6e96a"><code>c179357</code></a> prepare changelog prior to release</li> <li><a href="https://github.com/gitpython-developers/GitPython/commit/97eadb888d2f99567e3113f4e455be4ca128f697"><code>97eadb8</code></a> fix(submodule): validate destinations before mutation</li> <li><a href="https://github.com/gitpython-developers/GitPython/commit/6a7180a9dfcb276755a8af99dd78155f775a6b14"><code>6a7180a</code></a> prepare for next release, v3.2</li> <li><a href="https://github.com/gitpython-developers/GitPython/commit/0b64501a081de8018983c3f464c16b36ddd64353"><code>0b64501</code></a> refactor(db): deprecate the pure-Python <code>GitDB</code> backend</li> <li><a href="https://github.com/gitpython-developers/GitPython/commit/9349ff58ee00c9fb14d515c8e693f33b2144b238"><code>9349ff5</code></a> fix(repo): preserve literal separate Git directory paths</li> <li><a href="https://github.com/gitpython-developers/GitPython/commit/8290c98d35465a38090cdcc1b17be69967092a15"><code>8290c98</code></a> fix: bound actor and date parsing</li> <li><a href="https://github.com/gitpython-developers/GitPython/commit/9ad28cc4c7176d22cd6181d69805058a719dd03b"><code>9ad28cc</code></a> fix: complete safety checks in Git command wrappers</li> <li><a href="https://github.com/gitpython-developers/GitPython/commit/ce2093b9569242c35afc7433355df9766c7ac8d3"><code>ce2093b</code></a> bump minor version to indicate drop of python 3.7 support</li> <li><a href="https://github.com/gitpython-developers/GitPython/commit/dafafff7e5438879d0167c17008342231f7af314"><code>dafafff</code></a> Merge pull request <a href="https://redirect.github.com/gitpython-developers/GitPython/issues/2247">#2247</a> from gitpython-developers/pos-arg-sanitization</li> <li><a href="https://github.com/gitpython-developers/GitPython/commit/790bb3164948625ffb043d2a162425d55923fe9a"><code>790bb31</code></a> fix(remote): reject option-shaped pull operands</li> <li>Additional commits viewable in <a href="https://github.com/gitpython-developers/GitPython/compare/3.1.50...3.2.1">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yushao Chen (Jerry) <chenys13@outlook.com>
Bumps [tornado](https://github.com/tornadoweb/tornado) from 6.5.4 to 6.6. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/tornadoweb/tornado/blob/master/docs/releases.rst">tornado's changelog</a>.</em></p> <blockquote> <h1>Release notes</h1> <p>.. toctree:: :maxdepth: 2</p> <p>releases/v6.6.1 releases/v6.6.0 releases/v6.5.10 releases/v6.5.9 releases/v6.5.8 releases/v6.5.7 releases/v6.5.6 releases/v6.5.5 releases/v6.5.4 releases/v6.5.3 releases/v6.5.2 releases/v6.5.1 releases/v6.5.0 releases/v6.4.2 releases/v6.4.1 releases/v6.4.0 releases/v6.3.3 releases/v6.3.2 releases/v6.3.1 releases/v6.3.0 releases/v6.2.0 releases/v6.1.0 releases/v6.0.4 releases/v6.0.3 releases/v6.0.2 releases/v6.0.1 releases/v6.0.0 releases/v5.1.1 releases/v5.1.0 releases/v5.0.2 releases/v5.0.1 releases/v5.0.0 releases/v4.5.3 releases/v4.5.2 releases/v4.5.1 releases/v4.5.0 releases/v4.4.3 releases/v4.4.2 releases/v4.4.1 releases/v4.4.0 releases/v4.3.0 releases/v4.2.1 releases/v4.2.0 releases/v4.1.0</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tornadoweb/tornado/commit/e2b0f452bbf0e554c64e9d9ee922341c1c634d95"><code>e2b0f45</code></a> Merge pull request <a href="https://redirect.github.com/tornadoweb/tornado/issues/3831">#3831</a> from bdarnell/final-6.6</li> <li><a href="https://github.com/tornadoweb/tornado/commit/90c4e3fd2c91a75a8e89a5cddd2caff803c4d361"><code>90c4e3f</code></a> Version bump for 6.6 final release</li> <li><a href="https://github.com/tornadoweb/tornado/commit/ec17353e8c84ef20fe17eab4def51404ac56cbd8"><code>ec17353</code></a> Merge pull request <a href="https://redirect.github.com/tornadoweb/tornado/issues/3828">#3828</a> from bdarnell/downstream-ci-66</li> <li><a href="https://github.com/tornadoweb/tornado/commit/15f66b043c5f1b69eff4088e90ee12b380d0d189"><code>15f66b0</code></a> ci: Add explicit read permission to CI jobs</li> <li><a href="https://github.com/tornadoweb/tornado/commit/444644112142d7033ffcae1b37e21f0a2cf024b2"><code>4446441</code></a> ci: Run the downstream testbed on a wheel built in the same run</li> <li><a href="https://github.com/tornadoweb/tornado/commit/c2e24d28a59433a41d77450b578f6be6028bad89"><code>c2e24d2</code></a> Merge pull request <a href="https://redirect.github.com/tornadoweb/tornado/issues/3823">#3823</a> from bdarnell/claude/project-thread-uzh2s8</li> <li><a href="https://github.com/tornadoweb/tornado/commit/c2d8884b64c5131bc26ac0919cfcdb752784ba78"><code>c2d8884</code></a> test: Add pre-6.3 security fixes to the corpus</li> <li><a href="https://github.com/tornadoweb/tornado/commit/de32687e664d37fe35dd931e8f56bcfcb9b27ac5"><code>de32687</code></a> test: Add a regression corpus of past security fixes</li> <li><a href="https://github.com/tornadoweb/tornado/commit/7848790399e6bdc272fc83d200345850f35de551"><code>7848790</code></a> maint: Add pre-tag checks and release instructions</li> <li><a href="https://github.com/tornadoweb/tornado/commit/f14321e4a07395b2f808afb66fc8d78f9c078829"><code>f14321e</code></a> ci: Compare benchmarks with the base branch on every PR</li> <li>Additional commits viewable in <a href="https://github.com/tornadoweb/tornado/compare/v6.5.4...v6.6.0">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yushao Chen (Jerry) <chenys13@outlook.com>
Bumps [filelock](https://github.com/tox-dev/filelock) from 3.20.3 to 4.2.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/tox-dev/filelock/releases">filelock's releases</a>.</em></p> <blockquote> <h2>4.2.1</h2> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h3>Security</h3> <p>This release fixes the following vulnerabilities:</p> <ul> <li><a href="https://github.com/tox-dev/filelock/security/advisories/GHSA-v4x8-3wr5-3wq8">CVE-2026-112940</a> (high): ReadWriteLock: SQLite reopens the lock database by name, so a planted symlink or journal file makes the lock user's process overwrite or unlink its own files.</li> <li><a href="https://github.com/tox-dev/filelock/security/advisories/GHSA-2g95-wg33-c5x2">CVE-2026-112906</a> (medium): SoftFileLock evicts a fresh lock file whose watched age another local user's pre-dated file passed on through inode reuse.</li> <li><a href="https://github.com/tox-dev/filelock/security/advisories/GHSA-6627-m3xw-93mp">CVE-2026-112908</a> (medium): StrictSoftFileLock creates its claim directories without the lock mode, so another local user with a write bit on them can end a live hold.</li> <li><a href="https://github.com/tox-dev/filelock/security/advisories/GHSA-69hj-f68j-2879">CVE-2026-112909</a> (medium): UnixFileLock truncates and chmods any regular file another user renames or hard-links onto the lock path.</li> <li><a href="https://github.com/tox-dev/filelock/security/advisories/GHSA-8mx5-7m5m-r77g">CVE-2026-112910</a> (medium): WindowsFileLock ignores mode: a 0o600 lock file and the ReadWriteLock database inherit the directory ACL.</li> <li><a href="https://github.com/tox-dev/filelock/security/advisories/GHSA-9c4x-gm8v-wgc4">CVE-2026-112911</a> (medium): StrictSoftFileLock and SoftReadWriteLock adopt a protocol directory another user created first, losing mutual exclusion.</li> <li><a href="https://github.com/tox-dev/filelock/security/advisories/GHSA-crv4-6mhj-j5jh">CVE-2026-112914</a> (medium): SoftFileLock stale-break restore follows a swapped-in symbolic link and hard-links a file of the user running the lock into the lock directory.</li> <li><a href="https://github.com/tox-dev/filelock/security/advisories/GHSA-cwqr-hh33-gh44">CVE-2026-112915</a> (medium): ReadWriteLock: a crafted lock database makes every acquire stall or hang regardless of timeout.</li> <li><a href="https://github.com/tox-dev/filelock/security/advisories/GHSA-fj95-fr6c-h845">CVE-2026-112934</a> (medium): SoftReadWriteLock holder refresh writes through a hard link and hangs on a named pipe that another local user renames over its record.</li> <li><a href="https://github.com/tox-dev/filelock/security/advisories/GHSA-fq56-3cx3-fjxp">CVE-2026-112935</a> (medium): SoftFileLock stale-lock break removes a live lock file on a reused inode number and admits two holders.</li> <li><a href="https://github.com/tox-dev/filelock/security/advisories/GHSA-jqc4-5cvw-7w85">CVE-2026-112937</a> (medium): ReadWriteLock on the hard-link route deletes any directory another user renames onto its .filelock-* link directory name.</li> <li><a href="https://github.com/tox-dev/filelock/security/advisories/GHSA-m462-7rxw-wvpg">CVE-2026-112938</a> (medium): StrictSoftFileLock follows a symbolic link swapped in at <!-- raw HTML omitted -->.filelock and creates claim files in a directory another local user chooses.</li> <li><a href="https://github.com/tox-dev/filelock/security/advisories/GHSA-rfpc-qcw5-3pc4">CVE-2026-112939</a> (medium): SoftFileLock removes a live holder's marker when another user forges the PID in a writable marker.</li> <li><a href="https://github.com/tox-dev/filelock/security/advisories/GHSA-567q-5qvw-pf92">CVE-2026-112907</a> (low): On Windows an oplock on a soft lock's marker holds SoftFileLock.acquire() past its timeout and blocks the stale break.</li> <li><a href="https://github.com/tox-dev/filelock/security/advisories/GHSA-9j6q-wvj5-jgjg">CVE-2026-112912</a> (low): Symlink swap during SoftFileLock's writability check leaks whether a path exists and is writable by the lock taker.</li> <li><a href="https://github.com/tox-dev/filelock/security/advisories/GHSA-9vhv-jxww-xfm5">CVE-2026-112913</a> (low): ReadWriteLock on Windows acts on SQLite side files another local user places beside its database.</li> <li><a href="https://github.com/tox-dev/filelock/security/advisories/GHSA-wfhq-q4j2-c37m">CVE-2026-112941</a> (low): SoftReadWriteLock follows a lock tree swapped in after its first acquire and writes lock records into directories of the user running the lock.</li> </ul> <p><!-- raw HTML omitted --><!-- raw HTML omitted --></p> <h3>Bug fixes</h3> <ul> <li>On a singleton wrapper, <code>AsyncReadWriteLock.close()</code> and <code>AsyncSoftReadWriteLock.close()</code> end only the holds that tasks acquired through that wrapper. A reader that arrives during <code>close()</code> gets the closed error instead of joining the ending hold. After synchronous code closes or force-releases the shared lock, the wrappers refuse to admit readers into the ended hold, and <code>close()</code> on such a wrapper returns. Closing one wrapper no longer ends a task's nested hold taken through another wrapper on the same path. <a href="https://redirect.github.com/tox-dev/filelock/pull/832">#832</a> by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li><code>ReadWriteLock</code> locks again after a <code>release()</code> that an exception from a signal handler interrupted. The async read-write wrappers stop admitting readers into such a level. The async read-write locks forget a hold whose backend release failed after the backend let go, and they free the memory of each acquire that times out or is canceled. <code>AsyncFileLock</code> returns from <code>release()</code> after a few hundred acquires gave up behind a waiting one. An exception from a signal handler delivered while an <code>AsyncFileLock</code> call joins its queue no longer blocks every later call on that lock. <a href="https://redirect.github.com/tox-dev/filelock/pull/833">#833</a> by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li>Fix <code>ReadWriteLock</code> acting on <code>-journal</code>, <code>-wal</code> or <code>-shm</code> files another process puts beside its database: a write could land in another file, a reader could get in beside a writer, and an acquire could fail. SQLite now opens the database by name only in a directory no other account can write, and through a private hard link elsewhere. On Windows the directory's access control list decides. Where hard links are unavailable, keep the database in a directory other accounts cannot write, such as one under <code>%LOCALAPPDATA%</code>. The lock removes link directories through a checked descriptor rather than by name, reads a link directory's name only when the locking account owns it, and leaves alone a directory with other content renamed onto a link directory's name. A database whose schema takes more than a few kilobytes to load raises <code>ValueError</code> instead of running past the acquire timeout. <a href="https://redirect.github.com/tox-dev/filelock/pull/834">#834</a> by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li>Fix five bugs in opening the lock file. <code>UnixFileLock</code> no longer truncates a file it did not create, such as one renamed to the lock path, and no longer applies <code>mode</code> to it. An <code>on_acquired</code> hook that writes holder metadata now truncates the file itself. A lease (Linux) or an oplock (Windows) on the lock file or a soft lock's marker no longer holds <code>acquire()</code> past its <code>timeout</code> or <code>blocking=False</code>, and an oplock no longer holds <code>release()</code>; <code>ReadWriteLock</code> on Windows waits for its <code>timeout</code> and raises <code>Timeout</code>. On Windows, a <code>mode</code> without group and other bits, such as <code>0o600</code>, now creates the lock file with an owner-only permission list; the <code>ReadWriteLock</code> database gets the same. The soft locks' writability check no longer follows a symlink swapped in at the lock path. On a filesystem without <code>flock</code>, a contender from another account now waits on a marker it cannot write instead of raising <code>PermissionError</code>. <a href="https://redirect.github.com/tox-dev/filelock/pull/835">#835</a> by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li>Fix <code>SoftFileLock</code>, <code>MarkerSoftFileLock</code> and <code>SoftFileLease</code> removing a live holder's marker in three cases: the holder and the contender run in Linux time namespaces with different boottime offsets; only one of them can read the boot id; a process other than the owner rewrote the marker. Soft markers no longer carry group or other write bits. A process name containing a carriage return or another line separator no longer makes the stale check raise <code>ValueError</code>. When <code>/proc/self/ns/time</code> exists but cannot be read, the stale check no longer compares start times and keeps the marker. <a href="https://redirect.github.com/tox-dev/filelock/pull/836">#836</a> by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li>The async read-write locks record their hold under a task owner, so synchronous code on the executor thread that took the hold can no longer re-enter or release it. <code>AsyncSoftReadWriteLock</code> gives back one level on release, so synchronous readers of a shared singleton keep theirs. <code>SoftReadWriteLock</code> tracks read levels per thread: <code>release()</code> from a thread that holds none raises <code>RuntimeError</code>. After its heartbeat recorded a lost hold, it refuses new acquires until that hold is released. <a href="https://redirect.github.com/tox-dev/filelock/pull/838">#838</a> by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li><code>StrictSoftFileLock</code> creates <code><path>.filelock</code> and its <code>claims</code> directory with the lock's <code>mode</code> and sets the sticky bit (a directory flag that lets only a file's owner remove it) on both. On the next acquisition it narrows a directory it owns that an earlier release created wider; it leaves a directory of another account as it is, so remove such leftovers by hand. It reaches <code>claims</code> through a descriptor opened without following symlinks; on Windows it holds both directories open and refuses a junction (a directory that points at another directory). Under a sticky parent such as <code>/tmp</code> it refuses a coordination directory of another account, as <code>SoftReadWriteLock</code> does for <code><path>.rw</code>. One read grace now covers a whole claim scan, a failed claim cleanup no longer leaves the sentinel descriptor open, and a non-regular node at a sentinel private-record name raises <code>SoftFileLockProtocolError</code>. On Windows, contenders read claims without blocking their owner's unlink. <a href="https://redirect.github.com/tox-dev/filelock/pull/839">#839</a> by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li>Fix a lock reporting a hold the OS had dropped after a signal handler raised during <code>acquire</code> or <code>release</code>. A release that a signal handler cuts short after it has started now completes before the error propagates. A handler that acquires the lock its own thread is releasing now gets <code>RuntimeError</code> instead of a hold that stays held. The singleton cache no longer hands out an <code>is_singleton=True</code> lock or a <code>ReadWriteLock</code> whose finalizer is running, which released the new holder's lock. A signal during <code>os.fork()</code> no longer leaves the other threads blocked in their next lock call, and a fork from another thread no longer waits for a <code>ReadWriteLock</code> acquire on a busy database. <a href="https://redirect.github.com/tox-dev/filelock/pull/840">#840</a> by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li>Fix a lock on a relative path locking a file in the directory the process changed to while the lock waited, and leaving its marker behind on release after such a change. The path resolved when an acquisition starts stays in use until the hold ends. An <code>is_singleton=True</code> lookup no longer returns a cached lock whose relative path now resolves to another file; a held lock still matches the file it holds. A rename of the lock's directory during a hold no longer leaves the marker behind or reports a false lease compromise, and a waiter no longer creates a second lock file in a directory that was renamed away. <a href="https://redirect.github.com/tox-dev/filelock/pull/841">#841</a> by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li><code>SoftReadWriteLock</code> reaches its records through descriptors of <code><path>.rw</code> and <code>gen</code> or <code>holders</code> opened without following symlinks. On Windows it holds those directories open and refuses a junction (a directory that points at another directory). A tree swapped in after an earlier acquire therefore cannot redirect them. Its heartbeat rewrites a holder record only when the name still leads to the file it created, and does not block on a FIFO (a named pipe). A heartbeat that finds <code><path>.rw</code> replaced by a symlink or junction reports the hold lost instead of ending the heartbeat thread. A live lock object repeats the ownership check whenever the tree it opens is not the one it prepared. <a href="https://redirect.github.com/tox-dev/filelock/pull/842">#842</a> by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li>Fix <code>SoftFileLock</code>, <code>MarkerSoftFileLock</code> and <code>SoftFileLease</code> removing or displacing a live holder's marker in five cases. ext4 gave a freed inode number to the next marker. A stalled <code>FileLock</code> removed its <code>ENOSYS</code> placeholder after a peer replaced it. A failed acquire cleaned up after a successor took the path. A stale break left the lock path empty while it checked the marker it had moved. A <code>lifetime</code> break judged a marker by a reused inode number. On Linux and macOS a stale marker now changes hands in one atomic exchange. On other platforms without one, except Windows, including NFS and SMB, the marker stays in place and waits for <code>timeout</code> or <code>break_lock()</code>. Restoring a marker no longer follows a symlink found under the break name. A holder that releases while a peer's exchange has its marker aside leaves a record no lock parses, so the put-back lands a marker that ages out. A lease heartbeat that finds another file at the lock path once, while a peer's break has its marker aside, waits for the next refresh before it reports a compromise. A contender that finds a dead breaker's marker puts back the marker that breaker left under its break name. A marker is the breaker's own only when it names the breaker's process on this host; the same process number on another host is a holder. A contender takes a stranded marker under a name of its own before it puts the marker back, so two contenders no longer reverse each other's exchange and remove the live holder's marker. A claim left behind by a failed put-back is retried on the next poll. <a href="https://redirect.github.com/tox-dev/filelock/pull/843">#843</a> by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li>Canceling an <code>AsyncReadWriteLock</code> or <code>AsyncSoftReadWriteLock</code> acquire that waits for another process now stops the wait and raises the cancellation. It used to wait until that process released, or raise <code>Timeout</code>. A <code>thread_local=True</code> <code>AsyncFileLock</code> that threads with their own event loops share no longer deadlocks when one thread waits for the lock while another holds it. <a href="https://redirect.github.com/tox-dev/filelock/pull/844">#844</a> by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li><code>SoftReadWriteLock</code> refuses a commit that lands a whole retention window behind the log, so two committers stalled at adjacent generations can no longer admit a second writer. Its stale check samples the clock before it reads a holder record, so a pause between the two no longer counts as time the record stayed unchanged. <a href="https://redirect.github.com/tox-dev/filelock/pull/845">#845</a> by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li>Fix a <code>SoftFileLock</code> contender evicting an empty marker after two seconds while its owner held the lock. The owner is a <code>SoftFileLock</code> before 3.22, which writes nothing into its marker, or a current one still writing its record. An empty marker now reads as held, and <code>timeout</code>, <code>lifetime</code> or <code>break_lock()</code> clears it. A contender that finds an empty marker a dead breaker left aside puts it back instead of removing it. <a href="https://redirect.github.com/tox-dev/filelock/pull/846">#846</a> by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li>Fix <code>ReadWriteLock</code> on Windows acting on <code>-journal</code> and <code>-wal</code> files another account places beside its database: an acquire could fail with <code>OperationalError</code>, or SQLite could replay the journal and delete the file it names. The lock now reads the database directory's access control list. Where an account other than the locking account, <code>SYSTEM</code> and <code>Administrators</code> can add or remove names, SQLite opens a hard link inside a directory only those accounts can write. A filesystem without hard links raises <code>OSError</code>. <a href="https://redirect.github.com/tox-dev/filelock/pull/854">#854</a> by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li> <li>Fix <code>SoftReadWriteLock</code> subclasses sharing singleton instances with the base class or sibling subclasses. Each concrete class now keeps its own cache and construction guard, including after fork, while preserving cooperative class-definition keywords. <a href="https://redirect.github.com/tox-dev/filelock/pull/855">#855</a> by <a href="https://github.com/AryanRG"><code>@AryanRG</code></a>.</li> </ul> <h3>New Contributors</h3> <ul> <li><a href="https://github.com/AryanRG"><code>@AryanRG</code></a> made their first contribution in <a href="https://redirect.github.com/tox-dev/filelock/pull/855">#855</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/tox-dev/filelock/blob/main/docs/changelog.rst">filelock's changelog</a>.</em></p> <blockquote> <p>########### Changelog ###########</p> <p>.. towncrier-draft-entries:: Unreleased</p> <p>.. towncrier release notes start</p> <p>.. _release-4-2-10:</p> <hr /> <p>4.2.10 (2026-11-09)</p> <hr /> <p>.. _release-4-2-10-fixed:</p> <h1>Fixed</h1> <ul> <li>Contended :class:<code>~filelock.FileLock</code> and :class:<code>~filelock.SoftFileLock</code> acquisitions now raise :class:<code>~filelock.Timeout</code> when elapsed time reaches the requested timeout. A clock that landed exactly on the deadline previously left a waiter retrying with zero-length sleeps indefinitely (:pr:<code>922</code>) by :user:<code>gaborbernat</code>.</li> </ul> <p>.. _release-4-2-10-packaging:</p> <h1>Packaging</h1> <ul> <li>Every wheel now carries a <code>PEP 770 <https://peps.python.org/pep-0770/></code>_ CycloneDX SBOM in its <code>.dist-info/sboms</code> directory, written at build time by <code>python-sbom <https://github.com/tox-dev/python-sbom></code>_ (:pr:<code>921</code>) by :user:<code>gaborbernat</code>.</li> </ul> <p>.. _release-4-2-9:</p> <hr /> <p>4.2.9 (2026-11-04)</p> <hr /> <p>.. _release-4-2-9-fixed:</p> <h1>Fixed</h1> <ul> <li>:class:<code>~filelock.ReadWriteLock</code>, :class:<code>~filelock.SoftReadWriteLock</code> and their async wrappers now raise :class:<code>TypeError</code> for a <em>blocking</em> that is not a :class:<code>bool</code>, in the constructor and on acquire, as :class:<code>~filelock.FileLock</code> already does. Before, <code>blocking=0</code> waited out the full timeout on a contended :class:<code>~filelock.ReadWriteLock</code> while <code>blocking=False</code> failed at once, and a truthy value such as <code>"false"</code> turned a single attempt into a blocking wait (:pr:<code>908</code>) by :user:<code>abhishekcpp007</code> and :user:<code>gaborbernat</code>.</li> </ul> <p>.. _release-4-2-8:</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tox-dev/filelock/commit/60331bb89f325020b48bc51bde904c6446384e4a"><code>60331bb</code></a> Release 4.2.1</li> <li><a href="https://github.com/tox-dev/filelock/commit/834bf130760b2672615510f0288af1e1dcb7467c"><code>834bf13</code></a> 🧪 test(soft): skip Unix pin test on Windows</li> <li><a href="https://github.com/tox-dev/filelock/commit/9d15e38e50f7dd7f318e912d3bcd5f7697c3f8a1"><code>9d15e38</code></a> fix(soft-rw): isolate subclass singleton registries (<a href="https://redirect.github.com/tox-dev/filelock/issues/855">#855</a>)</li> <li><a href="https://github.com/tox-dev/filelock/commit/e1e825b1992f69fb6b346dc395d5ae4893536c0a"><code>e1e825b</code></a> 🐛 fix(open): keep lock files intact, honor deadlines and mode (<a href="https://redirect.github.com/tox-dev/filelock/issues/835">#835</a>)</li> <li><a href="https://github.com/tox-dev/filelock/commit/5e3f2ec0c5fb17cb2635b60b2b68bc63ab81ca2d"><code>5e3f2ec</code></a> 🐛 fix(read-write): keep SQLite off shared names, bound schema (<a href="https://redirect.github.com/tox-dev/filelock/issues/834">#834</a>)</li> <li><a href="https://github.com/tox-dev/filelock/commit/bfa066d65a1ba9106f86ee9d027f7588b9c77e03"><code>bfa066d</code></a> 🐛 fix(strict): keep claim directories private to the lock (<a href="https://redirect.github.com/tox-dev/filelock/issues/839">#839</a>)</li> <li><a href="https://github.com/tox-dev/filelock/commit/977d2c3990d2d7ccc53abefe6434fa403c35bc70"><code>977d2c3</code></a> 🐛 fix(soft): wait on an empty marker instead of evicting (<a href="https://redirect.github.com/tox-dev/filelock/issues/846">#846</a>)</li> <li><a href="https://github.com/tox-dev/filelock/commit/740ff666b62a88496c8d7394e4e6230605e4d62b"><code>740ff66</code></a> 🐛 fix(soft): break stale markers without emptying the lock path (<a href="https://redirect.github.com/tox-dev/filelock/issues/843">#843</a>)</li> <li><a href="https://github.com/tox-dev/filelock/commit/86c6d5fb9c23bbcc9f20ab7eda0d625305549b64"><code>86c6d5f</code></a> 🐛 fix(async): honor cancellation and per-thread gates (<a href="https://redirect.github.com/tox-dev/filelock/issues/844">#844</a>)</li> <li><a href="https://github.com/tox-dev/filelock/commit/eeceaa846cbe4df72718d94c8371ca1ab8f5b3cc"><code>eeceaa8</code></a> 🐛 fix(soft): keep live holders when owner identity differs (<a href="https://redirect.github.com/tox-dev/filelock/issues/836">#836</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tox-dev/filelock/compare/3.20.3...4.2.1">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yushao Chen (Jerry) <chenys13@outlook.com>
**Context:** Assisted By Codex. Started investigating whether we could make `autograph=True` the default in catalyst. Found an issue when we were iterating over something that couldn't be converted to an array. Right now, capture.autograph turns that it an error. To be a bit more permissive so that autograph can be default, I turn that error into a debug log and fallback to unrolling the for loop. **Description of the Change:** **Benefits:** We might be able to turn autograph on by default soon 🤷♀️ . But autograph gets to be a bit more user friendly. **Possible Drawbacks:** People won't necessarily see that they are getting flattened out loops due to a mistake. **Related GitHub Issues:** Similar to #10422
**Context:** `qp.estimate` Needs to use graph-decomposition to get resource counts for the target gate-set without compilation. Needs these catalyst changes PennyLaneAI/catalyst#3351 **Description of the Change:** Under `estimate.py` used `decompose` and `_decompose_setup_inputs` to create a graph-decomposition transform, and extracted it's kwargs. Called `resources_from_analysis_pass` with keyword params `resource-estimate` and `estimate_kwargs`, to signal that this is for `estimate` and not `analyze` Modified `resources_from_analysis_pass` so it uses keyword params `analysis_pass_name` and `analysis_pass_kwargs` under level = 0 where, estimate for level=top will land. **Benefits:** Integrates with the catalyst changes so `qp.estimate` works. **Possible Drawbacks:** **Related GitHub Issues:** [sc-133278]
**Context:** Pre-commit, local development, and CI use different Tach versions and duplicate formatter settings. **Description of the Change:** - Align Tach on version `0.35.1`. - Run pyupgrade and isort before Black. - Combine regular and labs test linting into one Pylint hook. - Read formatter settings from `pyproject.toml` in CI and the Makefile. **Benefits:** - More consistent checks across environments. - Formatting runs after code rewrites. - Fewer duplicated settings and hooks to maintain. **Possible Drawbacks:** Tach version pins still need to be updated together.
…vels (#10452) **Context:** Implements the `level` API documented in #10441, so `get_compile_pipeline` is the single reference for `level` in `analyze`, `estimate` and `track`. **Description of the Change:** - `get_compile_pipeline` returns the pipeline(s) directly and accepts `"device"`, `"all-user"`, `"all"`, `Slice`, and a `Sequence` of levels. The device preprocessing is a single `Device Preprocessing` level. - `analyze`, `estimate` and `track` share the same level handling. In `analyze`, a `slice` applies only that portion of the pipeline. - Printed `CompilePipeline` indices start at `[0]`. - Removed `preprocess_level_input` and `get_marker_level_map`. **Benefits:** One implementation and one set of docs for `level`. `analyze`, `estimate`, `track` and `get_compile_pipeline` cannot disagree on what a `level` selects. **Possible Drawbacks:** - `get_compile_pipeline(level="device")` no longer lists the device transforms individually. They can be inspected with `qnode.device.preprocess_transforms()`. - Tape-based `construct_batch`, `draw` and `add_noise` keep their own `level` handling, which counts each device transform as a separate level and supports `"gradient"` **Related GitHub Issues:** [sc-136079] Assisted by: Cursor --------- Co-authored-by: ANT0N <39093564+AntonNI8@users.noreply.github.com> Co-authored-by: Ali Asadi <10773383+maliasadi@users.noreply.github.com>
Bumps [soupsieve](https://github.com/facelessuser/soupsieve) from 2.8.3 to 4.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facelessuser/soupsieve/releases">soupsieve's releases</a>.</em></p> <blockquote> <h2>4.0</h2> <ul> <li><strong>BREAK</strong>: The contents of an HTML <code>template</code> are no longer treated as part of the document. Selectors do not descend into a <code>template</code>, and elements inside one can't see beyond it, which also applies to pseudo-classes such as <code>:lang()</code>, <code>:disabled</code>, and <code>:default</code>. <code>select</code> and <code>filter</code> will still reach the contents of a <code>template</code> when they are called on the <code>template</code> itself, for example <code>soup.template.select('p')</code>. See the <a href="https://github.com/facelessuser/soupsieve/blob/faq.md#how-does-template-handling-work">FAQ</a> for more information.</li> <li><strong>BREAK</strong>: The contents of an <code>iframe</code> are no longer treated as a separate document, as they are not one in a browser. Elements in an <code>iframe</code> are normal children, so <code>:root</code> does not match them, and <code>:default</code>, <code>:indeterminate</code>, <code>:checked</code>, <code>:dir()</code>, <code>:lang()</code>, and <code>:read-write</code> treat them like any other element. Recent versions of <code>html.parser</code>, <code>lxml</code>, and <code>html5lib</code> all escape the contents of an <code>iframe</code> like a browser does, so this mostly affects XHTML, Python versions that still don't escape such content in their specific <code>html.parser</code>, and elements added to an <code>iframe</code> by hand. <code>:-soup-contains()</code> now also includes the escaped text in an <code>iframe</code>. See the <a href="https://github.com/facelessuser/soupsieve/blob/faq.md#how-does-iframe-handling-work">FAQ</a> for more information.</li> <li><strong>NEW</strong>: Update <code>:disabled</code> and <code>:enabled</code> to treat <code>option</code> and <code>optgroup</code> elements inside a disabled <code>select</code> as disabled, following a recent HTML specification update.</li> <li><strong>FIX</strong>: Fix the subsequent-sibling combinator and <code>:has(~ ...)</code> never matching top level elements of a fragment that has no root element, unless caching was disabled.</li> <li><strong>FIX</strong>: <code>:indeterminate</code> now treats a radio button group without a form as extending across the whole document instead of the top level element that contains it, and it no longer ignores radio buttons at the top level.</li> <li><strong>FIX</strong>: Fix <code>:default</code> to treat a <code>button</code> with a missing or invalid <code>type</code>, and an <code>input</code> with <code>type="image"</code>, as submit buttons.</li> <li><strong>FIX</strong>: Fix <code>:in-range</code> and <code>:out-of-range</code> raising <code>TypeError</code> when the document contains an <code>input</code> without a <code>type</code> attribute.</li> <li><strong>FIX</strong>: <code>:read-write</code> (and <code>:read-only</code>) now treat <code>contenteditable="plaintext-only"</code> elements as editing hosts and match the editable elements inside an editing host, following the nearest <code>contenteditable</code> state.</li> <li><strong>FIX</strong>: <code>:read-write</code> (and <code>:read-only</code>) now ignore <code>contenteditable</code> on non-HTML elements, such as an SVG <code>foreignObject</code>, as the attribute only applies to HTML elements. Such elements inherit the state of their parent.</li> <li><strong>FIX</strong>: <code>:checked</code> now only matches the last radio button with a <code>checked</code> attribute in a radio button group, as in a browser, where a group is the radio buttons with the same <code>name</code> and form, including the <code>form</code> attribute. <code>:default</code> still matches all of them, and the contents of a <code>template</code> are unaffected as they are not connected.</li> <li><strong>FIX</strong>: <code>:dir()</code> and <code>:defined</code> no longer affect the rest of the selector list they are in. Previously, a selector list that used either of them could not have its combinators cross an <code>iframe</code>, ignored the specified namespaces, and matched nothing in XML, not even the parts that didn't use them. They still do not match in XML, but <code>:not(:dir(ltr))</code> and <code>:not(:defined)</code> now do.</li> <li><strong>FIX</strong>: <code>:default</code> and <code>:indeterminate</code> now honor the <code>form</code> attribute, which can associate a submit button or radio button with a form it is not in, or leave it without a form. It is ignored in a <code>template</code>, as in the HTML specification. Submit buttons outside of a form can now be its default button.</li> <li><strong>FIX</strong>: <code>:default</code>, <code>:checked</code>, and <code>:indeterminate</code> now handle a form inside a form like a browser. In HTML, a browser ignores the nested form and takes its end tag for that of the parent, which matters for parsers that keep the nested form, such as <code>html.parser</code>. In XHTML and in a <code>template</code>, nested forms are real forms.</li> <li><strong>FIX</strong>: <code>:checked</code> now matches the <code>option</code> that a browser would select. Without <code>multiple</code>, that is only the last <code>option</code> with a <code>selected</code> attribute in a <code>select</code>, and if there are none and the <code>select</code> shows a single option, the first <code>option</code> that is not disabled. <code>:default</code> still only considers the <code>selected</code> attribute.</li> <li><strong>FIX</strong>: Fix <code>[attribute!=value]</code> excluding values that only start with the specified value, and in XML documents, <code>type</code> values that contain a newline.</li> <li><strong>FIX</strong>: Match the values of every attribute that the HTML specification lists as ASCII case insensitive (<code>rel</code>, <code>method</code>, <code>lang</code>, <code>dir</code>, ...) without ASCII case sensitivity on HTML elements in HTML documents, not just <code>type</code>. Non-HTML elements are matched case sensitively.</li> <li><strong>FIX</strong>: <code>:dir()</code> now matches non-HTML elements, such as SVG and MathML, by the direction they inherit from their</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/facelessuser/soupsieve/commit/ff1a5ce7e5addc31626d7b6053511fecdb4f6320"><code>ff1a5ce</code></a> Cache ancestor matches in the descendant combinator (<a href="https://redirect.github.com/facelessuser/soupsieve/issues/351">#351</a>)</li> <li><a href="https://github.com/facelessuser/soupsieve/commit/144deae3721e4b02363571e4c802178059b056a4"><code>144deae</code></a> Update docs</li> <li><a href="https://github.com/facelessuser/soupsieve/commit/cce8eb57871f2a655a63e925217adfef10578304"><code>cce8eb5</code></a> Fix iframe tests</li> <li><a href="https://github.com/facelessuser/soupsieve/commit/fcfde021c0145db4436b7daeaf87c77fb75076d5"><code>fcfde02</code></a> Respect iframe boundary and ensure behavior matches browsers</li> <li><a href="https://github.com/facelessuser/soupsieve/commit/f78ac283a2a11dcaaf0f5c1ca3f96c416bbe30a5"><code>f78ac28</code></a> Various spec fixes</li> <li><a href="https://github.com/facelessuser/soupsieve/commit/d305d437416b23044a57eee527c5140d9c83ee1f"><code>d305d43</code></a> Generally fix template handling (<a href="https://redirect.github.com/facelessuser/soupsieve/issues/349">#349</a>)</li> <li><a href="https://github.com/facelessuser/soupsieve/commit/cedc978fccf6f18a502eb5ef8c7ead59c97c9d9a"><code>cedc978</code></a> Respect namespaces provided by the parser when root is not HTML element (<a href="https://redirect.github.com/facelessuser/soupsieve/issues/348">#348</a>)</li> <li><a href="https://github.com/facelessuser/soupsieve/commit/d0e5402eb70f1885a1101a8fbec0102fd9523e63"><code>d0e5402</code></a> Various <code>:dir</code> fixes (<a href="https://redirect.github.com/facelessuser/soupsieve/issues/347">#347</a>)</li> <li><a href="https://github.com/facelessuser/soupsieve/commit/b7bc7d78ae5db77335ca39cc164daffe10ae3d32"><code>b7bc7d7</code></a> Inherit the direction of non-HTML elements in :dir() (<a href="https://redirect.github.com/facelessuser/soupsieve/issues/346">#346</a>)</li> <li><a href="https://github.com/facelessuser/soupsieve/commit/33f905713ed65080d9527e87f6cc5947a158e898"><code>33f9057</code></a> Allow spaces or <code>T</code> in datetime-local value</li> <li>Additional commits viewable in <a href="https://github.com/facelessuser/soupsieve/compare/2.8.3...4.0">compare view</a></li> </ul> </details> <br /> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yushao Chen (Jerry) <chenys13@outlook.com>
Automatic update of test duration files --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Yushao Chen (Jerry) <chenys13@outlook.com>
**Context:** `givens_decomposition` and the complex `BasisRotation` decomposition lose precision for unitaries close to the identity (error ~ `EPS / dt**2`). **Description of the Change:** - `_givens_matrix_core`: replace additive `EPS` regularization by masking the denominators. - `_complex_basis_rotation_decomp`: extract `theta` with `arctan2` instead of `arccos`. - Regression tests for both. **Benefits:** Machine precision for unitaries close to the identity. Unblocks #10362. **Possible Drawbacks:** The cutoff `tol=1e-8` still limits accuracy to ~1e-8 for very small `dt` (see #10509), so the new tests stop at `dt=1e-6`. That is more of a behaviour-changing threshold question that I don't want to pull into this PR. **Related GitHub Issues:** Fixes #10509 This PR was created with AI assistance. --------- Co-authored-by: Cursor <cursoragent@cursor.com>
**Context:** - The work wire accounting for vibronic is unnecessarily generous, we never use all the wires the template currently requires. - Additionally, the order of `AQFT` and coefficient loading in the kinetic fragment code leads to a bug when combined with the phase gradient technique for rotations within the `AQFT`. - Coefficient encoding and phase gradient registers are assumed to have the same size, larger phase gradient sizes make the code crash. - The half-signed multiplier can be made cheaper in space and time by using the controlled add/subtract decomposiiton of `OutMultiplier` and skipping a correction step - If we want to fix an `OutMultiplier` decomposition rule, that may deactivate the rule which swaps the two inputs. In order to reproduce paper numbers, we would like to be able to fix the decomposition though, while using the swap. So we swap the order here manually. **Description of the Change:** - Reduce required work wires to the right size. - Switch the order of encoding and `AQFT`. - Truncate larger phase gradient sizes, as the first b wires of a B>b-qubit phase gradient state form a valid b-qubit phase gradient state. - Make the change to the half-signed multiplier method. - Swap the input registers to the `OutMultiplier` in the quadratic/kinetic terms. **Benefits:** Bug fixes and fewer resources (qubits and gates) for `TrotterVibronic`. **Possible Drawbacks:** **Related GitHub Issues:** Made with AI. --------- Co-authored-by: Cursor <cursoragent@cursor.com>
…ons (#10455) **Context:** Stacked on top of #10395, which removes the custom dispatch of `qp.ctrl`. After that change, controlled `SWAP` and `PauliZ` operators with work wires still cannot use them: the `C(SWAP)` rule always produces a `CSWAP` for one control wire and the `C(PauliZ)` rule always produces a `CCZ` for two control wires, and neither of these custom operators has work wires. Similarly, `C(PhaseShift)` has no decomposition that makes use of zeroed work wires. **Description of the Change:** - The decompositions into `CSWAP` (one control wire) and `CCZ` (two control wires) are now separate decomposition rules for `C(SWAP)` and `C(PauliZ)`. The `MultiControlledX`-based rules apply to any number of control wires, so the graph picks the cheaper route for the gate set. - New `C(PhaseShift)` rule `_controlled_phase_shift_single_phase`: with `c` zeroed work wires, a `TemporaryAND` ladder computes the AND of the `c` controls and the target, a single `PhaseShift` acts on the last work wire, and the ladder is uncomputed with mid-circuit measurements. **Benefits:** - With a zeroed work wire, `C(SWAP)` with one control and `C(PauliZ)` with two controls decompose with 4 T gates instead of 7. - A controlled `PhaseShift` with `c` controls needs a single rotation given `c` zeroed work wires. **Possible Drawbacks:** None expected; the new rules are additional options for the decomposition graph. **Related GitHub Issues:** Depends on #10395. This PR was prepared with the help of an AI coding assistant. --------- Co-authored-by: Astral Cai <astral.cai@xanadu.ai> Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Andrija Paurevic <46359773+andrijapau@users.noreply.github.com>
) **Context:** Part of the series adding an "Available decompositions" table to every `Operator2` subclass with registered decomposition rules, using the `decomposition-table` directive from #10381. **Description of the Change:** "Available decompositions" tables, with circuit thumbnails, for: Incrementer, LeftClassicalComparator, LeftQuantumComparator, OutMultiplier, SemiAdder, SignedOutMultiplier, TemporaryAND, MultiX, FlipSign, QROM, Select, SelectPauliRot. **Benefits:** Users can see what each rule emits and what it costs, and pick one with `fixed_decomps`. **Possible Drawbacks:** Decomposition names are private function names, which will be updated in the future. **Related GitHub Issues:** This PR was prepared with the help of an AI assistant (Claude Code). 🤖 Generated with [Claude Code](https://claude.com/claude-code) [sc-135780](https://app.shortcut.com/xanaduai/story/135780/templates) --------- Co-authored-by: Ali Asadi <10773383+maliasadi@users.noreply.github.com> Co-authored-by: andrijapau <andrija.paurevic@xanadu.ai> Co-authored-by: Andrija Paurevic <46359773+andrijapau@users.noreply.github.com> Co-authored-by: Marcus Edwards <marcusstephenedwards@gmail.com> Co-authored-by: Marcus Edwards <94946848+comp-phys-marc@users.noreply.github.com>
**Context:** Performed by Codex Follows on from #10537 . **Description of the Change:** Performs all the simple standalone fixes that are unblocked. These fix 46 issues to bring us from 4,285 to 4,239. **Benefits:** Better static analysis. **Possible Drawbacks:** Introduces use of `TypeGuard` and `TypeIs`, which were new concepts to me. But I actually really like them. **Related GitHub Issues:**
Bumps [idna](https://github.com/kjd/idna) from 3.11 to 3.15. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/kjd/idna/blob/master/HISTORY.md">idna's changelog</a>.</em></p> <blockquote> <h2>3.15 (2026-05-12)</h2> <ul> <li>Enforce DNS-length cap on individual labels early in <code>check_label</code>, short-circuiting contextual-rule processing for oversized input while staying compatible with UTS 46 usage.</li> <li>Tidy core helpers: hoist bidi category sets to module-level frozensets (avoiding per-codepoint list construction), simplify length checks, and reuse the shared <code>_unicode_dots_re</code> from <code>idna.core</code> in the codec module.</li> <li>Use <code>raise ... from err</code> for proper exception chaining and switch internal string formatting to f-strings.</li> <li>Allow <code>flit_core</code> 4.x in the build backend.</li> <li>Expand the ruff lint set (flake8-bugbear, flake8-simplify, pyupgrade, perflint) and apply the surfaced fixes; pin lint CI to Python 3.14.</li> <li>Add Dependabot configuration for GitHub Actions.</li> <li>Convert README and HISTORY from reStructuredText to Markdown.</li> <li>Reference CVE-2026-45409 for the 3.14 advisory in place of the initial GHSA identifier.</li> </ul> <p>Thanks to Felix Yan, Stan Ulbrych, and metsw24-max for contributions to this release.</p> <h2>3.14 (2026-05-10)</h2> <ul> <li>Removed opportunity to process long inputs into quadratic time by rejecting oversize inputs up-front. Closes a bypass of the CVE-2024-3651 mitigation. [CVE-2026-45409]</li> </ul> <p>Thanks to Stan Ulbrych for reporting the issue.</p> <h2>3.13 (2026-04-22)</h2> <ul> <li>Correct classification error for codepoint U+A7F1</li> </ul> <h2>3.12 (2026-04-21)</h2> <ul> <li>Update to Unicode 17.0.0.</li> <li>Issue a deprecation warning for the transitional argument.</li> <li>Added lazy-loading to provide some performance improvements.</li> <li>Removed vestiges of code related to Python 2 support, including segmentation of data structures specific to Jython.</li> </ul> <p>Thanks to Rodrigo Nogueira for contributions to this release.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/kjd/idna/commit/af30a092e158181d0b35ac66dfa813788126bdd8"><code>af30a09</code></a> Release 3.15</li> <li><a href="https://github.com/kjd/idna/commit/30314d4628744ca14cf2b5820564e5127a9f86f2"><code>30314d4</code></a> Pre-release 3.15rc0</li> <li><a href="https://github.com/kjd/idna/commit/05d4b219aa9eddc47371fcbd2000f0301016f3e9"><code>05d4b21</code></a> Merge pull request <a href="https://redirect.github.com/kjd/idna/issues/237">#237</a> from kjd/convert-docs-to-markdown</li> <li><a href="https://github.com/kjd/idna/commit/2987fdba1962bbb2358399e0084ba062b98a0bee"><code>2987fdb</code></a> Convert README and HISTORY from reStructuredText to Markdown</li> <li><a href="https://github.com/kjd/idna/commit/59fa8002d514bf4a5ce7b58f67b9ec587d53fa9c"><code>59fa800</code></a> Merge pull request <a href="https://redirect.github.com/kjd/idna/issues/236">#236</a> from kjd/dependabot/github_actions/actions-f3e34333ea</li> <li><a href="https://github.com/kjd/idna/commit/def69834ced5d4b3c50439d8b99c4c856ec19ca2"><code>def6983</code></a> Merge branch 'master' into dependabot/github_actions/actions-f3e34333ea</li> <li><a href="https://github.com/kjd/idna/commit/bbd8004a797185d8c56bb555cd5c88fde05e0631"><code>bbd8004</code></a> Merge pull request <a href="https://redirect.github.com/kjd/idna/issues/234">#234</a> from StanFromIreland/patch-1</li> <li><a href="https://github.com/kjd/idna/commit/edd07c05024344a6ccb517414ccb36683aee99fc"><code>edd07c0</code></a> Bump github/codeql-action from 3.35.2 to 4.35.2 in the actions group</li> <li><a href="https://github.com/kjd/idna/commit/5557db030c11bdec50d62aa5f631d705d33ba123"><code>5557db0</code></a> Merge branch 'master' into patch-1</li> <li><a href="https://github.com/kjd/idna/commit/f11746cf4981d25123ef7830d3ee60f07de8ae3d"><code>f11746c</code></a> Merge pull request <a href="https://redirect.github.com/kjd/idna/issues/235">#235</a> from StanFromIreland/patch-2</li> <li>Additional commits viewable in <a href="https://github.com/kjd/idna/compare/v3.11...v3.15">compare view</a></li> </ul> </details> <br /> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yushao Chen (Jerry) <chenys13@outlook.com>
…o chore/names_on_decomp_rules
This reverts commit 535e99d.
This reverts commit 40032c0.
…o chore/names_on_decomp_rules
Co-authored-by: Andrija Paurevic <46359773+andrijapau@users.noreply.github.com>
Contributor
Author
|
Just going to close and rebase |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context: Supported devices are best kept here.
Description of the Change:
Benefits:
Possible Drawbacks:
Related GitHub Issues: