Skip to content

Commit e4e46d2

Browse files
authored
Build(deps): Bump the minor group with 3 updates (#60)
Bumps the minor group with 3 updates: [mypy](https://github.com/python/mypy), [hypothesis](https://github.com/HypothesisWorks/hypothesis) and [setuptools](https://github.com/pypa/setuptools). Updates `mypy` from 1.15.0 to 1.16.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> <h2>Mypy 1.16</h2> <p>We’ve just uploaded mypy 1.16 to the Python Package Index (<a href="https://pypi.org/project/mypy/">PyPI</a>). Mypy is a static type checker for Python. This release includes new features and bug fixes. You can install it as follows:</p> <pre><code>python3 -m pip install -U mypy </code></pre> <p>You can read the full documentation for this release on <a href="http://mypy.readthedocs.io">Read the Docs</a>.</p> <h3>Different Property Getter and Setter Types</h3> <p>Mypy now supports using different types for a property getter and setter:</p> <pre lang="python"><code>class A: _value: int <pre><code>@Property def foo(self) -&amp;gt; int: return self._value @foo.setter def foo(self, x: str | int) -&amp;gt; None: try: self._value = int(x) except ValueError: raise Exception(f&amp;quot;'{x}' is not a valid value for 'foo'&amp;quot;) </code></pre> <p></code></pre></p> <p>This was contributed by Ivan Levkivskyi (PR <a href="https://redirect.github.com/python/mypy/pull/18510">18510</a>).</p> <h3>Flexible Variable Redefinitions (Experimental)</h3> <p>Mypy now allows unannotated variables to be freely redefined with different types when using the experimental <code>--allow-redefinition-new</code> flag. You will also need to enable <code>--local-partial-types</code>. Mypy will now infer a union type when different types are assigned to a variable:</p> <pre lang="py"><code># mypy: allow-redefinition-new, local-partial-types <p>def f(n: int, b: bool) -&gt; int | str: if b: x = n else: &lt;/tr&gt;&lt;/table&gt; </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/mypy/commit/9e72e9601f4c2fb6866cfec98fc40a31c91ccdb0"><code>9e72e96</code></a> Update version to 1.16.0</li> <li><a href="https://github.com/python/mypy/commit/8fe719ff3a8d1e26d3841a48df21ddf7d5b3c94d"><code>8fe719f</code></a> Add changelog for 1.16 (<a href="https://redirect.github.com/python/mypy/issues/19138">#19138</a>)</li> <li><a href="https://github.com/python/mypy/commit/2a036e739f8691576056669371d9f020e95c2603"><code>2a036e7</code></a> Revert &quot;Infer correct types with overloads of <code>Type[Guard | Is]</code> (<a href="https://redirect.github.com/python/mypy/issues/19161">#19161</a>)</li> <li><a href="https://github.com/python/mypy/commit/b6da4fcf97fca9cd28e81a880f818dc364b5a06d"><code>b6da4fc</code></a> Allow enum members to have type objects as values (<a href="https://redirect.github.com/python/mypy/issues/19160">#19160</a>)</li> <li><a href="https://github.com/python/mypy/commit/334469f999c5c777124a123062b4349614447e0d"><code>334469f</code></a> [mypyc] Improve documentation of native and non-native classes (<a href="https://redirect.github.com/python/mypy/issues/19154">#19154</a>)</li> <li><a href="https://github.com/python/mypy/commit/a499d9fdba06732248c07586f2fd95c47a4fa0f7"><code>a499d9f</code></a> Document --allow-redefinition-new (<a href="https://redirect.github.com/python/mypy/issues/19153">#19153</a>)</li> <li><a href="https://github.com/python/mypy/commit/96525a23f0f8a3826d9875fa8b6e8e362cd9525e"><code>96525a2</code></a> Merge commit '9e45dadcf6d8dbab36f83d9df94a706c0b4f9207' into release-1.16</li> <li><a href="https://github.com/python/mypy/commit/9e45dadcf6d8dbab36f83d9df94a706c0b4f9207"><code>9e45dad</code></a> Clear more data in TypeChecker.reset() instead of asserting (<a href="https://redirect.github.com/python/mypy/issues/19087">#19087</a>)</li> <li><a href="https://github.com/python/mypy/commit/772cd0cebed6884636de0019e43caa06dbaa39ba"><code>772cd0c</code></a> Add --strict-bytes to --strict (<a href="https://redirect.github.com/python/mypy/issues/19049">#19049</a>)</li> <li><a href="https://github.com/python/mypy/commit/0b65f215996401264a68a3a06f3fbcd19915a9a5"><code>0b65f21</code></a> Admit that Final variables are never redefined (<a href="https://redirect.github.com/python/mypy/issues/19083">#19083</a>)</li> <li>Additional commits viewable in <a href="https://github.com/python/mypy/compare/v1.15.0...v1.16.0">compare view</a></li> </ul> </details> <br /> Updates `hypothesis` from 6.131.9 to 6.132.0 <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.132.0</h2> <p>Add &quot;on_observation()&quot; to the internal alternative backends interface.</p> <p><em><a href="https://hypothesis.readthedocs.io/en/latest/changelog.html#v6-132-0">The canonical version of these notes (with links) is on readthedocs.</a></em></p> <h2>Hypothesis for Python - version 6.131.33</h2> <p>This patch restores compatibility when using the legacy Python 3.9 LL(1) parser, which was accidentally broken since version 6.130.13.</p> <p>Thanks to Marco Ricci for this fix!</p> <p><em><a href="https://hypothesis.readthedocs.io/en/latest/changelog.html#v6-131-33">The canonical version of these notes (with links) is on readthedocs.</a></em></p> <h2>Hypothesis for Python - version 6.131.32</h2> <p>fuzz_one_input now writes observability reports if observability is enabled, bringing it in line with the behavior of other standard ways to invoke a Hypothesis test.</p> <p><em><a href="https://hypothesis.readthedocs.io/en/latest/changelog.html#v6-131-32">The canonical version of these notes (with links) is on readthedocs.</a></em></p> <h2>Hypothesis for Python - version 6.131.31</h2> <p>Improve documentation of &quot;<a href="https://github.com/example"><code>@​example</code></a>&quot;.</p> <p><em><a href="https://hypothesis.readthedocs.io/en/latest/changelog.html#v6-131-31">The canonical version of these notes (with links) is on readthedocs.</a></em></p> <h2>Hypothesis for Python - version 6.131.30</h2> <p>This patch resolves a Pandas FutureWarning (issue <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4400">#4400</a>) caused by indexing with an integer key.</p> <p><em><a href="https://hypothesis.readthedocs.io/en/latest/changelog.html#v6-131-30">The canonical version of these notes (with links) is on readthedocs.</a></em></p> <h2>Hypothesis for Python - version 6.131.29</h2> <p>The observations passed to &quot;TESTCASE_CALLBACKS&quot; are now dataclasses, rather than dictionaries. The content written to &quot;.hypothesis/observed&quot; under &quot;HYPOTHESIS_EXPERIMENTAL_OBSERVABILITY&quot; remains the same.</p> <p><em><a href="https://hypothesis.readthedocs.io/en/latest/changelog.html#v6-131-29">The canonical version of these notes (with links) is on readthedocs.</a></em></p> <h2>Hypothesis for Python - version 6.131.28</h2> <p>Add documentation to some internal APIs.</p> <p><em><a href="https://hypothesis.readthedocs.io/en/latest/changelog.html#v6-131-28">The canonical version of these notes (with links) is on readthedocs.</a></em></p> <h2>Hypothesis for Python - version 6.131.27</h2> <p>Add &quot;PrimitiveProvider.replay_choices&quot; to the alternative backends interface, to support warm-starting e.g. hypothesis-crosshair from hypofuzz.</p> <p><em><a href="https://hypothesis.readthedocs.io/en/latest/changelog.html#v6-131-27">The canonical version of these notes (with links) is on readthedocs.</a></em></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/8c1180f2e803efaad90e2168795f98223742e433"><code>8c1180f</code></a> Bump hypothesis-python version to 6.132.0 and update changelog</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/ab90309b3796ea11e836508a58b0e5360e258148"><code>ab90309</code></a> Merge pull request <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4416">#4416</a> from tybug/provider-on-observability</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/fa0d09ed05150ef8d52ca1d9bc08f4e39e2af6f7"><code>fa0d09e</code></a> address review</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/4d86adf4bdf655a5c7d2c0d02cda1b9ee9adb6e4"><code>4d86adf</code></a> Bump hypothesis-python version to 6.131.33 and update changelog</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/788e42921c3ed99d8ad5c82bf93fd8b6b8bac86a"><code>788e429</code></a> Merge pull request <a href="https://redirect.github.com/HypothesisWorks/hypothesis/issues/4423">#4423</a> from the-13th-letter/restore-py39-compatibility-LL1-...</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/422425f3a1f322322f5783c4aa6a10ca54cfd5dc"><code>422425f</code></a> Restore compatibility with Python 3.9's legacy LL(1) parser</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/e118ddeca373a224517df8c48dae4ea77e6092c4"><code>e118dde</code></a> rename to add_observability_callback</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/0b98d079aa3bfbf14ce4c9293cb7f93317678b25"><code>0b98d07</code></a> check PrimitiveProvider.add_observation_callback instead</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/a92991f3d1ef9abbac917cdb17879d11ad3d213f"><code>a92991f</code></a> Merge branch 'master' into provider-on-observability</li> <li><a href="https://github.com/HypothesisWorks/hypothesis/commit/fc32d669d0739c55eb1505a310adee6b267e5875"><code>fc32d66</code></a> Bump hypothesis-python version to 6.131.32 and update changelog</li> <li>Additional commits viewable in <a href="https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.131.9...hypothesis-python-6.132.0">compare view</a></li> </ul> </details> <br /> Updates `setuptools` from 80.3.1 to 80.9.0 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pypa/setuptools/blob/main/NEWS.rst">setuptools's changelog</a>.</em></p> <blockquote> <h1>v80.9.0</h1> <h2>Features</h2> <ul> <li>Set a deadline for the removal of pkg_resources later this year (December). (<a href="https://redirect.github.com/pypa/setuptools/issues/3085">#3085</a>)</li> <li>Removed reliance on pkg_resources in test_wheel. (<a href="https://redirect.github.com/pypa/setuptools/issues/3085">#3085</a>)</li> </ul> <h1>v80.8.0</h1> <h2>Features</h2> <ul> <li>Replaced more references to pkg_resources with importlib equivalents in wheel odule. (<a href="https://redirect.github.com/pypa/setuptools/issues/3085">#3085</a>)</li> <li>Restore explicit LICENSE file. (<a href="https://redirect.github.com/pypa/setuptools/issues/5001">#5001</a>)</li> <li>Removed no longer used build dependency on <code>coherent.licensed</code>. (<a href="https://redirect.github.com/pypa/setuptools/issues/5003">#5003</a>)</li> </ul> <h1>v80.7.1</h1> <h2>Bugfixes</h2> <ul> <li>Only attempt to fetch eggs for unsatisfied requirements. (<a href="https://redirect.github.com/pypa/setuptools/issues/4998">#4998</a>)</li> <li>In installer, when discovering egg dists, let metadata discovery search each egg. (<a href="https://redirect.github.com/pypa/setuptools/issues/4998">#4998</a>)</li> </ul> <h1>v80.7.0</h1> <h2>Features</h2> <ul> <li>Removed usage of pkg_resources from installer. Set an official deadline on the installer deprecation to 2025-10-31. (<a href="https://redirect.github.com/pypa/setuptools/issues/4997">#4997</a>)</li> </ul> <h2>Misc</h2> <ul> <li><a href="https://redirect.github.com/pypa/setuptools/issues/4996">#4996</a></li> </ul> <h1>v80.6.0</h1> <p>Features</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pypa/setuptools/commit/9c4d383631d3951fcae0afd73b5d08ff5a262976"><code>9c4d383</code></a> Bump version: 80.8.0 → 80.9.0</li> <li><a href="https://github.com/pypa/setuptools/commit/05cb3c84f1422f3b26ccfb00f4c43886dc55b9bc"><code>05cb3c8</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/5014">#5014</a> from pypa/debt/pkg_resources-deadline</li> <li><a href="https://github.com/pypa/setuptools/commit/3b0bf5bd43034c448a10e7102788fe710b4bb496"><code>3b0bf5b</code></a> Adjust ignore</li> <li><a href="https://github.com/pypa/setuptools/commit/9c28cdffd423f83e43dbfd39fc793c251da48585"><code>9c28cdf</code></a> Set a deadline for the removal of pkg_resources later this year (December).</li> <li><a href="https://github.com/pypa/setuptools/commit/a3bfef95193bf0ff78ef6e0fb8c63a3728f443b0"><code>a3bfef9</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/5013">#5013</a> from DimitriPapadopoulos/ISC</li> <li><a href="https://github.com/pypa/setuptools/commit/64bf9d0ce88a09748f702bd7736d9ec2879aa6ef"><code>64bf9d0</code></a> Enforce ruff/flake8-implicit-str-concat rules (ISC)</li> <li><a href="https://github.com/pypa/setuptools/commit/3250c25197b299658cfd4d0db67770fc29b47277"><code>3250c25</code></a> Fix broken link in docs (<a href="https://redirect.github.com/pypa/setuptools/issues/4947">#4947</a>)</li> <li><a href="https://github.com/pypa/setuptools/commit/5ccf50e01ab0d303f524c065f2cb51042b34bc55"><code>5ccf50e</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/5006">#5006</a> from pypa/feature/remove-more-pkg_resources</li> <li><a href="https://github.com/pypa/setuptools/commit/134e587c0ba0b59e1661f08a45e6d6d1ecd24329"><code>134e587</code></a> Suppress nitpicky typecheck in pyright.</li> <li><a href="https://github.com/pypa/setuptools/commit/0bf2663a19f2d947697997d125c3c880df2011b7"><code>0bf2663</code></a> Add news fragment.</li> <li>Additional commits viewable in <a href="https://github.com/pypa/setuptools/compare/v80.3.1...v80.9.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>
2 parents 1890e7a + f8de88e commit e4e46d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
[build-system]
55
requires = [
6-
"setuptools == 80.3.1",
6+
"setuptools == 80.9.0",
77
"setuptools_scm[toml] == 8.3.1",
88
"frequenz-repo-config[lib] == 0.13.3",
99
]
@@ -62,7 +62,7 @@ dev-mkdocs = [
6262
"frequenz-repo-config[lib] == 0.13.3",
6363
]
6464
dev-mypy = [
65-
"mypy == 1.15.0",
65+
"mypy == 1.16.0",
6666
"types-Markdown == 3.8.0.20250415",
6767
# For checking the noxfile, docs/ script, and tests
6868
"frequenz-quantities[dev-mkdocs,dev-noxfile,dev-pytest,marshmallow]",
@@ -80,7 +80,7 @@ dev-pytest = [
8080
"pytest-mock == 3.14.0",
8181
"pytest-asyncio == 0.26.0",
8282
"async-solipsism == 0.7",
83-
"hypothesis == 6.131.9",
83+
"hypothesis == 6.132.0",
8484
"frequenz-quantities[marshmallow]",
8585
]
8686

0 commit comments

Comments
 (0)