Skip to content

build(deps): bump the python group with 10 updates - #1523

Merged
bwitt merged 2 commits into
masterfrom
dependabot/pip/python-5b4bb875fb
Nov 22, 2026
Merged

bwitt merged 2 commits into
masterfrom
dependabot/pip/python-5b4bb875fb

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps the python group with 10 updates:

Package From To
click 8.5.0 8.5.1
zipp 4.1.1 4.1.2
coverage 7.16.2 7.17.3
pytest 9.1.1 9.2.0
pylint 4.1.2 4.1.4
pytest-mock 3.16.0 3.17.0
pytest-mypy 1.0.1 1.1.0
pytest-randomly 5.0.0 5.1.0
types-setuptools 84.0.0.20261006 84.2.0.20261104
gunicorn 23.0.0 27.0.1

Updates click from 8.5.0 to 8.5.1

Release notes

Sourced from click's releases.

8.5.1

This is the Click 8.5.1 fix release, which fixes bugs but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.

PyPI: https://pypi.org/project/click/8.5.1/ Changes: https://click.palletsprojects.com/page/changes/#version-8-5-1 Milestone: https://github.com/pallets/click/milestone/66

  • Fix copy.deepcopy() and pickle on a Parameter, Option or Command. #3805
  • A KeyboardInterrupt arriving while Command.main() reports an abort or an error, or while it exits, no longer escapes as an unhandled traceback. The command still exits with the intended code; only the message may be lost. #3802
  • Add Option.get_help_spec(), which returns the option's left help column even when the option is hidden. Option.get_help_record() still returns None for hidden options, so help screens are unchanged. #3821
  • The Positional arguments help section lists every argument of the command, not only the documented ones. An argument with no help gets an empty description, the same way an option with no help does. #3860
  • Argument.get_help_record() always returns a tuple. It used to return None for an argument with no help. #3860
  • Document which types are inferred from default, and what an unrecognized type callable does to a command-line value. #3036 #3808
  • path_type narrows the converted value's type for convert and prompt. #3822 #3858
  • Parameter accepts a new help argument, and Option and Argument inherit it. Parameter.to_info_dict() now reports help for every kind of parameter. #3861
  • A command's short help no longer stops at an abbreviation such as vs. or e.g. inside the first sentence. A period ends the sentence only when it closes the text or the next word does not start in lowercase. #3865
  • With show_envvar=True, an option's error message now prints all variables of an envvar sequence instead of the repr of the sequence. #3884
  • An empty envvar, such as [] or "", shows the same help and error message as no envvar when show_envvar=True. The help screen used to show [env var: ]. #3884
  • Align command's deprecated help text to options and arguments: do not translate the command's own help text, only the (DEPRECATED) label. #3901
Changelog

Sourced from click's changelog.

Version 8.5.1

Released 2026-11-09

  • Fix copy.deepcopy() and pickle on a Parameter, Option or Command. {pr}3805
  • A KeyboardInterrupt arriving while Command.main() reports an abort or an error, or while it exits, no longer escapes as an unhandled traceback. The command still exits with the intended code; only the message may be lost. {issue}3802
  • Add {meth}Option.get_help_spec, which returns the option's left help column even when the option is hidden. {meth}Option.get_help_record still returns None for hidden options, so help screens are unchanged. {pr}3821
  • The Positional arguments help section lists every argument of the command, not only the documented ones. An argument with no help gets an empty description, the same way an option with no help does. {pr}3860
  • {meth}Argument.get_help_record always returns a tuple. It used to return None for an argument with no help. {pr}3860
  • Document which types are inferred from default, and what an unrecognized type callable does to a command-line value. {issue}3036 {pr}3808
  • path_type narrows the converted value's type for convert and prompt. {issue}3822 {pr}3858
  • {class}Parameter accepts a new help argument and {class}Option and {class}Argument inherits it. {meth}Parameter.to_info_dict now reports help for every kind of parameter. {pr}3861
  • A command's short help no longer stops at an abbreviation such as vs. or e.g. inside the first sentence. A period ends the sentence only when it closes the text or the next word does not start in lowercase. {pr}3865
  • With show_envvar=True, an option's error message now prints all variables of an envvar sequence instead of the repr of the sequence. {pr}3884
  • An empty envvar, such as [] or "", shows the same help and error message as no envvar when show_envvar=True. The help screen used to show [env var: ]. {pr}3884
  • Align command's deprecated help text to options and arguments: do not translate the command's own help text, only the (DEPRECATED) label. {pr}3901
Commits
  • cf19179 Release version 8.5.1
  • 1ff766d Remove documentation changelog entry.
  • 16da191 Add a standalone application guide for Nuitka (#3897)
  • 473f652 Remove issue and PR references outside the changelog (#3905)
  • df7fe0b Remove issue and PR references outside the changelog
  • 4fd4206 Bump pypa/gh-action-pypi-publish to v1.14.3 (#3906)
  • 9048ab0 Bump pypa/gh-action-pypi-publish to v1.14.3
  • ff0c369 Add a standalone application guide for Nuitka
  • 5125851 Stop passing a deprecated command's help text through gettext (#3901)
  • 6d34602 Additional round-trip tests for unstyle() (#3899)
  • Additional commits viewable in compare view

Updates zipp from 4.1.1 to 4.1.2

Changelog

Sourced from zipp's changelog.

v4.1.2

No significant changes.

Commits

Updates coverage from 7.16.2 to 7.17.3

Release notes

Sourced from coverage's releases.

7.17.3

Version 7.17.3 — 2026-11-11

  • Fix: using patch = fork, a child process wasn’t measured unless patch = subprocess was also used, as described in issue 2340. This is now fixed in pull 2342.
  • Fix: the JSON report keys functions and classes by name, but names can repeat, for example a property getter and setter. Only the last one was kept, so the others were missing from the report. Now repeated names get a @<line number> suffix, as in the LCOV report. pull 2353.
  • Fix: when combining parallel data files, a file that disappears after it has been listed (for example, when the process writing it is still finishing its write) is now reported with a warning, instead of stopping the combine with a DataError. This was a regression in 7.17.1. Closes issue 2364.
  • Fix: with patch = subprocess on Python 3.13, a measured subprocess that was stopped with SIGINT would exit with status 1 instead of dying from the signal. This was a regression in 7.17.1, and is now fixed, closing issue 2362.
  • Performance: on Python 3.13 and later, using the C tracer should result in test suites running about 8% to 12% faster (pull 2371).

➡️  PyPI page: coverage 7.17.3. :arrow_right:  To install: python3 -m pip install coverage==7.17.3

7.17.2

Version 7.17.2 — 2026-11-04

  • Fix: two different scenarios failed with “attempt to write a readonly database”. These were regressions in 7.17.1. They are fixed, closing issue 2356:
    • When using a version of SQLite older than 3.34.0, such as on RHEL 8 or Ubuntu 20.04, coverage combine (and pytest-cov, which combines automatically) always failed.
    • coverage combine and coverage debug data failed when a data file existed but had no coverage schema, for example an empty file left behind by a worker that died. A file we can’t read is now reported like any other unusable data file, and is left in place.

➡️  PyPI page: coverage 7.17.2. :arrow_right:  To install: python3 -m pip install coverage==7.17.2

7.17.1

Version 7.17.1 — 2026-11-03

  • Fix: a one-line class or function body immediately followed by another statement (such as class Foo: ... on its own line) was incorrectly reported as a missing branch when using the sys.monitoring core. This is now fixed, closing issue 2167 and issue 2337.
  • Fix: the HTML report only rewrites a file’s page when the file or its data has changed, but each page also links to the previous and next files. When the set of reported files changed, unchanged pages kept their old links. For example, with skip_covered, a file that became 100% covered had its page deleted, but the pages next to it still linked to it. Now a page is also rewritten when its neighbors change.
  • Fix: --fail-under now uses at least the decimal precision of the threshold for both the comparison and failure message. With precision=0, a total of 0.4 now passes --fail-under=0.3 and fails --fail-under=0.5 with the message “total of 0.4 is less than fail-under=0.5”. Previously, the comparison rounded the total to zero and the message could claim “1 is less than 0”. Closes issue 2295.
  • Fix: the HTML report escaped file names twice, so a name with &, <, or quotes in it was shown with entities like &amp;. Now they are properly escaped only once.
  • Fix: --source=/ measured no files. A file system root can’t be a source directory, so now it is an error. Closes issue 2291.
  • In an abundance of caution, prevent forged SQLite journal files from deleting files they shouldn’t.

➡️  PyPI page: coverage 7.17.1. :arrow_right:  To install: python3 -m pip install coverage==7.17.1

7.17.0

Version 7.17.0 — 2026-10-22

  • Dropped support for Python 3.10.
  • Binary wheels are now provided for iOS and Android. This allows the use of the optimized C tracer on mobile platforms.
  • Fix: three or more levels of nested with statements could make a with line look like a branch with an exit that can never happen. Using the sys.monitoring core, these phantom branches were reported as partial. Other cores hid the problem but still counted the phantom branches in the total. Closes issue 1987.
  • Fix: a comment or string that merely mentioned if True: or while True: could mark its line as a branch that is known to be partial, so a branch that never ran was reported as taken. These built-in patterns now only match at the start of the statement. Closes issue 2314.
  • Fix: region detection missed functions defined in unusual places, such as else and except clauses. This is now fixed.
  • Fix: recent versions of the lcov tool complain if the same function name appears more than once in a report. Python can have multiple same-named functions in a few ways, for example, getters/setters or conditionally defined functions. These are now disambiguated by adding a @<line number> suffix to the function name. Fixes issue 2335.
  • Fix: The “Can’t combine statement coverage data with branch data” error now names the two data files it couldn’t combine. The error description in the docs now lists common causes and how to find the process that wrote the file.
  • Fix: at coverage totals close to 0 or 100, the XML report could get incorrect line-rate values like 8.333e-05 or 1. This is now fixed, closing issue 2293 and issue 2294.
  • Fix: a parallel data file saved more than once kept the hash of its first save in its file name. Combining could then skip it as a duplicate of another file that had the same data at that point, and delete it, losing the data recorded after the first save. Each save now updates the hash. This had been a problem since 7.13.1. Fixes issue 2338.
  • Fixes for obscure but legal file names:
    • File names (and plugin names) can contain control characters, which are legal in POSIX paths but unsafe in reports: in XML 1.0 they make the document non-well-formed, and in a terminal they act as escape sequences (colors, title/clipboard sequences, cursor moves that forge output). Now the XML report, the text and Markdown summary reports, and coverage debug data replace non-printable characters in names. Printable names are unchanged.
    • A file pattern (from include, omit, or a [paths] alias) containing a newline sent the glob-to-regex translation into an infinite loop, hanging the process. Newlines in patterns are now handled like any other character.

... (truncated)

Changelog

Sourced from coverage's changelog.

Version 7.17.3 — 2026-11-11

  • Fix: using patch = fork, a child process wasn't measured unless patch = subprocess was also used, as described in issue 2340. This is now fixed in pull 2342.

  • Fix: the JSON report keys functions and classes by name, but names can repeat, for example a property getter and setter. Only the last one was kept, so the others were missing from the report. Now repeated names get a @<line number> suffix, as in the LCOV report. pull 2353_.

  • Fix: when combining parallel data files, a file that disappears after it has been listed (for example, when the process writing it is still finishing its write) is now reported with a warning, instead of stopping the combine with a DataError. This was a regression in 7.17.1. Closes issue 2364_.

  • Fix: with patch = subprocess on Python 3.13, a measured subprocess that was stopped with SIGINT would exit with status 1 instead of dying from the signal. This was a regression in 7.17.1, and is now fixed, closing issue 2362_.

  • Performance: on Python 3.13 and later, using the C tracer should result in test suites running about 8% to 12% faster (pull 2371_).

.. _issue 2340: coveragepy/coveragepy#2340 .. _pull 2342: coveragepy/coveragepy#2342 .. _pull 2353: coveragepy/coveragepy#2353 .. _issue 2364: coveragepy/coveragepy#2364 .. _issue 2362: coveragepy/coveragepy#2362 .. _pull 2371: coveragepy/coveragepy#2371

.. _changes_7-17-2:

Version 7.17.2 — 2026-11-04

  • Fix: two different scenarios failed with "attempt to write a readonly database". These were regressions in 7.17.1. They are fixed, closing issue 2356_:

    • When using a version of SQLite older than 3.34.0, such as on RHEL 8 or Ubuntu 20.04, coverage combine (and pytest-cov, which combines automatically) always failed.

    • coverage combine and coverage debug data failed when a data file existed but had no coverage schema, for example an empty file left behind by a worker that died. A file we can't read is now reported like any other

... (truncated)

Commits
  • e6580b2 build: use 24.04 for i686
  • c03b316 build: sample_html commits the updated sample
  • 07e6c88 docs: sample HTML for 7.17.3
  • 9bcfba6 docs: prep for 7.17.3
  • a1a76e6 docs: sample_html links will work once published
  • 00e7709 fix: keep the SIGINT exit status of a measured subprocess #2362
  • 89e8aef fix: report a vanishing parallel data file instead of crashing combine #2364 ...
  • 1cba103 refactor: use get_report() more
  • ca4c3bb refactor: use make_data_file() more
  • 96beedb refactor: use assert_file_count() more
  • 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 pylint from 4.1.2 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 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 about the call arguments (#642)
  • 5ab41c1 Do not chain the original mock error to wrapped assertion failures (#641)
  • 1916b14 Merge pull request #635 from nicoddemus/docs-contributing-resetall
  • 212fcd9 Document resetall, the changelog format and running tests with tox
  • 9374b2c Merge pull request #634 from pytest-dev/release-3.16.1
  • fab730d Release 3.16.1
  • d26d41b Merge pull request #627 from xiehuanyi/docs/async-stub-awaits-20261012-r2
  • Additional commits viewable in compare view

Updates pytest-mypy from 1.0.1 to 1.1.0

Release notes

Sourced from pytest-mypy's releases.

v1.1.0

What's Changed

Full Changelog: realpython/pytest-mypy@v1.0.1...v1.1.0

Commits

Updates pytest-randomly from 5.0.0 to 5.1.0

Changelog

Sourced from pytest-randomly's changelog.

5.1.0 (2026-11-08)

  • Drop Python 3.10 support.

  • Fix --randomly-seed=last with pytest-xdist, where workers could each pick a different seed after --cache-clear, failing with “Different tests were collected”. Workers now always use the seed resolved on the main process.

    Thanks to Abhishek Verma in PR [#755](https://github.com/pytest-dev/pytest-randomly/issues/755) <https://github.com/pytest-dev/pytest-randomly/pull/755>__.

  • Fix crash when test node IDs contain surrogate characters from undecodable filenames.

    Thanks to Huanyi Xie in PR [#751](https://github.com/pytest-dev/pytest-randomly/issues/751) <https://github.com/pytest-dev/pytest-randomly/pull/751>__.

  • Initialize the configured seed when the report header is disabled, including quiet output and runs without the terminal plugin.

    Thanks to Rupayon Haldar in PR [#753](https://github.com/pytest-dev/pytest-randomly/issues/753) <https://github.com/pytest-dev/pytest-randomly/pull/753>__.

Commits

Updates types-setuptools from 84.0.0.20261006 to 84.2.0.20261104

Commits

Updates gunicorn from 23.0.0 to 27.0.1

Release notes

Sourced from gunicorn's releases.

gunicorn 27.0.1

Bug Fixes

  • ASGI: serve the next request on a kept-alive HTTP/1.1 connection as soon as the previous response is complete. It used to wait until the application returned, so a background task (Starlette, FastAPI) held up every request behind it on the same connection (#3819).
  • ASGI: refuse an informational (1xx) response sent after the final response has started, instead of writing it out of order (RFC 9110 §15.2).
  • gthread: when a worker stops (max_requests, reload, SIGTERM), keep its kept-alive connections open for up to 2 seconds and answer a request that arrives on one with Connection: close, instead of closing them right away. A client reusing such a connection, such as one following a redirect, lost its request (RFC 9112 §9.6) (#3821).

Full changelog: https://github.com/benoitc/gunicorn/blob/master/docs/content/news.md

gunicorn 27.0.0

Breaking Changes

  • Reject with 400 a request whose Transfer-Encoding does not end with chunked, such as gzip or identity alone, with or without Content-Length (RFC 9112 §6.3). The WSGI workers used to read such a body until the connection closed and the ASGI worker treated it as empty. Clients that send Transfer-Encoding: identity must stop sending it.

Bug Fixes

  • Reject whitespace between a header name and the colon (RFC 9112 §5.1).
  • Trim only spaces and tabs around Transfer-Encoding values (RFC 9110 §5.6.3) (#3364).
  • Reject a Content-Length that is not plain digits (RFC 9110 §8.6).
  • Reject chunk data not followed by CRLF (RFC 9112 §7.1).
  • Reject control characters in the request path (RFC 9112 §3.2) (#3371).
  • Return 414 URI Too Long for a request line over limit_request_line (RFC 9112 §3) (#2487).
  • ASGI: never write more body bytes than the app's Content-Length, and close the connection when the body is shorter (RFC 9112 §6.3).
  • ASGI: close the connection when the app returns before finishing its response (RFC 9112 §6.3).
  • ASGI: reject response header names and values that are not valid (RFC 9110 §5.1, §5.5).
  • WSGI: reject a response status that is not three digits followed by a valid reason phrase (RFC 9112 §4).

... (truncated)

Commits
  • e143c8d gunicorn 27.0.1
  • 89cf093 Merge pull request #3822 from benoitc/fix/gthread-keepalive-on-stop
  • 4d6e86e gthread: keep kept-alive connections briefly when the worker stops
  • 710d1b2 Merge pull request #3820 from benoitc/fix/asgi-keepalive-after-response
  • e00038f asgi: keep waiting for a call that left request body unread
  • a1f2063 tests: background tasks in the Starlette and FastAPI compat apps

Bumps the python group with 10 updates:

| Package | From | To |
| --- | --- | --- |
| [click](https://github.com/pallets/click) | `8.5.0` | `8.5.1` |
| [zipp](https://github.com/jaraco/zipp) | `4.1.1` | `4.1.2` |
| [coverage](https://github.com/coveragepy/coveragepy) | `7.16.2` | `7.17.3` |
| [pytest](https://github.com/pytest-dev/pytest) | `9.1.1` | `9.2.0` |
| [pylint](https://github.com/pylint-dev/pylint) | `4.1.2` | `4.1.4` |
| [pytest-mock](https://github.com/pytest-dev/pytest-mock) | `3.16.0` | `3.17.0` |
| [pytest-mypy](https://github.com/realpython/pytest-mypy) | `1.0.1` | `1.1.0` |
| [pytest-randomly](https://github.com/pytest-dev/pytest-randomly) | `5.0.0` | `5.1.0` |
| [types-setuptools](https://github.com/python/typeshed) | `84.0.0.20261006` | `84.2.0.20261104` |
| [gunicorn](https://github.com/benoitc/gunicorn) | `23.0.0` | `27.0.1` |


Updates `click` from 8.5.0 to 8.5.1
- [Release notes](https://github.com/pallets/click/releases)
- [Changelog](https://github.com/pallets/click/blob/main/CHANGES.md)
- [Commits](pallets/click@8.5.0...8.5.1)

Updates `zipp` from 4.1.1 to 4.1.2
- [Release notes](https://github.com/jaraco/zipp/releases)
- [Changelog](https://github.com/jaraco/zipp/blob/main/NEWS.rst)
- [Commits](jaraco/zipp@v4.1.1...v4.1.2)

Updates `coverage` from 7.16.2 to 7.17.3
- [Release notes](https://github.com/coveragepy/coveragepy/releases)
- [Changelog](https://github.com/coveragepy/coveragepy/blob/main/CHANGES.rst)
- [Commits](coveragepy/coveragepy@7.16.2...7.17.3)

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 `pylint` from 4.1.2 to 4.1.4
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v4.1.2...v4.1.4)

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 `pytest-mypy` from 1.0.1 to 1.1.0
- [Release notes](https://github.com/realpython/pytest-mypy/releases)
- [Commits](realpython/pytest-mypy@v1.0.1...v1.1.0)

Updates `pytest-randomly` from 5.0.0 to 5.1.0
- [Changelog](https://github.com/pytest-dev/pytest-randomly/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-randomly@5.0.0...5.1.0)

Updates `types-setuptools` from 84.0.0.20261006 to 84.2.0.20261104
- [Commits](https://github.com/python/typeshed/commits)

Updates `gunicorn` from 23.0.0 to 27.0.1
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](benoitc/gunicorn@23.0.0...27.0.1)

---
updated-dependencies:
- dependency-name: click
  dependency-version: 8.5.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python
- dependency-name: zipp
  dependency-version: 4.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python
- dependency-name: coverage
  dependency-version: 7.17.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python
- dependency-name: pytest
  dependency-version: 9.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python
- dependency-name: pylint
  dependency-version: 4.1.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python
- dependency-name: pytest-mock
  dependency-version: 3.17.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python
- dependency-name: pytest-mypy
  dependency-version: 1.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python
- dependency-name: pytest-randomly
  dependency-version: 5.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python
- dependency-name: types-setuptools
  dependency-version: 84.2.0.20261104
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python
- dependency-name: gunicorn
  dependency-version: 27.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: python
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 20, 2026
@codecov

codecov Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.91%. Comparing base (ee42ac7) to head (f8630f5).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1523   +/-   ##
=======================================
  Coverage   78.91%   78.91%           
=======================================
  Files          20       20           
  Lines        1489     1489           
=======================================
  Hits         1175     1175           
  Misses        314      314           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bwitt
bwitt merged commit 9027a42 into master Nov 22, 2026
10 checks passed
@bwitt
bwitt deleted the dependabot/pip/python-5b4bb875fb branch November 22, 2026 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant