Skip to content

Commit dbef3e7

Browse files
authored
Bump the minor group with 3 updates (#298)
Bumps the minor group with 3 updates: [flake8](https://github.com/pycqa/flake8), [mypy](https://github.com/python/mypy) and [setuptools-scm[toml]](https://github.com/pypa/setuptools-scm). Updates `flake8` from 7.1.1 to 7.2.0 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PyCQA/flake8/commit/16f5f28a384f0781bebb37a08aa45e65b9526c50"><code>16f5f28</code></a> Release 7.2.0</li> <li><a href="https://github.com/PyCQA/flake8/commit/ebad305769bbf62d92901a1b9c9121c1b4fec00b"><code>ebad305</code></a> Merge pull request <a href="https://redirect.github.com/pycqa/flake8/issues/1974">#1974</a> from PyCQA/update-plugins</li> <li><a href="https://github.com/PyCQA/flake8/commit/d56d569ce40a623a17c212ea7f2b306714f27f31"><code>d56d569</code></a> update versions of pycodestyle / pyflakes</li> <li><a href="https://github.com/PyCQA/flake8/commit/a7e8f6250c23e71546ca4cc35322bc06fe90f9f4"><code>a7e8f62</code></a> Merge pull request <a href="https://redirect.github.com/pycqa/flake8/issues/1973">#1973</a> from PyCQA/py39-plus</li> <li><a href="https://github.com/PyCQA/flake8/commit/9d55ccdb729d1255b9cf09438b6073b05b9ce52c"><code>9d55ccd</code></a> py39+</li> <li><a href="https://github.com/PyCQA/flake8/commit/e492aeb385f87c0520c65d32747763209ed1da21"><code>e492aeb</code></a> Merge pull request <a href="https://redirect.github.com/pycqa/flake8/issues/1967">#1967</a> from PyCQA/unnecessary-mocks</li> <li><a href="https://github.com/PyCQA/flake8/commit/fa2ed7145cdf80fd983c2a436226a074f9a9d664"><code>fa2ed71</code></a> remove a few unnecessary mocks in test_checker_manager</li> <li><a href="https://github.com/PyCQA/flake8/commit/fffee8ba9dc5903484f99390e6c7f4bbef59bda7"><code>fffee8b</code></a> Release 7.1.2</li> <li><a href="https://github.com/PyCQA/flake8/commit/19001f77f3a8edccfd2d4c71e3c0fd7ed7fcb329"><code>19001f7</code></a> Merge pull request <a href="https://redirect.github.com/pycqa/flake8/issues/1966">#1966</a> from PyCQA/limit-procs-to-file-count</li> <li><a href="https://github.com/PyCQA/flake8/commit/f35737a32d8283fd0d3456bd9919718ff2d1b077"><code>f35737a</code></a> avoid starting unnecessary processes when file count is limited</li> <li>See full diff in <a href="https://github.com/pycqa/flake8/compare/7.1.1...7.2.0">compare view</a></li> </ul> </details> <br /> 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) -&amp;gt; int: return self.value @f.setter def f(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 'f'&amp;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>(&quot;Use A.func2 instead&quot;)<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 &quot;unreleased&quot; 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 `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>
2 parents 64b4771 + 18d3f60 commit dbef3e7

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
@@ -4,7 +4,7 @@
44
[build-system]
55
requires = [
66
"setuptools == 75.8.0",
7-
"setuptools_scm[toml] == 8.1.0",
7+
"setuptools_scm[toml] == 8.2.0",
88
"frequenz-repo-config[api] == 0.12.3",
99
# We need to pin the protobuf, grpcio and grpcio-tools dependencies to make
1010
# sure the code is generated using the minimum supported versions, as older
@@ -50,7 +50,7 @@ email = "[email protected]"
5050

5151
[project.optional-dependencies]
5252
dev-flake8 = [
53-
"flake8 == 7.1.1",
53+
"flake8 == 7.2.0",
5454
"flake8-docstrings == 1.7.0",
5555
"flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml
5656
"pydoclint == 0.6.5",
@@ -66,7 +66,7 @@ dev-mkdocs = [
6666
"frequenz-repo-config[api] == 0.12.3",
6767
]
6868
dev-mypy = [
69-
"mypy == 1.14.1",
69+
"mypy == 1.15.0",
7070
"grpc-stubs == 1.53.0.5",
7171
# For checking the noxfile, docs/ script, and tests
7272
"frequenz-api-common[dev-mkdocs,dev-noxfile,dev-pytest]",

0 commit comments

Comments
 (0)