forked from frequenz-floss/frequenz-channels-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 729ecf7
authored
Bump the minor group with 4 updates (frequenz-floss#391)
Bumps the minor group with 4 updates:
[mypy](https://github.com/python/mypy),
[hypothesis](https://github.com/HypothesisWorks/hypothesis),
[pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) and
[setuptools-scm[toml]](https://github.com/pypa/setuptools-scm).
Updates `mypy` from 1.14.1 to 1.15.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>Different Property Getter and Setter Types</h3>
<p>Mypy now supports using different types for property getter and
setter.</p>
<pre lang="python"><code>class A:
value: int
<pre><code>@Property
def f(self) -&gt; int:
return self.value
@f.setter
def f(self, x: str | int) -&gt; None:
try:
self.value = int(x)
except ValueError:
raise Exception(f&quot;'{x}' is not a valid value for 'f'&quot;)
</code></pre>
<p></code></pre></p>
<p>Contributed by Ivan Levkivskyi (PR <a
href="https://redirect.github.com/python/mypy/pull/18510">18510</a>)</p>
<h3>Selectively Disable Deprecated Warnings</h3>
<p>It's now possible to selectively disable warnings generated from
<a
href="https://docs.python.org/3/library/warnings.html#warnings.deprecated"><code>warnings.deprecated</code></a>
using the <a
href="https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-deprecated-calls-exclude"><code>--deprecated-calls-exclude</code></a>
option.</p>
<pre lang="python"><code># mypy --enable-error-code deprecated
# --deprecated-calls-exclude=foo.A
import foo
<p>foo.A().func() # OK, the deprecated warning is ignored</p>
<h1>file foo.py</h1>
<p>from typing_extensions import deprecated<br />
class A:<br />
<a
href="https://github.com/deprecated"><code>@deprecated</code></a>("Use
A.func2 instead")<br />
def func(self): pass<br />
</code></pre></p>
<p>Contributed by Marc Mueller (PR <a
href="https://redirect.github.com/python/mypy/pull/18641">18641</a>)</p>
<h2>Mypy 1.15</h2>
<p>We’ve just uploaded mypy 1.15 to the Python Package Index (<a
href="https://pypi.org/project/mypy/">PyPI</a>).</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/python/mypy/commit/9397454fb5aead107461b089e7cf190bf538d20a"><code>9397454</code></a>
remove +dev from version ahead of final release</li>
<li><a
href="https://github.com/python/mypy/commit/686b591a69db216f714ad50698db785f4ac63eb0"><code>686b591</code></a>
remove "unreleased" from 1.15 changelog entry</li>
<li><a
href="https://github.com/python/mypy/commit/cb4b243a5d9e03173e3e7275e5b92b98afaefb60"><code>cb4b243</code></a>
Various small updates to 1.15 changelog (<a
href="https://redirect.github.com/python/mypy/issues/18599">#18599</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/1a265024f901399c701a772e8c1f9e6e110f45e6"><code>1a26502</code></a>
Prepare changelog for 1.15 release (<a
href="https://redirect.github.com/python/mypy/issues/18583">#18583</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/d4515e4ad3eee6318744c64cf2eab0ea0b5b7562"><code>d4515e4</code></a>
Fix a few PR links in the changelog (<a
href="https://redirect.github.com/python/mypy/issues/18586">#18586</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/f83b6435b0c07a327f6b567dfb5e79ffa36708a2"><code>f83b643</code></a>
Add object self-type to tuple test fixture (<a
href="https://redirect.github.com/python/mypy/issues/18592">#18592</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/ebc2cb8befbadfc10b962af018b3fa3842d3fd87"><code>ebc2cb8</code></a>
Prevent crash on generic NamedTuple with unresolved typevar bound (<a
href="https://redirect.github.com/python/mypy/issues/18585">#18585</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/63c251e249e52256629dbe8b8334937a092f792d"><code>63c251e</code></a>
empty commit to trigger wheel rebuild</li>
<li><a
href="https://github.com/python/mypy/commit/c30573e7b95eef9d057ff42ebfd326438dac3c42"><code>c30573e</code></a>
Fix literal context for ternary expressions (for real) (<a
href="https://redirect.github.com/python/mypy/issues/18545">#18545</a>)</li>
<li><a
href="https://github.com/python/mypy/commit/23d862dd6fbb905a69bcb31e88746dc7a1eb4a43"><code>23d862d</code></a>
Fix isinstance with explicit (non generic) type alias (<a
href="https://redirect.github.com/python/mypy/issues/18512">#18512</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/python/mypy/compare/v1.14.1...v1.15.0">compare
view</a></li>
</ul>
</details>
<br />
Updates `hypothesis` from 6.124.9 to 6.130.4
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/HypothesisWorks/hypothesis/releases">hypothesis's
releases</a>.</em></p>
<blockquote>
<h2>Hypothesis for Python - version 6.130.4</h2>
<p>Improve an additional interaction between the hypothesis-crosshair
backend and our observability tools.</p>
<p><em><a
href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-130-4">The
canonical version of these notes (with links) is on
readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.130.3</h2>
<p>This patch improves the interaction between the hypothesis-crosshair
backend and our observability tools.</p>
<p><em><a
href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-130-3">The
canonical version of these notes (with links) is on
readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.130.2</h2>
<p>Fix an issue with realizing symbolic values provided by alternative
backends when Hypothesis encounters an internal error in its engine.</p>
<p><em><a
href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-130-2">The
canonical version of these notes (with links) is on
readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.130.1</h2>
<p>Improve the documentation for some strategies, including "<a
href="https://github.com/composite"><code>@composite</code></a>"
and "data()".</p>
<p><em><a
href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-130-1">The
canonical version of these notes (with links) is on
readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.130.0</h2>
<p>Nesting "<a
href="https://github.com/given"><code>@given</code></a>" inside of
"<a href="https://github.com/given"><code>@given</code></a>"
is now a health check failure.
Nesting "<a
href="https://github.com/given"><code>@given</code></a>" results
in quadratic generation and shrinking
behavior, and can usually be more cleanly expressed by replacing the
inner function with a "data()" parameter on the outer given.
For more
details, see "nested_given". (issue <a
href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4167">#4167</a>)</p>
<p><em><a
href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-130-0">The
canonical version of these notes (with links) is on
readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.129.5</h2>
<p>Fixes an internal error when certain alternative backends find a
failure on their very first generated example.</p>
<p><em><a
href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-129-5">The
canonical version of these notes (with links) is on
readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.129.4</h2>
<p>"nothing()" is now typed as
"SearchStrategy[Never]", because no value
can ever be drawn from it. This may help type checkers statically
determine that some code is not reachable.</p>
<p><em><a
href="https://hypothesis.readthedocs.io/en/latest/changes.html#v6-129-4">The
canonical version of these notes (with links) is on
readthedocs.</a></em></p>
<h2>Hypothesis for Python - version 6.129.3</h2>
<p>This patch improves the string representation of
"fixed_dictionaries()".</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/HypothesisWorks/hypothesis/commit/5827513f292c18cddd512ae3dec9878fb468bc1e"><code>5827513</code></a>
Bump hypothesis-python version to 6.130.4 and update changelog</li>
<li><a
href="https://github.com/HypothesisWorks/hypothesis/commit/2042d56c8e65ce5f5fc52a880fe78ffae8d4269e"><code>2042d56</code></a>
Merge pull request <a
href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4321">#4321</a>
from tybug/crosshair-tests</li>
<li><a
href="https://github.com/HypothesisWorks/hypothesis/commit/0c31e41d94cc216c08bbeada62a4640bbd617649"><code>0c31e41</code></a>
tweak crosshair tests</li>
<li><a
href="https://github.com/HypothesisWorks/hypothesis/commit/ab03f07d9c76791169fa8c50f278d9b60c565535"><code>ab03f07</code></a>
add release notes</li>
<li><a
href="https://github.com/HypothesisWorks/hypothesis/commit/2ec20d55b2ce19628581179af2b2e8aba107e0b9"><code>2ec20d5</code></a>
add back thread safety policy and add more details.html redirects</li>
<li><a
href="https://github.com/HypothesisWorks/hypothesis/commit/869b5b5b9d8c17deaaffe5608cd5d28d786caf17"><code>869b5b5</code></a>
dont add json constraint to bool, add test for number of crosshair
choices</li>
<li><a
href="https://github.com/HypothesisWorks/hypothesis/commit/f7f60ac736a98c08001089d0dde2cee421aab8b3"><code>f7f60ac</code></a>
Bump hypothesis-python version to 6.130.3 and update changelog</li>
<li><a
href="https://github.com/HypothesisWorks/hypothesis/commit/e66f7fbb3e87bd25979736ee58be43ed9d15cb98"><code>e66f7fb</code></a>
Merge pull request <a
href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4034">#4034</a>
from Zac-HD/crosshair-in-ci</li>
<li><a
href="https://github.com/HypothesisWorks/hypothesis/commit/159c3b82b7c7715b15e11b1e754885ba1c28115a"><code>159c3b8</code></a>
update extras link</li>
<li><a
href="https://github.com/HypothesisWorks/hypothesis/commit/2b50425f7b62407e8ffcee764785ceb96c73bf61"><code>2b50425</code></a>
Skip crosshair-incompatible tests</li>
<li>Additional commits viewable in <a
href="https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.124.9...hypothesis-python-6.130.4">compare
view</a></li>
</ul>
</details>
<br />
Updates `pytest-asyncio` from 0.25.3 to 0.26.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pytest-asyncio/releases">pytest-asyncio's
releases</a>.</em></p>
<blockquote>
<h2>pytest-asyncio 0.26.0</h2>
<ul>
<li>Adds configuration option that sets default event loop scope for all
tests <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/793">#793</a></li>
<li>Improved type annotations for <code>pytest_asyncio.fixture</code> <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/1045">#1045</a></li>
<li>Added <code>typing-extensions</code> as additional dependency for
Python <code><3.10</code> <a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/1045">#1045</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/4f8ce457b0a52eba1233349e740ca9e7fb400804"><code>4f8ce45</code></a>
docs: Prepare release of v0.26.0.</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/498e8a7786b85027bd8e9992f8af6a05a90e3786"><code>498e8a7</code></a>
Build(deps): Bump attrs from 25.1.0 to 25.3.0 in
/dependencies/default</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/01c22ffb63f3bdd158b7d35bd14f8a45ba35338e"><code>01c22ff</code></a>
build: Update project metadata to use SPDX license identifier</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/78191c98ed4792cd9352bfff0885cc041ee2b1ed"><code>78191c9</code></a>
[pre-commit.ci] pre-commit autoupdate</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/9a455516ea423fd29c3f45878713ca1715b899e6"><code>9a45551</code></a>
Build(deps): Bump hypothesis in /dependencies/default</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/66804094397afc7b4c905c113209a89e4df7a3d5"><code>6680409</code></a>
Build(deps): Bump coverage from 7.7.0 to 7.7.1 in
/dependencies/default</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/aa82c574feae8611170150222b41bd4c1e72855d"><code>aa82c57</code></a>
Build(deps): Bump iniconfig from 2.0.0 to 2.1.0 in
/dependencies/default</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/cca587ea4f2c09b1b25b56cb4a22c44677cf27fc"><code>cca587e</code></a>
[pre-commit.ci] pre-commit autoupdate</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/5d90b296218ef8c3d2bbafd70736bece18eeb984"><code>5d90b29</code></a>
Build(deps): Bump hypothesis in /dependencies/default</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/c2622628b6ca1f2d583df375cc370070c2c0c54e"><code>c262262</code></a>
Build(deps): Bump coverage from 7.6.12 to 7.7.0 in
/dependencies/default</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest-asyncio/compare/v0.25.3...v0.26.0">compare
view</a></li>
</ul>
</details>
<br />
Updates `setuptools-scm[toml]` from 8.1.0 to 8.2.0
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pypa/setuptools-scm/blob/main/CHANGELOG.md">setuptools-scm[toml]'s
changelog</a>.</em></p>
<blockquote>
<h2>v8.2.0</h2>
<h3>Added</h3>
<ul>
<li>fix <a
href="https://redirect.github.com/pypa/setuptools-scm/issues/960">#960</a>:
add a <code>--force-write-version-files</code> flag for the cli</li>
</ul>
<h3>Changed</h3>
<ul>
<li>fix <a
href="https://redirect.github.com/pypa/setuptools-scm/issues/950">#950</a>:
ensure to pass encodings to io usage</li>
<li>fix <a
href="https://redirect.github.com/pypa/setuptools-scm/issues/957">#957</a>:
add subprocess timeout control env var</li>
<li>add sp-repo-review pre-commit hook</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>fix <a
href="https://redirect.github.com/pypa/setuptools-scm/issues/1018">#1018</a>:
allow non-normalized versions for semver</li>
<li>fix <a
href="https://redirect.github.com/pypa/setuptools-scm/issues/1103">#1103</a>:
respect GIT_CEILING_DIRECTORIES when trying to find git toplevels</li>
<li>fix <a
href="https://redirect.github.com/pypa/setuptools-scm/issues/1081">#1081</a>:
add name normalized pipx entrypoint</li>
<li>fix <a
href="https://redirect.github.com/pypa/setuptools-scm/issues/1080">#1080</a>:
clean pdm from PYTHONPATH to protect mercurial</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pypa/setuptools-scm/commit/e554978c2fa77d187061ba2bfa2553b0a2d26a85"><code>e554978</code></a>
complete changelog to reasonable accuracy for quick release</li>
<li><a
href="https://github.com/pypa/setuptools-scm/commit/260dcf09791193ed0f07f2026be0e7cb61ef370b"><code>260dcf0</code></a>
chore: scriv collect</li>
<li><a
href="https://github.com/pypa/setuptools-scm/commit/836eb426d34f2f0eb149de0192da56e841f287b0"><code>836eb42</code></a>
Merge pull request <a
href="https://redirect.github.com/pypa/setuptools-scm/issues/1096">#1096</a>
from DimitriPapadopoulos/ruff_0.9.1</li>
<li><a
href="https://github.com/pypa/setuptools-scm/commit/98b70785ab99ee32b6863c32d0fc844cd2c3dd95"><code>98b7078</code></a>
Merge pull request <a
href="https://redirect.github.com/pypa/setuptools-scm/issues/1106">#1106</a>
from Ecordonnier/eco/git-ceiling-directories</li>
<li><a
href="https://github.com/pypa/setuptools-scm/commit/7d4e94c915077a06b6a419533e77ea919b6c45a1"><code>7d4e94c</code></a>
Merge pull request <a
href="https://redirect.github.com/pypa/setuptools-scm/issues/1104">#1104</a>
from jezdez/patch-1</li>
<li><a
href="https://github.com/pypa/setuptools-scm/commit/0b82e5d134d6ddf118969319e30db9997f0acd75"><code>0b82e5d</code></a>
[pre-commit.ci] auto fixes from pre-commit.com hooks</li>
<li><a
href="https://github.com/pypa/setuptools-scm/commit/979d79301da678d305c12e5c4bdee139705fcc14"><code>979d793</code></a>
respect GIT_CEILING_DIRECTORIES</li>
<li><a
href="https://github.com/pypa/setuptools-scm/commit/68c6b2069576c6cbf2cf2e1b95b4e39656ffee4e"><code>68c6b20</code></a>
Add missing code block end.</li>
<li><a
href="https://github.com/pypa/setuptools-scm/commit/9b6f0319c8f87342224150a482999953132c54bd"><code>9b6f031</code></a>
Merge pull request <a
href="https://redirect.github.com/pypa/setuptools-scm/issues/1102">#1102</a>
from paugier/error-message-env-var</li>
<li><a
href="https://github.com/pypa/setuptools-scm/commit/2b0722fafa8b11b69a65073e13a00caf6b86a75b"><code>2b0722f</code></a>
Mention SETUPTOOLS_SCM_PRETEND_VERSION_FOR in error message</li>
<li>Additional commits viewable in <a
href="https://github.com/pypa/setuptools-scm/compare/v8.1.0...v8.2.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>File tree
Expand file treeCollapse file tree
1 file changed
+4
-4
lines changedOpen diff view settings
Filter options
Expand file treeCollapse file tree
1 file changed
+4
-4
lines changedOpen diff view settings
Collapse file
+4-4Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
0 commit comments