Bump the python-requirements group across 1 directory with 4 updates
Bumps the python-requirements group with 4 updates in the /requirements directory: [mypy](https://github.com/python/mypy), [pallets-sphinx-themes](https://github.com/pallets/pallets-sphinx-themes), [pyright](https://github.com/RobertCraigie/pyright-python) and [build](https://github.com/pypa/build).
Updates `mypy` from 1.11.2 to 1.13.0
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/python/mypy/blob/master/CHANGELOG.md">mypy's changelog</a>.</em></p>
<blockquote>
<h1>Mypy Release Notes</h1>
<h2>Next release</h2>
<h3>Change to enum membership semantics</h3>
<p>As per the updated <a href="https://typing.readthedocs.io/en/latest/spec/enums.html#defining-members">typing specification for enums</a>,
enum members must be left unannotated.</p>
<pre lang="python"><code>class Pet(Enum):
CAT = 1 # Member attribute
DOG = 2 # Member attribute
WOLF: int = 3 # New error: Enum members must be left unannotated
<pre><code>species: str # Considered a non-member attribute
</code></pre>
<p></code></pre></p>
<p>In particular, the specification change can result in issues in type stubs (<code>.pyi</code> files), since
historically it was common to leave the value absent:</p>
<pre lang="python"><code># In a type stub (.pyi file)
<p>class Pet(Enum):<br />
# Change in semantics: previously considered members, now non-member attributes<br />
CAT: int<br />
DOG: int</p>
<pre><code># Mypy will now issue a warning if it detects this situation in type stubs:
# &gt; Detected enum &quot;Pet&quot; in a type stub with zero members.
# &gt; There is a chance this is due to a recent change in the semantics of enum membership.
# &gt; If so, use `member = value` to mark an enum member, instead of `member: type`
</code></pre>
<p>class Pet(Enum):<br />
# As per the specification, you should now do one of the following:<br />
DOG = 1 # Member attribute with value 1 and known type<br />
WOLF = cast(int, ...) # Member attribute with unknown value but known type<br />
LION = ... # Member attribute with unknown value and unknown type<br />
</code></pre></p>
<p>Contributed by Terence Honles in PR <a href="https://redirect.github.com/python/mypy/pull/17207">17207</a> and
Shantanu Jain in PR <a href="https://redirect.github.com/python/mypy/pull/18068">18068</a>.</p>
<h2>Mypy 1.13</h2>
<p>We’ve just uploaded mypy 1.13 to the Python Package Index (<a href="https://pypi.org/project/mypy/">PyPI</a>).
Mypy is a static type checker for Python. You can install it as follows:</p>
<pre><code>python3 -m pip install -U mypy
</code></pre>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/python/mypy/commit/eb310343be0399ea6755fabc259755ce1f6711e8"><code>eb31034</code></a> Bump version to 1.13.0</li>
<li><a href="https://github.com/python/mypy/commit/2eeb5880184970ae1c0b20c0e06855b6d311bc19"><code>2eeb588</code></a> Update changelog for 1.12.1 (<a href="https://redirect.github.com/python/mypy/issues/17999">#17999</a>)</li>
<li><a href="https://github.com/python/mypy/commit/bc0386b7f96aa131cbf345698a22a9d4b79e9cb4"><code>bc0386b</code></a> Changelog for 1.13 (<a href="https://redirect.github.com/python/mypy/issues/18000">#18000</a>)</li>
<li><a href="https://github.com/python/mypy/commit/5c4d2db7009fa9035b8b3fcffe25182aaa4dc846"><code>5c4d2db</code></a> Add faster-cache extra, test in CI (<a href="https://redirect.github.com/python/mypy/issues/17978">#17978</a>)</li>
<li><a href="https://github.com/python/mypy/commit/854ad189ab7c4f487950ad34e142fd327dce3227"><code>854ad18</code></a> Make is_sub_path faster (<a href="https://redirect.github.com/python/mypy/issues/17962">#17962</a>)</li>
<li><a href="https://github.com/python/mypy/commit/50aa4ca8425d0bb668d514b8ee5c6aeacb605b27"><code>50aa4ca</code></a> Speed up stubs suggestions (<a href="https://redirect.github.com/python/mypy/issues/17965">#17965</a>)</li>
<li><a href="https://github.com/python/mypy/commit/7c27808a0be2fc205788a826be83cbb0a68f89e1"><code>7c27808</code></a> Use orjson instead of json, when available (<a href="https://redirect.github.com/python/mypy/issues/17955">#17955</a>)</li>
<li><a href="https://github.com/python/mypy/commit/2cd2406117e86838de36a9f73ba47c67fa763e1a"><code>2cd2406</code></a> Use fast path in modulefinder more often (<a href="https://redirect.github.com/python/mypy/issues/17950">#17950</a>)</li>
<li><a href="https://github.com/python/mypy/commit/e20aaeeaa215b2e617d460599c4310427ba8f902"><code>e20aaee</code></a> Let mypyc optimise os.path.join (<a href="https://redirect.github.com/python/mypy/issues/17949">#17949</a>)</li>
<li><a href="https://github.com/python/mypy/commit/159974cc59de459cfb3e31ba3e1d8f279734f66d"><code>159974c</code></a> Use sha1 for hashing (<a href="https://redirect.github.com/python/mypy/issues/17953">#17953</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/python/mypy/compare/v1.11.2...v1.13.0">compare view</a></li>
</ul>
</details>
<br />
Updates `pallets-sphinx-themes` from 2.1.3 to 2.3.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/pallets/pallets-sphinx-themes/releases">pallets-sphinx-themes's releases</a>.</em></p>
<blockquote>
<h2>2.3.0</h2>
<p>This is the Pallets-Sphinx-Themes 2.3.0 feature release.</p>
<p>PyPI: <a href="https://pypi.org/project/Pallets-Sphinx-Themes/2.3.0/">https://pypi.org/project/Pallets-Sphinx-Themes/2.3.0/</a>
Changes: <a href="https://github.com/pallets/pallets-sphinx-themes/blob/main/CHANGES.rst#version-230">https://github.com/pallets/pallets-sphinx-themes/blob/main/CHANGES.rst#version-230</a></p>
<ul>
<li>When getting the canonical URL on Read the Docs, replace the path with <code>/en/stable/</code> instead of <code>/page/</code>. This can be configured with <code>rtd_canonical_path</code>. <a href="https://redirect.github.com/pallets/pallets-sphinx-themes/issues/122">#122</a></li>
<li>The version banner can be disabled by setting <code>version_banner = False</code>. On Read the Docs, it is disabled when building the <code>stable</code> version or PRs. <a href="https://redirect.github.com/pallets/pallets-sphinx-themes/issues/123">#123</a></li>
</ul>
<h2>2.2.0</h2>
<p>This is the Pallets-Sphinx-Themes 2.2.0 feature release.</p>
<p>PyPI: <a href="https://pypi.org/project/Pallets-Sphinx-Themes/2.2.0/">https://pypi.org/project/Pallets-Sphinx-Themes/2.2.0/</a>
Changes: <a href="https://github.com/pallets/pallets-sphinx-themes/blob/main/CHANGES.rst#version-220">https://github.com/pallets/pallets-sphinx-themes/blob/main/CHANGES.rst#version-220</a></p>
<ul>
<li>Get canonical URL from environment variable when building on Read the Docs. <a href="https://redirect.github.com/pallets/pallets-sphinx-themes/issues/117">#117</a></li>
<li>New version warning banner. Use JavaScript to query PyPI when viewing a page, rather than baking the warning into the build. New builds of old versions are no longer required for the banner to be correct. <a href="https://redirect.github.com/pallets/pallets-sphinx-themes/issues/117">#117</a></li>
<li>Generate 404 page using the sphinx-notfound-page extension. This fixes the URLs when the page is hosted so that it loads the CSS. <a href="https://redirect.github.com/pallets/pallets-sphinx-themes/issues/34">#34</a></li>
<li>Remove handling for <code>singlehtml_sidebars</code> config which predated Sphinx's support. <a href="https://redirect.github.com/pallets/pallets-sphinx-themes/issues/119">#119</a></li>
<li>Remove "babel" and "platter" theme variants which were undocumented and did not appear to be used by the relevant projects. <a href="https://redirect.github.com/pallets/pallets-sphinx-themes/issues/120">#120</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/pallets/pallets-sphinx-themes/blob/main/CHANGES.rst">pallets-sphinx-themes's changelog</a>.</em></p>
<blockquote>
<h2>Version 2.3.0</h2>
<p>Released 2024-10-24</p>
<ul>
<li>When getting the canonical URL on Read the Docs, replace the path with
<code>/en/stable/</code> instead of <code>/page/</code>. This can be configured with
<code>rtd_canonical_path</code>. :pr:<code>122</code></li>
<li>The version banner can be disabled by setting <code>version_banner = False</code>.
On Read the Docs, it is disabled when building the <code>stable</code> version or
PRs. :pr:<code>123</code></li>
</ul>
<h2>Version 2.2.0</h2>
<p>Released 2024-10-15</p>
<ul>
<li>Get canonical URL from environment variable when building on Read the Docs.
:pr:<code>117</code></li>
<li>New version warning banner. Use JavaScript to query PyPI when viewing a
page, rather than baking the warning into the build. New builds of old
versions are no longer required for the banner to be correct. :pr:<code>117</code></li>
<li>Generate 404 page using the sphinx-notfound-page extension. This fixes the
URLs when the page is hosted so that it loads the CSS. :issue:<code>34</code></li>
<li>Remove handling for <code>singlehtml_sidebars</code> config which predated Sphinx's
support. :pr:<code>119</code></li>
<li>Remove "babel" and "platter" theme variants which were undocumented and did
not appear to be used by the relevant projects. :pr:<code>120</code></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/pallets/pallets-sphinx-themes/commit/e9821ca01df84b9ca672fe2df59d1795f8956f0b"><code>e9821ca</code></a> release version 2.3.0</li>
<li><a href="https://github.com/pallets/pallets-sphinx-themes/commit/e02fc950efd03da53048315ad8532148d5f98755"><code>e02fc95</code></a> allow disabling version banner (<a href="https://redirect.github.com/pallets/pallets-sphinx-themes/issues/123">#123</a>)</li>
<li><a href="https://github.com/pallets/pallets-sphinx-themes/commit/338bc4b19101e594a5e20d78aae088847d00d0fc"><code>338bc4b</code></a> allow disabling version banner</li>
<li><a href="https://github.com/pallets/pallets-sphinx-themes/commit/ebf9ad2ddd63b37df4c77021be1aac2574667be7"><code>ebf9ad2</code></a> banner works if no canonical link is set</li>
<li><a href="https://github.com/pallets/pallets-sphinx-themes/commit/96537ebc1db3c56ef98f8db43208ecc4ee0b2ea0"><code>96537eb</code></a> canonical url doesn't use page redirect (<a href="https://redirect.github.com/pallets/pallets-sphinx-themes/issues/122">#122</a>)</li>
<li><a href="https://github.com/pallets/pallets-sphinx-themes/commit/ae8fe3c6e5c5b4d6960a8ebdd6a6346203649b67"><code>ae8fe3c</code></a> canonical url doesn't use page redirect</li>
<li><a href="https://github.com/pallets/pallets-sphinx-themes/commit/cf3a014460c17da1beabe95a31e90b118091e8d1"><code>cf3a014</code></a> start version 2.3.0</li>
<li><a href="https://github.com/pallets/pallets-sphinx-themes/commit/fd53eddba402130341f3d75bc81ec72f375bc4fe"><code>fd53edd</code></a> release version 2.2.0 (<a href="https://redirect.github.com/pallets/pallets-sphinx-themes/issues/121">#121</a>)</li>
<li><a href="https://github.com/pallets/pallets-sphinx-themes/commit/07eb36fe1e2130c009cccb5b42f648389341b28e"><code>07eb36f</code></a> release version 2.2.0</li>
<li><a href="https://github.com/pallets/pallets-sphinx-themes/commit/d937e3e896f90605268e5f3257f3fae8ade4f3ef"><code>d937e3e</code></a> update dev dependencies</li>
<li>Additional commits viewable in <a href="https://github.com/pallets/pallets-sphinx-themes/compare/2.1.3...2.3.0">compare view</a></li>
</ul>
</details>
<br />
Updates `pyright` from 1.1.382.post1 to 1.1.389
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/RobertCraigie/pyright-python/commit/dc8af99175b14654386d175a8e6c63a0682117df"><code>dc8af99</code></a> [pyright updated to 1.1.389] Update Version (<a href="https://redirect.github.com/RobertCraigie/pyright-python/issues/323">#323</a>)</li>
<li><a href="https://github.com/RobertCraigie/pyright-python/commit/f319c1034087287f79f7a8f57df8fe7bc96d5dda"><code>f319c10</code></a> [pyright updated to 1.1.388] Update Version (<a href="https://redirect.github.com/RobertCraigie/pyright-python/issues/322">#322</a>)</li>
<li><a href="https://github.com/RobertCraigie/pyright-python/commit/795fdcb2cf22164ac105f74fd1f25b5cf6276753"><code>795fdcb</code></a> Pyright NPM Package update to 1.1.387 (<a href="https://redirect.github.com/RobertCraigie/pyright-python/issues/317">#317</a>)</li>
<li><a href="https://github.com/RobertCraigie/pyright-python/commit/5c70ccc0c13ee2f102513299b63f7585597133c7"><code>5c70ccc</code></a> Pyright NPM Package update to 1.1.386 (<a href="https://redirect.github.com/RobertCraigie/pyright-python/issues/316">#316</a>)</li>
<li><a href="https://github.com/RobertCraigie/pyright-python/commit/afc94370e733cc1ede6520d5a8f2f5a49be85c6a"><code>afc9437</code></a> Pyright NPM Package update to 1.1.385 (<a href="https://redirect.github.com/RobertCraigie/pyright-python/issues/314">#314</a>)</li>
<li><a href="https://github.com/RobertCraigie/pyright-python/commit/5d9f60e04975ab1935dda05cc4ec0b30f05e1edb"><code>5d9f60e</code></a> [pyright updated to 1.1.384] Update Version (<a href="https://redirect.github.com/RobertCraigie/pyright-python/issues/313">#313</a>)</li>
<li><a href="https://github.com/RobertCraigie/pyright-python/commit/cd5d458e03deea2b1ddacead53cda25930a97d37"><code>cd5d458</code></a> Pyright NPM Package update to 1.1.383 (<a href="https://redirect.github.com/RobertCraigie/pyright-python/issues/312">#312</a>)</li>
<li>See full diff in <a href="https://github.com/RobertCraigie/pyright-python/compare/v1.1.382.post1...v1.1.389">compare view</a></li>
</ul>
</details>
<br />
Updates `build` from 1.2.2 to 1.2.2.post1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/pypa/build/releases">build's releases</a>.</em></p>
<blockquote>
<h2>1.2.2.post1</h2>
<!-- raw HTML omitted -->
<p>This release only makes metadata (Python 3.13 classifier), docs, and test suite changes.</p>
<h2>What's Changed</h2>
<ul>
<li>ci: add Python 3.13 by <a href="https://github.com/henryiii"><code>@henryiii</code></a> in <a href="https://redirect.github.com/pypa/build/pull/815">pypa/build#815</a></li>
<li>docs: mention conda-forge name in README by <a href="https://github.com/henryiii"><code>@henryiii</code></a> in <a href="https://redirect.github.com/pypa/build/pull/816">pypa/build#816</a></li>
<li>docs: add a missing ` in README by <a href="https://github.com/SigureMo"><code>@SigureMo</code></a> in <a href="https://redirect.github.com/pypa/build/pull/817">pypa/build#817</a></li>
<li>tests: fix under pyproject-hooks 1.2 by <a href="https://github.com/layday"><code>@layday</code></a> in <a href="https://redirect.github.com/pypa/build/pull/824">pypa/build#824</a></li>
<li>ci: add PyPI attestations by <a href="https://github.com/henryiii"><code>@henryiii</code></a> in <a href="https://redirect.github.com/pypa/build/pull/821">pypa/build#821</a></li>
<li>chore: 1.2.2.post1 by <a href="https://github.com/henryiii"><code>@henryiii</code></a> in <a href="https://redirect.github.com/pypa/build/pull/820">pypa/build#820</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/SigureMo"><code>@SigureMo</code></a> made their first contribution in <a href="https://redirect.github.com/pypa/build/pull/817">pypa/build#817</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/pypa/build/compare/1.2.2...1.2.2.post1">https://github.com/pypa/build/compare/1.2.2...1.2.2.post1</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/pypa/build/blob/main/CHANGELOG.rst">build's changelog</a>.</em></p>
<blockquote>
<p>+++++++++
Changelog
+++++++++</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/pypa/build/commit/2f667024a90718da24c5bdfdb264944436adf82e"><code>2f66702</code></a> chore: 1.2.2.post1 (<a href="https://redirect.github.com/pypa/build/issues/820">#820</a>)</li>
<li><a href="https://github.com/pypa/build/commit/0580c6d125fd5479dae3dde36923bfd9b5220a37"><code>0580c6d</code></a> ci: add PyPI attestations (<a href="https://redirect.github.com/pypa/build/issues/821">#821</a>)</li>
<li><a href="https://github.com/pypa/build/commit/e0e911cc895ca22559be2b80b04be27e33220b87"><code>e0e911c</code></a> tests: fix under pyproject-hooks 1.2</li>
<li><a href="https://github.com/pypa/build/commit/a73ecbdf16d8a8abb44cbbe95e9ab5f8f2a7c9b9"><code>a73ecbd</code></a> pre-commit: bump repositories</li>
<li><a href="https://github.com/pypa/build/commit/56b350439e54d164aed89f251dc39eb7536c0b71"><code>56b3504</code></a> pre-commit: bump repositories (<a href="https://redirect.github.com/pypa/build/issues/819">#819</a>)</li>
<li><a href="https://github.com/pypa/build/commit/481ca546a5c9f50f255d245fb75d841f2e2e0d4b"><code>481ca54</code></a> pre-commit: bump repositories (<a href="https://redirect.github.com/pypa/build/issues/818">#818</a>)</li>
<li><a href="https://github.com/pypa/build/commit/025836ae620e22d017396f7712237b8423b1f5c1"><code>025836a</code></a> docs: add a missing ` in README (<a href="https://redirect.github.com/pypa/build/issues/817">#817</a>)</li>
<li><a href="https://github.com/pypa/build/commit/ae373408f0d4541e9ec8ce711b640ad2faddce4e"><code>ae37340</code></a> docs: mention conda-forge name in README (<a href="https://redirect.github.com/pypa/build/issues/816">#816</a>)</li>
<li><a href="https://github.com/pypa/build/commit/f81aac058003f6df7414b19e45c848c8b7ed7c75"><code>f81aac0</code></a> ci: add Python 3.13 (<a href="https://redirect.github.com/pypa/build/issues/815">#815</a>)</li>
<li>See full diff in <a href="https://github.com/pypa/build/compare/1.2.2...1.2.2.post1">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>
合并状态:未合并 0 条评论