From bd9c070891668e31aa5e3a338256e741602b9c99 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Feb 2026 13:32:00 +0000 Subject: [PATCH 1/3] Bump the minor group across 1 directory with 8 updates Bumps the minor group with 8 updates in the / directory: | Package | From | To | | --- | --- | --- | | [markdown](https://github.com/Python-Markdown/markdown) | `3.9` | `3.10.1` | | [mkdocs-macros-plugin](https://github.com/fralau/mkdocs_macros_plugin) | `1.4.1` | `1.5.0` | | [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.6.23` | `9.7.1` | | [mypy](https://github.com/python/mypy) | `1.18.2` | `1.19.1` | | [types-markdown](https://github.com/typeshed-internal/stub_uploader) | `3.9.0.20250906` | `3.10.0.20251106` | | [nox](https://github.com/wntrblm/nox) | `2025.10.16` | `2025.11.12` | | [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.143.0` | `6.151.4` | | [setuptools](https://github.com/pypa/setuptools) | `80.9.0` | `80.10.2` | Updates `markdown` from 3.9 to 3.10.1 - [Release notes](https://github.com/Python-Markdown/markdown/releases) - [Changelog](https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md) - [Commits](https://github.com/Python-Markdown/markdown/compare/3.9.0...3.10.1) Updates `mkdocs-macros-plugin` from 1.4.1 to 1.5.0 - [Release notes](https://github.com/fralau/mkdocs_macros_plugin/releases) - [Changelog](https://github.com/fralau/mkdocs-macros-plugin/blob/master/CHANGELOG.md) - [Commits](https://github.com/fralau/mkdocs_macros_plugin/compare/v1.4.1...v1.5.0) Updates `mkdocs-material` from 9.6.23 to 9.7.1 - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.6.23...9.7.1) Updates `mypy` from 1.18.2 to 1.19.1 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.18.2...v1.19.1) Updates `types-markdown` from 3.9.0.20250906 to 3.10.0.20251106 - [Commits](https://github.com/typeshed-internal/stub_uploader/commits) Updates `nox` from 2025.10.16 to 2025.11.12 - [Release notes](https://github.com/wntrblm/nox/releases) - [Changelog](https://github.com/wntrblm/nox/blob/main/CHANGELOG.md) - [Commits](https://github.com/wntrblm/nox/compare/2025.10.16...2025.11.12) Updates `hypothesis` from 6.143.0 to 6.151.4 - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.143.0...hypothesis-python-6.151.4) Updates `setuptools` from 80.9.0 to 80.10.2 - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) - [Commits](https://github.com/pypa/setuptools/compare/v80.9.0...v80.10.2) --- updated-dependencies: - dependency-name: markdown dependency-version: 3.10.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: mkdocs-macros-plugin dependency-version: 1.5.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: mkdocs-material dependency-version: 9.7.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: mypy dependency-version: 1.19.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: types-markdown dependency-version: 3.10.0.20251106 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: nox dependency-version: 2025.11.12 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: hypothesis dependency-version: 6.151.4 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: setuptools dependency-version: 80.10.2 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor ... Signed-off-by: dependabot[bot] --- pyproject.toml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 52e6cfe8..7ea6ccd1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ [build-system] requires = [ - "setuptools == 80.9.0", + "setuptools == 80.10.2", "setuptools_scm[toml] == 9.2.2", "frequenz-repo-config[lib] == 0.14.0", ] @@ -45,7 +45,7 @@ dev-flake8 = [ ] dev-formatting = ["black == 25.9.0", "isort == 7.0.0"] dev-mkdocs = [ - "Markdown == 3.9", + "Markdown == 3.10.1", "black == 25.9.0", "frequenz-repo-config[lib] == 0.14.0", "markdown-callouts == 0.4.0", @@ -54,8 +54,8 @@ dev-mkdocs = [ "mkdocs-gen-files == 0.5.0", "mkdocs-include-markdown-plugin == 7.2.0", "mkdocs-literate-nav == 0.6.2", - "mkdocs-macros-plugin == 1.4.1", - "mkdocs-material == 9.6.23", + "mkdocs-macros-plugin == 1.5.0", + "mkdocs-material == 9.7.1", "mkdocstrings[python] == 0.30.1", "mkdocstrings-python == 1.18.2", "pymdownx-superfence-filter-lines == 0.1.0", @@ -63,10 +63,10 @@ dev-mkdocs = [ dev-mypy = [ # For checking the noxfile, docs/ script, and tests "frequenz-channels[dev-mkdocs,dev-noxfile,dev-pytest]", - "mypy == 1.18.2", - "types-Markdown == 3.9.0.20250906", + "mypy == 1.19.1", + "types-Markdown == 3.10.0.20251106", ] -dev-noxfile = ["nox == 2025.10.16", "frequenz-repo-config[lib] == 0.14.0"] +dev-noxfile = ["nox == 2025.11.12", "frequenz-repo-config[lib] == 0.14.0"] dev-pylint = [ # For checking the noxfile, docs/ script, and tests "frequenz-channels[dev-mkdocs,dev-noxfile,dev-pytest]", @@ -75,7 +75,7 @@ dev-pylint = [ dev-pytest = [ "async-solipsism == 0.9", "frequenz-repo-config[extra-lint-examples] == 0.14.0", - "hypothesis == 6.143.0", + "hypothesis == 6.151.4", "pytest == 8.4.2", "pytest-asyncio == 1.1.0", "pytest-mock == 3.15.1", From bdd33622416473492a34279ec2897139155eee7f Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Mon, 2 Feb 2026 14:38:05 +0100 Subject: [PATCH 2/3] The new mypy has a more specific code for this case Signed-off-by: Leandro Lucarella --- docs/_scripts/macros.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_scripts/macros.py b/docs/_scripts/macros.py index e7bc762d..fbf09f7d 100644 --- a/docs/_scripts/macros.py +++ b/docs/_scripts/macros.py @@ -35,7 +35,7 @@ def _get_docstring(symbol: str) -> str: return docstring.value # The decorator makes the function untyped - @env.macro # type: ignore[misc] + @env.macro # type: ignore[untyped-decorator] def docstring_summary(symbol: str) -> str: """Get the summary of a Python symbol. From 734f932d308d632dac0191a4c3226b6c0d97ffdc Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Mon, 2 Feb 2026 14:44:55 +0100 Subject: [PATCH 3/3] Disable pylint unreachable check for a few false positives Signed-off-by: Leandro Lucarella --- tests/test_timer.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/test_timer.py b/tests/test_timer.py index 43b2634e..434b6a28 100644 --- a/tests/test_timer.py +++ b/tests/test_timer.py @@ -70,6 +70,9 @@ def test_policy_trigger_all_missed( ) -> None: """Test the TriggerAllMissed policy.""" hypothesis.assume(now >= scheduled_tick_time) + # For some reason pylint think this is unreachable, not sure if hypothesis.assume() + # is marked as no-return or something. + # pylint: disable-next=unreachable assert ( TriggerAllMissed().calculate_next_tick_time( now=now, interval=interval, scheduled_tick_time=scheduled_tick_time @@ -118,6 +121,9 @@ def test_policy_skip_missed_and_resync( """Test the SkipMissedAndResync policy.""" hypothesis.assume(now >= scheduled_tick_time) + # For some reason pylint think this is unreachable, not sure if hypothesis.assume() + # is marked as no-return or something. + # pylint: disable-next=unreachable next_tick_time = SkipMissedAndResync().calculate_next_tick_time( now=now, interval=interval, scheduled_tick_time=scheduled_tick_time ) @@ -214,6 +220,9 @@ def test_policy_skip_missed_and_drift( """Test the SkipMissedAndDrift policy.""" hypothesis.assume(now >= scheduled_tick_time) + # For some reason pylint think this is unreachable, not sure if hypothesis.assume() + # is marked as no-return or something. + # pylint: disable-next=unreachable next_tick_time = SkipMissedAndDrift( delay_tolerance=timedelta(microseconds=tolerance) ).calculate_next_tick_time(