Skip to content

build(deps-dev): Bump the minor group across 1 directory with 10 updates - #618

Merged
frequenz-auto-dependabot[bot] merged 2 commits into
v2.x.xfrom
dependabot/pip/minor-456d840df6
Nov 20, 2026
Merged

frequenz-auto-dependabot[bot] merged 2 commits into
v2.x.xfrom
dependabot/pip/minor-456d840df6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the minor group with 10 updates in the / directory:

Package From To
flake8 7.4.1 7.5.0
mkdocs-material 9.7.7 9.8.1
griffe 2.3.0 2.4.1
types-markdown 3.10.2.20260712 3.11.3.20261108
nox 2026.8.17 2026.10.20
pylint 4.0.9 4.1.4
hypothesis 6.168.3 6.170.15
pytest 9.1.1 9.2.0
pytest-mock 3.16.0 3.17.0
setuptools 84.1.0 84.2.1

Updates flake8 from 7.4.1 to 7.5.0

Commits

Updates mkdocs-material from 9.7.7 to 9.8.1

Release notes

Sourced from mkdocs-material's releases.

mkdocs-material-9.8.1

[!WARNING]

Material for MkDocs reaches end of life on May 5, 2027. Critical fixes and security updates continue until that date.

We're continuing our work with Zensical, a maintained successor built by the team behind Material for MkDocs. It carries forward what we've learned from building documentation tools with this community, with Markdown authoring, a familiar design, and full control over your content. Zensical is Open Source and MIT-licensed.

You can evaluate Zensical alongside MkDocs using your existing mkdocs.yml. Check plugin compatibility and compare your pages, navigation, search, and customizations before switching. The classic theme variant preserves the appearance of Material for MkDocs. See the migration guide for the steps and current compatibility details.

Upcoming changes on November 5

  • Updated Docker base image to Alpine 3.24
  • Updated Docker image dependencies to fix vulnerabilities
  • Updated Node build-time dependencies to fix vulnerabilities

mkdocs-material-9.8.0

[!WARNING]

Material for MkDocs reaches end of life on May 5, 2027. Critical fixes and security updates continue until that date.

We're continuing our work with Zensical, a maintained successor built by the team behind Material for MkDocs. It carries forward what we've learned from building documentation tools with this community, with Markdown authoring, a familiar design, and full control over your content. Zensical is Open Source and MIT-licensed.

You can evaluate Zensical alongside MkDocs using your existing mkdocs.yml. Check plugin compatibility and compare your pages, navigation, search, and customizations before switching. The classic theme variant preserves the appearance of Material for MkDocs. See the migration guide for the steps and current compatibility details.

Upcoming changes on November 5

This is primarily a security release. It raises dependency minimums to address known vulnerabilities. We recommend upgrading to this release and updating your dependency lockfiles.

Python 3.11 or newer is now required. Python 3.8–3.10 are no longer supported.

  • Updated Node build-time dependencies to fix vulnerabilities
  • Updated Python dependency minimums and required Python 3.11
  • Removed RSS from recommended dependencies
  • Updated project status and maintenance links
  • Updated CLI notice with end-of-life and migration guidance
  • Removed redirects from recommended dependencies

Previous dependency ranges allowed versions with known vulnerabilities. The new minimums cover core Python dependencies and the optional git and imaging extras, including GitPython 3.2.1 or newer for the git extra.

Recent releases of mkdocs-rss-plugin and mkdocs-redirects depend on ProperDocs, a separate static site generator that Material for MkDocs does not require. Removing these plugins from the recommended extra keeps its dependency footprint smaller and leaves the choice of additional tools to each project. If your project uses RSS feeds or redirects, declare the relevant plugin explicitly in your own dependencies.

The CLI notice now gives the May 5, 2027 end-of-life date and links to the Zensical migration guide. It also clarifies that third-party ProperDocs migration notices do not represent a recommendation from the Material for MkDocs team. Package metadata now marks the project as inactive and includes maintenance and migration links.

Selected Python security advisories addressed by the new minimums:

Dependency Affected versions New minimum Advisory
Jinja2 <=3.1.5 3.1.6 CVE-2025-27516
Markdown <3.8.1 3.8.1 CVE-2025-69534
Pygments <2.20.0 2.20.0 CVE-2026-4539

... (truncated)

Changelog

Sourced from mkdocs-material's changelog.

mkdocs-material-9.8.2 (2026-11-19)

  • Fixed a security vulnerability in the privacy plugin

mkdocs-material-9.8.1 (2026-11-07)

  • Updated Docker base image to Alpine 3.24
  • Updated Docker image dependencies to fix vulnerabilities
  • Updated Node build-time dependencies to fix vulnerabilities

mkdocs-material-9.8.0 (2026-10-24)

This is primarily a security release. It raises dependency minimums to address known vulnerabilities. We recommend upgrading to this release and updating your dependency lockfiles.

Python 3.11 or newer is now required. Python 3.8–3.10 are no longer supported.

  • Updated Node build-time dependencies to fix vulnerabilities
  • Updated Python dependency minimums and required Python 3.11
  • Removed RSS from recommended dependencies
  • Updated project status and maintenance links
  • Updated CLI notice with end-of-life and migration guidance
  • Removed redirects from recommended dependencies

Previous dependency ranges allowed versions with known vulnerabilities. The new minimums cover core Python dependencies and the optional git and imaging extras, including GitPython 3.2.1 or newer for the git extra.

Recent releases of mkdocs-rss-plugin and mkdocs-redirects depend on ProperDocs, a separate static site generator that Material for MkDocs does not require. Removing these plugins from the recommended extra keeps its dependency footprint smaller and leaves the choice of additional tools to each project. If your project uses RSS feeds or redirects, declare the relevant plugin explicitly in your own dependencies.

The CLI notice now gives the May 5, 2027 end-of-life date and links to the Zensical migration guide: https://zensical.org/docs/compatibility/mkdocs/migration/

It also clarifies that third-party ProperDocs migration notices do not represent a recommendation from the Material for MkDocs team. Package metadata now marks the project as inactive and includes maintenance and migration links.

Selected Python security advisories addressed by the new minimums:

Jinja2: affected <=3.1.5; new minimum 3.1.6 (CVE-2025-27516) GHSA-cpwx-vrp4-4pq7

Markdown: affected <3.8.1; new minimum 3.8.1 (CVE-2025-69534)

... (truncated)

Commits
  • 16c95ad Prepare 9.8.1 release
  • b3fe832 Fixed documentation workflow
  • 004d29e Updated dependencies to fix vulnerabilities
  • 7590e14 Documentation
  • 0f044db Updated documentation build to use public Material
  • dc38d1e Documentation
  • ebbfb46 Updated Docker base image to Alpine 3.24
  • 624aff1 Updated build and documentation workflows
  • 0f72ad6 Merge pull request #8615 from squidfunk/fix/security
  • 85a048d Documentation
  • Additional commits viewable in compare view

Updates griffe from 2.3.0 to 2.4.1

Release notes

Sourced from griffe's releases.

2.4.1

2.4.1 - 2026-10-22

Compare with 2.4.0

Bug Fixes

  • Load symbols gated behing __getattr__ during dynamic analysis (3faeeb1 by Timothée Mazzucotelli).

Code Refactoring

2.4.0

2.4.0 - 2026-10-19

Compare with 2.3.2

Features

  • Expose reference_path in addition to canonical_path (2f6b419 by Timothée Mazzucotelli). Issue-448

Bug Fixes

Performance Improvements

  • Prune function bodies from source before building AST (657ce96 by Timothée Mazzucotelli). PR-489

    This requires the griffe[faster] extra. Griffe is fast by default so this performance improvement will only be noticeable in projects with a lot of Python code.

2.3.2

2.3.2 - 2026-10-06

Compare with 2.3.1

Build

  • Drop support for Python 3.10 in griffelib and griffecli packages (7c45a8f by Timothée Mazzucotelli).

2.3.1

2.3.1 - 2026-10-06

Compare with 2.3.0

Build

  • Drop support for Python 3.10 (686993d by Timothée Mazzucotelli).

... (truncated)

Changelog

Sourced from griffe's changelog.

2.4.1 - 2026-10-22

Compare with 2.4.0

Bug Fixes

  • Load symbols gated behing __getattr__ during dynamic analysis (3faeeb1 by Timothée Mazzucotelli).

Code Refactoring

2.4.0 - 2026-10-19

Compare with 2.3.2

Features

  • Expose reference_path in addition to canonical_path (2f6b419 by Timothée Mazzucotelli). Issue-448

Bug Fixes

Performance Improvements

  • Prune function bodies from source before building AST (657ce96 by Timothée Mazzucotelli). PR-489

    This requires the griffe[faster] extra. Griffe is fast by default so this performance improvement will only be noticeable in projects with a lot of Python code.

2.3.2 - 2026-10-06

Compare with 2.3.1

Build

  • Drop support for Python 3.10 in griffelib and griffecli packages (7c45a8f by Timothée Mazzucotelli).

2.3.1 - 2026-10-06

Compare with 2.3.0

Enum values now inherit from StrEnum, so str(member) returns its value.

Build

  • Drop support for Python 3.10 (686993d by Timothée Mazzucotelli).

Bug Fixes

... (truncated)

Commits
  • a74c9d0 chore: Prepare release 2.4.1
  • 0670d03 refactor: Stop checking attribute values
  • f3f2605 docs: Add back pymdownx.blocks.tab Markdown extension
  • da6f966 docs: Add periods to docstrings
  • 9d51e51 docs: Single block license headers
  • 5b833a9 docs: Fix code tree with annotations
  • 731b3c5 docs: Various improvements
  • 3faeeb1 fix: Load symbols gated behing __getattr__ during dynamic analysis
  • ca60582 chore: Prepare release 2.4.0
  • 07bd484 Merge branch 'issue448'
  • Additional commits viewable in compare view

Updates types-markdown from 3.10.2.20260712 to 3.11.3.20261108

Commits

Updates nox from 2026.8.17 to 2026.10.20

Release notes

Sourced from nox's releases.

2026.10.20 🐍

Parallel mode no longer prints an "experimental" banner, and sessions can check session.parallel to see if they run in a parallel worker. A new rattler backend uses py-rattler (install with the nox[rattler] extra), so you can request fast conda-style environments in a /// script block. Python versions read from classifiers now include free-threaded builds when the free-threading classifier is present, and are deduplicated. A single-argument @nox.parametrize now accepts ranges and other iterators, and the rattler backend loads config from the default locations. The GitHub Action now defaults to Python 3.11-3.15. This release also fixes several bugs in script mode, option handling, and tox-to-nox.

We'd like to thank the following folks who contributed to this release:

Features:

Fixes:

Documentation:

Internal changes:

... (truncated)

Changelog

Sourced from nox's changelog.

2026.10.20

Parallel mode no longer prints an "experimental" banner, and sessions can check session.parallel to see if they run in a parallel worker. A new rattler backend uses py-rattler (install with the nox[rattler] extra), so you can request fast conda-style environments in a /// script block. Python versions read from classifiers now include free-threaded builds when the free-threading classifier is present, and are deduplicated. A single-argument @nox.parametrize now accepts ranges and other iterators, and the rattler backend loads config from the default locations. The GitHub Action now defaults to Python 3.11-3.15. This release also fixes several bugs in script mode, option handling, and tox-to-nox.

We'd like to thank the following folks who contributed to this release:

Features:

Fixes:

... (truncated)

Commits
  • afa3983 docs: prepare 2026.10.13 release notes (#1203)
  • 06784f1 fix: read script metadata after a UTF-8 BOM (#1211)
  • c8e1d6f test: fix flaky autospec of lazy-imported logger on 3.15 (#1209)
  • db686a0 feat: expand ranges and iterators in single-argument parametrization (#1206)
  • 76aec97 test: isolate envdirs and relax duration checks to fix flaky CI (#1208)
  • 2b9fea6 feat(rattler): load config from default locations (#1204)
  • 1c52fa7 fix: respect directory boundaries when classifying external commands (#1207)
  • 7725663 feat(action): default to 3.11-3.15 (#1205)
  • f85c5ef ci: run test sessions in parallel steps (#1200)
  • b3e56ba test: give test_interrupt_handled child more time to exit (#1202)
  • Additional commits viewable in compare view

Updates pylint from 4.0.9 to 4.1.4

Release notes

Sourced from pylint's releases.

v4.1.4

What's new in Pylint 4.1.4?

Release date: 2026-11-14

False Positives Fixed

  • Fix a false positive for using-constant-test when testing a method or function whose decorator is unknown or is a class, such as a third-party cached_property. astroid still infers such a method as a method, but the decorator may have turned it into any other value.

    Closes #3484

  • Avoid dict-init-mutate when an assignment's key or value references the dictionary being initialized. Stop the suggested dictionary literal before later assignments that reference the dictionary.

    Closes #7997

  • Fixed a false positive for unreachable when a terminating function call (such as sys.exit()) is inside a compound expression within a lambda body.

    Closes #8567

  • Fix a false positive for used-before-assignment when a class body uses a module-level or builtin name that a method or nested class defined later in the same class body shadows.

    Closes #9134

  • Fixed a false positive undefined-variable (E0602) when a name annotated without a value (x: int) is assigned with the walrus operator (:=) in the condition of a comprehension spanning several lines, and used in its element.

    Closes #11647

  • Fix a false positive for method-hidden when a decorated method is inferred as a property.

    Refs #11732

  • Fix false positives for bad-dunder-name on __prepare__, __mro_entries__, __buffer__, __release_buffer__ (Python 3.12+) and __replace__ (Python 3.13+).

    Closes #11791

Other Bug Fixes

... (truncated)

Commits
  • edc8e37 Bump pylint to 4.1.4, update changelog (#11827)
  • bdba0ba [Backport maintenance/4.1.x] Fix crash in logging checker on a non-UTF-8 byte...
  • 2a2f6ed [Backport maintenance/4.1.x] Fix method-hidden for inferred properties (#11819)
  • b9bfd03 [Backport maintenance/4.1.x] Fix false positive unreachable when terminating ...
  • 0fea03c [Backport maintenance/4.1.x] Fix bad-dunder-name false positives for __prepar...
  • 68dbecc [Backport maintenance/4.1.x] Report invalid Pyreverse class targets without a...
  • 17d0c81 [Backport maintenance/4.1.x] Fix module expansion crash when a namespace pack...
  • c3a7ad7 [Backport maintenance/4.1.x] Fix false positive undefined-variable for walrus...
  • fdcf6db [Backport maintenance/4.1.x] Fix using-constant-test false positive for metho...
  • 6f1d672 [Backport maintenance/4.1.x] Fix crash in use-maxsplit-arg on non-name loop a...
  • Additional commits viewable in compare view

Updates hypothesis from 6.168.3 to 6.170.15

Commits
  • 9ab0be6 Bump hypothesis version to 6.170.15 and update changelog
  • 460d72f Merge pull request #4946 from jorenham/typing/errors/coverage
  • 26f1634 Enfore 100% public type coverage in CI with pyrefly coverage check
  • fb08018 version: fill in the missing type annotation
  • 7af7891 Rephrase release note as suggested in review
  • 95e0906 Add release notes
  • b7d5433 extra.ghostwriter: fill in the missing type annotations
  • 3537278 extra.codemods: fill in the missing type annotations
  • bd1a894 extra.dpcontracts: fill in the missing type annotation
  • 4bb761e errors: remove spurious blank line
  • Additional commits viewable in compare view

Updates pytest from 9.1.1 to 9.2.0

Release notes

Sourced from pytest's releases.

9.2.0

pytest 9.2.0 (2026-10-27)

Removals and backward incompatible breaking changes

  • #14716: -c now raises a usage error for a path that does not exist, is a directory, or is in a format pytest has no loader for. Such paths were previously either ignored or reported as an unhandled FileNotFoundError.

  • #8593: The indirect, ids and scope arguments of Metafunc.parametrize() <pytest.Metafunc.parametrize> -- and therefore of @pytest.mark.parametrize <pytest.mark.parametrize ref> -- are now keyword-only.

    Passing them positionally was a common source of confusing errors, e.g. parametrize("arg1", "arg2", [(1, 2)]) made the argvalues land in indirect and failed with indirect fixture '(1, 2)' doesn't exist; such mistakes now fail with an understandable TypeError. The type annotations have always declared these arguments as keyword-only.

  • #993: Plugin import failures at startup are now reported and classified instead of escaping as a raw traceback with the accidental exit code 1:

    • a plugin that cannot be found -- via -p, pytest_plugins or PYTEST_PLUGINS -- exits with pytest.ExitCode USAGE_ERROR (4), like a conftest.py that fails to import;
    • a plugin that is found but raises while importing -- including a broken pytest11 entry point or a missing plugin dependency -- exits with pytest.ExitCode INTERNAL_ERROR (3), with the traceback preserved.

    pytest.main now returns these codes instead of raising ImportError. Also fixed an IndexError from pytest's own internals when the plugin raised an exception with no arguments.

Deprecations (removal in next major release)

  • #14742: The private _pytest.python.CallSpec2 name has been renamed to CallSpec. The old CallSpec2 alias remains available for now and will be removed in pytest 10 or 11.

  • #14755: Schedule yield_fixture decorator for removal in pytest 10 or 11.

  • #14774: Similarly to the deprecation of class-scoped fixtures defined as instance methods in pytest 9.1, all higher-scoped fixtures (module, package, and session) defined as instance methods are now deprecated.

    They suffer from the same issue the original deprecation only fixed for class-scoped fixtures, see 10819 and 14011.

  • #14808: Passing a non-string value to a string-typed ini option now emits a pytest.PytestRemovedIn10Warning. This affects [tool.pytest.ini_options] in pyproject.toml. In pytest 10 this will raise a TypeError, matching the behavior of the corresponding TOML config path.

  • #7323: Passing bytes to TerminalReporter.write_line() is now deprecated, pass a str instead.

New features

  • #14743: Full diff: now contains a legend explaining the + & - symbols in diff output.
  • #2781: When strict_markers is enabled, marker names used in -m expressions are now validated against registered markers.
  • #6881: Added the parametrize_long_str_id_strategy configuration option to control how long str/bytes parameter values are handled in auto-generated test IDs. Explicit IDs set via ids=[...] or pytest.param(..., id=...) are not affected. Available strategies: short (default, values over 100 chars fall back to argname+index), sha256 (SHA-256 hex digest), legacy (keep full value), and disallow (error requesting explicit IDs).

Improvements in existing functionality

  • #10745: A RecursionError whose recursion origin cannot be located now shows only the first and last 10 stack frames, matching what pytest already did when locating the origin failed outright. Previously the full traceback -- often around a thousand near-identical frames -- was rendered, which was both slow and unreadable. Pass --full-trace to see every frame.

... (truncated)

Commits
  • ae1d0ff Prepare release version 9.2.0
  • 143ce31 pre-commit: exclude codespell on generated release announcements
  • 532dc5f tox: add attrs dependency to regen, needed in reportingdemo.rst
  • a7b2446 Merge pull request #15245 from pytest-dev/claude/project-thread-9jcf91
  • 679d09c [pre-commit.ci] pre-commit autoupdate (#15266)
  • 41d12cd docs: clarify typing for yield fixtures
  • b9022ba Merge pull request #15182 from 1871698/docs/improve-getting-started-description
  • 16f87a7 docs: improve getting-started.rst test execution description
  • 082ed70 Merge pull request #15255 from pytest-dev/claude/project-thread-eoi3d6
  • ae37a01 Merge pull request #15227 from pytest-dev/claude/project-thread-4etye4
  • Additional commits viewable in compare view

Updates pytest-mock from 3.16.0 to 3.17.0

Release notes

Sourced from pytest-mock's releases.

v3.17.0

2026-10-17

  • #641: Failures of mock assertions such as assert_called_with are again reported only once, instead of two or three times with the original error from the mock module chained before them.
  • #642: Mock assertion failures no longer show misleading introspection when they are not about the arguments of the last call: assert_called, assert_called_once, assert_not_called, assert_any_call, their await counterparts, and assert_called_once_with/assert_awaited_once_with when the mock was not called (awaited) exactly once. The introspection also no longer reports arguments passed by position versus by keyword as different for autospecced mocks, and no longer shows empty Args:/Kwargs: sections when assertion rewriting is not available.
  • #643: assert_has_calls and assert_has_awaits failures no longer show pytest introspection, which compared the expected and actual calls position by position and so reported differences between unrelated calls. The mock's own message, listing the expected and actual calls, is still shown.

v3.16.1

2026-10-17

  • #617: Fixed assert_has_calls raising ValueError instead of AssertionError (or showing misleading introspection) when the expected calls are plain tuples rather than call(...) objects, such as (args, kwargs) entries of another mock's call_args_list, (args,), (kwargs,), (name, args) or (name, kwargs).
  • #621: Fixed mocker.stop() sometimes stopping the wrong mock, for example with mocks from mocker.create_autospec.
  • #621: mocker.stop() now undoes the most recent patch first when the same object is used in several patches.
  • #623: Fixed misleading introspection in assert_has_awaits failures, and assert_has_calls/assert_has_awaits raising IndexError instead of AssertionError when calls is passed by keyword.
  • #624: Clear spy_return_iter after a spied synchronous or asynchronous function raises, matching spy_return.
  • #627: Document async_stub await assertions and the distinction between call and await tracking.
  • #629: Fixed mocker.resetall() skipping the mocks patched with mocker.patch.multiple(), both the ones it creates and the ones passed explicitly.
  • #630: mocker.resetall() now also resets spy_return and spy_exception of spies, like it already did for spy_return_list and spy_return_iter, and no longer overwrites attributes with these names on mocks that are not spies.
  • #633: Fixed spies on classmethod, staticmethod, builtins and classes returning a MagicMock instead of calling the spied code after mocker.resetall(side_effect=True). Resetting a spy's side_effect now goes back to calling the spied code, also clearing any side_effect set on the spy.
Changelog

Sourced from pytest-mock's changelog.

3.17.0

2026-10-17

  • [#641](https://github.com/pytest-dev/pytest-mock/issues/641) <https://github.com/pytest-dev/pytest-mock/pull/641>_: Failures of mock assertions such as assert_called_with are again reported only once, instead of two or three times with the original error from the mock module chained before them.
  • [#642](https://github.com/pytest-dev/pytest-mock/issues/642) <https://github.com/pytest-dev/pytest-mock/pull/642>_: Mock assertion failures no longer show misleading introspection when they are not about the arguments of the last call: assert_called, assert_called_once, assert_not_called, assert_any_call, their await counterparts, and assert_called_once_with/assert_awaited_once_with when the mock was not called (awaited) exactly once. The introspection also no longer reports arguments passed by position versus by keyword as different for autospecced mocks, and no longer shows empty Args:/Kwargs: sections when assertion rewriting is not available.
  • [#643](https://github.com/pytest-dev/pytest-mock/issues/643) <https://github.com/pytest-dev/pytest-mock/pull/643>_: assert_has_calls and assert_has_awaits failures no longer show pytest introspection, which compared the expected and actual calls position by position and so reported differences between unrelated calls. The mock's own message, listing the expected and actual calls, is still shown.

3.16.1

2026-10-17

  • [#617](https://github.com/pytest-dev/pytest-mock/issues/617) <https://github.com/pytest-dev/pytest-mock/pull/617>_: Fixed assert_has_calls raising ValueError instead of AssertionError (or showing misleading introspection) when the expected calls are plain tuples rather than call(...) objects, such as (args, kwargs) entries of another mock's call_args_list, (args,), (kwargs,), (name, args) or (name, kwargs).
  • [#621](https://github.com/pytest-dev/pytest-mock/issues/621) <https://github.com/pytest-dev/pytest-mock/pull/621>_: Fixed mocker.stop() sometimes stopping the wrong mock, for example with mocks from mocker.create_autospec.
  • [#621](https://github.com/pytest-dev/pytest-mock/issues/621) <https://github.com/pytest-dev/pytest-mock/pull/621>_: mocker.stop() now undoes the most recent patch first when the same object is used in several patches.
  • [#623](https://github.com/pytest-dev/pytest-mock/issues/623) <https://github.com/pytest-dev/pytest-mock/pull/623>_: Fixed misleading introspection in assert_has_awaits failures, and assert_has_calls/assert_has_awaits raising IndexError instead of AssertionError when calls is passed by keyword.
  • [#624](https://github.com/pytest-dev/pytest-mock/issues/624) <https://github.com/pytest-dev/pytest-mock/pull/624>_: Clear spy_return_iter after a spied synchronous or asynchronous function raises, matching spy_return.
  • [#627](https://github.com/pytest-dev/pytest-mock/issues/627) <https://github.com/pytest-dev/pytest-mock/pull/627>_: Document async_stub await assertions and the distinction between call and await tracking.
  • [#629](https://github.com/pytest-dev/pytest-mock/issues/629) <https://github.com/pytest-dev/pytest-mock/pull/629>_: Fixed mocker.resetall() skipping the mocks patched with mocker.patch.multiple(), both the ones it creates and the ones passed explicitly.
  • [#630](https://github.com/pytest-dev/pytest-mock/issues/630) <https://github.com/pytest-dev/pytest-mock/pull/630>_: mocker.resetall() now also resets spy_return and spy_exception of spies, like it already did for spy_return_list and spy_return_iter, and no longer overwrites attributes with these names on mocks that are not spies.
  • [#633](https://github.com/pytest-dev/pytest-mock/issues/633) <https://github.com/pytest-dev/pytest-mock/pull/633>_: Fixed spies on classmethod, staticmethod, builtins and classes returning a MagicMock instead of calling the spied code after mocker.resetall(side_effect=True). Resetting a spy's side_effect now goes back to calling the spied code, also clearing any side_effect set on the spy.
Commits
  • 5c2f207 Release 3.17.0
  • 9625271 Bump the minor version for releases that change existing behavior
  • 34b87ae Drop introspection from assert_has_calls and assert_has_awaits (#643)
  • 866520f Only show introspection for failures abo...

    Description has been truncated

@dependabot
dependabot Bot requested a review from a team as a code owner November 20, 2026 18:42
@dependabot dependabot Bot added the part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) label Nov 20, 2026
@dependabot
dependabot Bot requested review from llucax and removed request for a team November 20, 2026 18:42
@dependabot dependabot Bot added the type:tech-debt Improves the project without visible changes for users label Nov 20, 2026
@frequenz-auto-dependabot frequenz-auto-dependabot Bot added the tool:auto-merged PR was auto-merged by automation label Nov 20, 2026
@llucax

llucax commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

@dependabot rebase

Bumps the minor group with 10 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [flake8](https://github.com/pycqa/flake8) | `7.4.1` | `7.5.0` |
| [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.7.7` | `9.8.1` |
| [griffe](https://github.com/mkdocstrings/griffe) | `2.3.0` | `2.4.1` |
| [types-markdown](https://github.com/python/typeshed) | `3.10.2.20260712` | `3.11.3.20261108` |
| [nox](https://github.com/wntrblm/nox) | `2026.8.17` | `2026.10.20` |
| [pylint](https://github.com/pylint-dev/pylint) | `4.0.9` | `4.1.4` |
| [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.168.3` | `6.170.15` |
| [pytest](https://github.com/pytest-dev/pytest) | `9.1.1` | `9.2.0` |
| [pytest-mock](https://github.com/pytest-dev/pytest-mock) | `3.16.0` | `3.17.0` |
| [setuptools](https://github.com/pypa/setuptools) | `84.1.0` | `84.2.1` |



Updates `flake8` from 7.4.1 to 7.5.0
- [Commits](PyCQA/flake8@7.4.1...7.5.0)

Updates `mkdocs-material` from 9.7.7 to 9.8.1
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](squidfunk/mkdocs-material@9.7.7...9.8.1)

Updates `griffe` from 2.3.0 to 2.4.1
- [Release notes](https://github.com/mkdocstrings/griffe/releases)
- [Changelog](https://github.com/mkdocstrings/griffe/blob/main/CHANGELOG.md)
- [Commits](mkdocstrings/griffe@2.3.0...2.4.1)

Updates `types-markdown` from 3.10.2.20260712 to 3.11.3.20261108
- [Commits](https://github.com/python/typeshed/commits)

Updates `nox` from 2026.8.17 to 2026.10.20
- [Release notes](https://github.com/wntrblm/nox/releases)
- [Changelog](https://github.com/wntrblm/nox/blob/main/CHANGELOG.md)
- [Commits](wntrblm/nox@2026.08.17...2026.10.20)

Updates `pylint` from 4.0.9 to 4.1.4
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v4.0.9...v4.1.4)

Updates `hypothesis` from 6.168.3 to 6.170.15
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@v6.168.3...v6.170.15)

Updates `pytest` from 9.1.1 to 9.2.0
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@9.1.1...9.2.0)

Updates `pytest-mock` from 3.16.0 to 3.17.0
- [Release notes](https://github.com/pytest-dev/pytest-mock/releases)
- [Changelog](https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-mock@v3.16.0...v3.17.0)

Updates `setuptools` from 84.1.0 to 84.2.1
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](pypa/setuptools@v84.1.0...v84.2.1)

---
updated-dependencies:
- dependency-name: flake8
  dependency-version: 7.5.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: griffe
  dependency-version: 2.4.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: hypothesis
  dependency-version: 6.170.15
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: mkdocs-material
  dependency-version: 9.8.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: nox
  dependency-version: 2026.10.20
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: pylint
  dependency-version: 4.1.4
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: pytest
  dependency-version: 9.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: pytest-mock
  dependency-version: 3.17.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: setuptools
  dependency-version: 84.2.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor
- dependency-name: types-markdown
  dependency-version: 3.11.3.20261108
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title build(deps-dev): Bump the minor group with 10 updates build(deps-dev): Bump the minor group across 1 directory with 10 updates Nov 20, 2026
@dependabot
dependabot Bot force-pushed the dependabot/pip/minor-456d840df6 branch from 87cac09 to b4b9b4d Compare November 20, 2026 18:50
pylint 4.1 reports W0223 (`abstract-method`) for the receiver subclass
the test defines without `close()`, which it leaves out on purpose to
check that such a subclass can't be instantiated.

Check that `close()` is in `Receiver.__abstractmethods__` instead.
`ABCMeta` sets it, and it is what makes instantiating a subclass that
doesn't implement `close()` raise a `TypeError`, so testing that
machinery again isn't needed. This avoids disabling the warning.

Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
@github-actions github-actions Bot added the part:tests Affects the unit, integration and performance (benchmarks) tests label Nov 20, 2026
@llucax
llucax requested review from Marenz and shsms November 20, 2026 18:58
@llucax

llucax commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Pushed a new commit to fix the CI, needs someone else's approval now.

@Marenz Marenz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 The updated test still checks that Receiver.close is abstract. The dependency updates passed CI.

@frequenz-auto-dependabot
frequenz-auto-dependabot Bot added this pull request to the merge queue Nov 20, 2026
Merged via the queue into v2.x.x with commit da6309e Nov 20, 2026
12 checks passed
@frequenz-auto-dependabot
frequenz-auto-dependabot Bot deleted the dependabot/pip/minor-456d840df6 branch November 20, 2026 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:tests Affects the unit, integration and performance (benchmarks) tests part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) tool:auto-merged PR was auto-merged by automation type:tech-debt Improves the project without visible changes for users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants