Skip to content

build(deps-dev): bump the dev group across 1 directory with 40 updates - #156

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/api/dev-903026db7e
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/api/dev-903026db7e

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps the dev group with 40 updates in the /api directory:

Package From To
coverage 7.16.0 7.17.3
faker 40.38.0 40.54.0
ruff 0.16.6 0.17.5
pytest 9.1.1 9.2.0
pytest-benchmark 5.3.0 5.3.1
pytest-env 1.7.0 1.8.5
pytest-mock 3.15.1 3.17.0
types-aiofiles 25.1.0.20260518 25.1.0.20261107
types-deprecated 1.3.1.20260728 1.3.1.20260928
types-docutils 0.23.0.20260827 0.23.0.20261107
types-gevent 26.8.0.20260811 26.9.0.20261107
types-markdown 3.10.2.20260712 3.11.3.20261108
types-oauthlib 3.3.0.20260724 4.0.0.20261107
types-objgraph 3.6.0.20260508 3.7.0.20261018
types-openpyxl 3.1.5.20260827 3.1.5.20261017
types-protobuf 7.35.1.20260827 7.35.1.20260906
types-psutil 7.2.2.20260827 7.2.2.20261111
types-psycopg2 2.9.21.20260724 2.9.21.20261030
types-pygments 2.21.0.20260819 2.21.0.20261115
types-pymysql 1.2.0.20260807 1.2.4.20261111
types-python-dateutil 2.9.0.20260807 2.9.0.20261104
types-pywin32 312.0.0.20260827 312.0.0.20261104
types-pyyaml 6.0.12.20260815 6.0.12.20261113
types-regex 2026.9.3.20260903 2026.11.9.20261110
types-shapely 2.1.0.20260728 2.1.0.20261030
types-simplejson 4.1.0.20260724 4.3.0.20261112
types-six 1.17.0.20260724 1.17.0.20261008
types-tensorflow 2.18.0.20260827 2.18.0.20261009
types-tqdm 4.70.0.20260827 4.70.0.20261106
boto3-stubs 1.43.88 1.44.3
hypothesis 6.167.1 6.170.15
types-setuptools 84.0.0.20260812 84.2.0.20261104
pandas-stubs 3.0.5.260730 3.1.0.261029
scipy-stubs 1.18.1.0 1.18.1.1
import-linter 2.14 2.16
celery-types 0.23.0 0.26.0
mypy 2.3.1 2.4.1
pyrefly 1.2.0 1.4.1
types-pytz 2026.3.1.20260727 2026.6.0.20261031
types-croniter 6.2.4.20260711 6.2.4.20261006

Updates coverage from 7.16.0 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 faker from 40.38.0 to 40.54.0

Release notes

Sourced from faker's releases.

Release v40.54.0

See CHANGELOG.md.

Release v40.53.0

See CHANGELOG.md.

Release v40.52.0

See CHANGELOG.md.

Release v40.51.0

See CHANGELOG.md.

Release v40.49.0

See CHANGELOG.md.

Release v40.48.0

See CHANGELOG.md.

Release v40.47.0

See CHANGELOG.md.

Release v40.46.0

See CHANGELOG.md.

Release v40.45.0

See CHANGELOG.md.

Release v40.44.0

See CHANGELOG.md.

Release v40.43.0

See CHANGELOG.md.

Release v40.42.0

See CHANGELOG.md.

Release v40.41.0

See CHANGELOG.md.

Release v40.40.0

See CHANGELOG.md.

Release v40.39.0

See CHANGELOG.md.

Changelog

Sourced from faker's changelog.

v40.54.0 - 2026-11-10

v40.53.0 - 2026-11-10

  • Fix: allow the digit 9 in the first eight positions of an en_CA SIN (#2488). Thanks @​Sreekant13.

v40.52.0 - 2026-11-09

v40.51.0 - 2026-11-09

  • Fix: reject non-positive precision in time_series (#2484). Thanks @​yuefdev.

v40.50.0 - 2026-11-09

  • Fix: avoid random offsets for equal parsed date_time_between bounds (#2479). Thanks @​FanWu-ai.
  • Docs: add faker-cti to community providers (#2492). Thanks @​mariot.

v40.49.0 - 2026-11-09

  • Fix: respect zero fractional digits for positive pyfloat fallback (#2473). Thanks @​FanWu-ai.

v40.48.0 - 2026-11-09

v40.47.0 - 2026-11-09

  • Fix: pass tzinfo through when resolving relative date_time_between_dates bounds (#2470). Thanks @​feiiiiii5.

v40.46.0 - 2026-11-09

v40.45.0 - 2026-11-09

v40.44.0 - 2026-10-28

v40.43.0 - 2026-10-09

... (truncated)

Commits
  • affa2c5 Bump version: 40.53.0 → 40.54.0
  • 06c924c 📝 Update CHANGELOG.md
  • 346aae6 Fix bn_BD swift_bank_codes and swift11 length (#2490)
  • 10323a2 Add instruction to run /simplify command
  • bb38ec8 Bump version: 40.52.0 → 40.53.0
  • d4f6529 📝 Update CHANGELOG.md
  • bd0bf60 Allow the digit 9 in the first eight positions of an en_CA SIN (#2488)
  • 1135c76 Bump version: 40.51.0 → 40.52.0
  • 1bd11f8 📝 Update CHANGELOG.md
  • 33e27e2 fix(it_IT): generate valid VAT IDs in vat_id() (#2482)
  • Additional commits viewable in compare view

Updates ruff from 0.16.6 to 0.17.5

Release notes

Sourced from ruff's releases.

0.17.5

Release Notes

Released on 2026-11-12.

Preview features

  • Redirect renamed rules (#30081)
  • [flake8-async] Implement pytest-raises-exception-group (ASYNC401) (#28772)
  • [flake8-logging-format] Mark G004 fix as unsafe (#30087)
  • [pylint] Implement no-method-argument (PLE0211) (#29748)
  • [refurb] Do not offer fix when write is nested in an expression (FURB103) (#29789)
  • [ruff] Add renamed-rule (RUF202) (#30079)
  • [ruff] Expand redirected-noqa to other suppression comments (RUF101) (#30078)

Bug fixes

  • Avoid crashing when Ruff logs to a closed stderr pipe (#30209)
  • Fix fixes that add or remove a keyword argument with a parenthesized value (#30189)
  • [flake8-import-conventions] Avoid shadowing names when fixing import aliases (ICN001) (#30035)
  • [flake8-bugbear] Fix B010 autofix for parenthesized setattr calls (#30168)
  • [flake8-pyi] Fix PYI034 autofix for parenthesized self annotations (#30173)
  • [pyupgrade] Fix UP031 duplicating closing parentheses around the format string (#30172)

Rule changes

  • [flake8-bugbear] Ignore frozen dataclass instantiations (B008) (#29231)

Performance

Other changes

  • Fix FreeBSD source builds with libc 0.2.190 (#30176)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.17.5

Released on 2026-11-12.

Preview features

  • Redirect renamed rules (#30081)
  • [flake8-async] Implement pytest-raises-exception-group (ASYNC401) (#28772)
  • [flake8-logging-format] Mark G004 fix as unsafe (#30087)
  • [pylint] Implement no-method-argument (PLE0211) (#29748)
  • [refurb] Do not offer fix when write is nested in an expression (FURB103) (#29789)
  • [ruff] Add renamed-rule (RUF202) (#30079)
  • [ruff] Expand redirected-noqa to other suppression comments (RUF101) (#30078)

Bug fixes

  • Avoid crashing when Ruff logs to a closed stderr pipe (#30209)
  • Fix fixes that add or remove a keyword argument with a parenthesized value (#30189)
  • [flake8-import-conventions] Avoid shadowing names when fixing import aliases (ICN001) (#30035)
  • [flake8-bugbear] Fix B010 autofix for parenthesized setattr calls (#30168)
  • [flake8-pyi] Fix PYI034 autofix for parenthesized self annotations (#30173)
  • [pyupgrade] Fix UP031 duplicating closing parentheses around the format string (#30172)

Rule changes

  • [flake8-bugbear] Ignore frozen dataclass instantiations (B008) (#29231)

Performance

Other changes

  • Fix FreeBSD source builds with libc 0.2.190 (#30176)

Contributors

... (truncated)

Commits

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-benchmark from 5.3.0 to 5.3.1

Changelog

Sourced from pytest-benchmark's changelog.

v5.3.1 (2026-11-01)

  • Fixed an AttributeError with pytest's public nodeid attribute by avoiding the removed private node._nodeid attribute (fixes [#321](https://github.com/ionelmc/pytest-benchmark/issues/321) <https://github.com/ionelmc/pytest-benchmark/issues/321>). This adds support for Pytest 9.2. Contributed by Hfycium in [#323](https://github.com/ionelmc/pytest-benchmark/issues/323) <https://github.com/ionelmc/pytest-benchmark/pull/323>.
  • Fixed Stats.hd15iqr returning the first datum above the Tukey upper fence instead of the highest datum within it, so the statistic reported the outlier it exists to exclude. ld15iqr was already correct. Contributed by WatchTree-19 in [#320](https://github.com/ionelmc/pytest-benchmark/issues/320) <https://github.com/ionelmc/pytest-benchmark/pull/320>_.
  • Added workaround for pygal's broken PluginImportFixer (it's removed from sys.meta_path).
Commits
  • 97c52d8 Bump version: 5.3.0 → 5.3.1
  • 1031904 Ignore this too.
  • b9d2222 Add workaround till Kozea/pygal#532 is released.
  • defaee2 Ignore windows deprecation warning (from some notebook thing) and bump pygal ...
  • 90204d9 Dump histogram for test_hd15iqr_excludes_high_outliers to a file. Also fix so...
  • 154cc0c Update changelog.
  • 5b535e1 Fix hd15iqr returning the outlier it is meant to exclude
  • f9b57d1 Add python 3.15 and pytest 9.2 in test suite.
  • 9f669a3 Fix benchmark fixture for pytest nodeid changes
  • See full diff in compare view

Updates pytest-env from 1.7.0 to 1.8.5

Release notes

Sourced from pytest-env's releases.

1.8.5

PyPI release

Full Changelog

1.8.4

Bug fixes

New Contributors

PyPI release

Full Changelog

1.8.3

New Contributors

🐍 PyPI release

📜 Full Changelog

1.8.2

Bug fixes

Packaging

  • Describe the pytest plugin and its testing purpose in package metadata (#282) by @​gaborbernat.

New Contributors

🐍 PyPI release

📜 Full Changelog

... (truncated)

Changelog

Sourced from pytest-env's changelog.

1.8.5 (2026-11-04)

1.8.4 (2026-10-31)

Fixed

1.8.3 (2026-10-27)

1.8.2 (2026-10-27)

Fixed

Packaging

  • Describe the pytest plugin and its testing purpose in package metadata (#282) by @​gaborbernat.

1.8.1 (2026-10-18)

Fixed

  • Respect an explicitly empty native env_files list over the INI fallback (#273) by @​edsonsims.

1.8.0 (2026-10-10)

... (truncated)

Commits
  • 5cbb947 release 1.8.5
  • 618d2c9 👷 ci: shared workflows and dependency hygiene (#300)
  • d4f32ef Bump the "dependencies" group with 2 updates across multiple ecosystems (#299)
  • 5dc29c7 🔧 build(deps): refresh release tools (#298)
  • 3132390 🐛 fix(scorecard): pin merged workflow (#297)
  • 556f5e6 👷 ci(scorecard): publish OpenSSF results (#296)
  • 71cfbc5 👷 ci(news): stop cancelling the news check (#295)
  • 13fcca4 release 1.8.4
  • 8eca638 🐛 fix(config): honor empty native TOML sections (#294)
  • 5d2502e 📝 docs(security): add a threat model and align the policy (#293)
  • Additional commits viewable in compare view

Updates pytest-mock from 3.15.1 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.

v3.16.0

2026-09-27

  • #604: Fixed duplicate_iterators=True for async functions spied with mocker.spy.
  • #611: Fixed async mock assertion introspection to use awaited arguments instead of the latest call's arguments.
  • #606: mocker.resetall(return_value=True, side_effect=True) now also applies to non-callable mocks, such as those returned by mocker.create_autospec(SomeClass, instance=True). Previously both arguments were silently ignored for them.
  • #547: Added SpyType for annotating mocker.spy results.
  • Dropped...

    Description has been truncated

Bumps the dev group with 40 updates in the /api directory:

| Package | From | To |
| --- | --- | --- |
| [coverage](https://github.com/coveragepy/coveragepy) | `7.16.0` | `7.17.3` |
| [faker](https://github.com/joke2k/faker) | `40.38.0` | `40.54.0` |
| [ruff](https://github.com/astral-sh/ruff) | `0.16.6` | `0.17.5` |
| [pytest](https://github.com/pytest-dev/pytest) | `9.1.1` | `9.2.0` |
| [pytest-benchmark](https://github.com/ionelmc/pytest-benchmark) | `5.3.0` | `5.3.1` |
| [pytest-env](https://github.com/pytest-dev/pytest-env) | `1.7.0` | `1.8.5` |
| [pytest-mock](https://github.com/pytest-dev/pytest-mock) | `3.15.1` | `3.17.0` |
| [types-aiofiles](https://github.com/python/typeshed) | `25.1.0.20260518` | `25.1.0.20261107` |
| [types-deprecated](https://github.com/python/typeshed) | `1.3.1.20260728` | `1.3.1.20260928` |
| [types-docutils](https://github.com/python/typeshed) | `0.23.0.20260827` | `0.23.0.20261107` |
| [types-gevent](https://github.com/python/typeshed) | `26.8.0.20260811` | `26.9.0.20261107` |
| [types-markdown](https://github.com/python/typeshed) | `3.10.2.20260712` | `3.11.3.20261108` |
| [types-oauthlib](https://github.com/python/typeshed) | `3.3.0.20260724` | `4.0.0.20261107` |
| [types-objgraph](https://github.com/python/typeshed) | `3.6.0.20260508` | `3.7.0.20261018` |
| [types-openpyxl](https://github.com/python/typeshed) | `3.1.5.20260827` | `3.1.5.20261017` |
| [types-protobuf](https://github.com/python/typeshed) | `7.35.1.20260827` | `7.35.1.20260906` |
| [types-psutil](https://github.com/python/typeshed) | `7.2.2.20260827` | `7.2.2.20261111` |
| [types-psycopg2](https://github.com/python/typeshed) | `2.9.21.20260724` | `2.9.21.20261030` |
| [types-pygments](https://github.com/python/typeshed) | `2.21.0.20260819` | `2.21.0.20261115` |
| [types-pymysql](https://github.com/python/typeshed) | `1.2.0.20260807` | `1.2.4.20261111` |
| [types-python-dateutil](https://github.com/python/typeshed) | `2.9.0.20260807` | `2.9.0.20261104` |
| [types-pywin32](https://github.com/python/typeshed) | `312.0.0.20260827` | `312.0.0.20261104` |
| [types-pyyaml](https://github.com/python/typeshed) | `6.0.12.20260815` | `6.0.12.20261113` |
| [types-regex](https://github.com/python/typeshed) | `2026.9.3.20260903` | `2026.11.9.20261110` |
| [types-shapely](https://github.com/python/typeshed) | `2.1.0.20260728` | `2.1.0.20261030` |
| [types-simplejson](https://github.com/python/typeshed) | `4.1.0.20260724` | `4.3.0.20261112` |
| [types-six](https://github.com/python/typeshed) | `1.17.0.20260724` | `1.17.0.20261008` |
| [types-tensorflow](https://github.com/python/typeshed) | `2.18.0.20260827` | `2.18.0.20261009` |
| [types-tqdm](https://github.com/python/typeshed) | `4.70.0.20260827` | `4.70.0.20261106` |
| [boto3-stubs](https://github.com/youtype/mypy_boto3_builder) | `1.43.88` | `1.44.3` |
| [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.167.1` | `6.170.15` |
| [types-setuptools](https://github.com/python/typeshed) | `84.0.0.20260812` | `84.2.0.20261104` |
| [pandas-stubs](https://github.com/pandas-dev/pandas-stubs) | `3.0.5.260730` | `3.1.0.261029` |
| [scipy-stubs](https://github.com/scipy/scipy-stubs) | `1.18.1.0` | `1.18.1.1` |
| [import-linter](https://github.com/import-linter/import-linter) | `2.14` | `2.16` |
| [celery-types](https://github.com/sbdchd/celery-types) | `0.23.0` | `0.26.0` |
| [mypy](https://github.com/python/mypy) | `2.3.1` | `2.4.1` |
| [pyrefly](https://github.com/facebook/pyrefly) | `1.2.0` | `1.4.1` |
| [types-pytz](https://github.com/python/typeshed) | `2026.3.1.20260727` | `2026.6.0.20261031` |
| [types-croniter](https://github.com/python/typeshed) | `6.2.4.20260711` | `6.2.4.20261006` |



Updates `coverage` from 7.16.0 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.0...7.17.3)

Updates `faker` from 40.38.0 to 40.54.0
- [Release notes](https://github.com/joke2k/faker/releases)
- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md)
- [Commits](joke2k/faker@v40.38.0...v40.54.0)

Updates `ruff` from 0.16.6 to 0.17.5
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.16.6...0.17.5)

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-benchmark` from 5.3.0 to 5.3.1
- [Release notes](https://github.com/ionelmc/pytest-benchmark/releases)
- [Changelog](https://github.com/ionelmc/pytest-benchmark/blob/master/CHANGELOG.rst)
- [Commits](ionelmc/pytest-benchmark@v5.3.0...v5.3.1)

Updates `pytest-env` from 1.7.0 to 1.8.5
- [Release notes](https://github.com/pytest-dev/pytest-env/releases)
- [Changelog](https://github.com/pytest-dev/pytest-env/blob/main/CHANGELOG.md)
- [Commits](pytest-dev/pytest-env@1.7.0...1.8.5)

Updates `pytest-mock` from 3.15.1 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.15.1...v3.17.0)

Updates `types-aiofiles` from 25.1.0.20260518 to 25.1.0.20261107
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-deprecated` from 1.3.1.20260728 to 1.3.1.20260928
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-docutils` from 0.23.0.20260827 to 0.23.0.20261107
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-gevent` from 26.8.0.20260811 to 26.9.0.20261107
- [Commits](https://github.com/python/typeshed/commits)

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

Updates `types-oauthlib` from 3.3.0.20260724 to 4.0.0.20261107
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-objgraph` from 3.6.0.20260508 to 3.7.0.20261018
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-openpyxl` from 3.1.5.20260827 to 3.1.5.20261017
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-protobuf` from 7.35.1.20260827 to 7.35.1.20260906
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-psutil` from 7.2.2.20260827 to 7.2.2.20261111
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-psycopg2` from 2.9.21.20260724 to 2.9.21.20261030
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-pygments` from 2.21.0.20260819 to 2.21.0.20261115
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-pymysql` from 1.2.0.20260807 to 1.2.4.20261111
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-python-dateutil` from 2.9.0.20260807 to 2.9.0.20261104
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-pywin32` from 312.0.0.20260827 to 312.0.0.20261104
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-pyyaml` from 6.0.12.20260815 to 6.0.12.20261113
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-regex` from 2026.9.3.20260903 to 2026.11.9.20261110
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-shapely` from 2.1.0.20260728 to 2.1.0.20261030
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-simplejson` from 4.1.0.20260724 to 4.3.0.20261112
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-six` from 1.17.0.20260724 to 1.17.0.20261008
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-tensorflow` from 2.18.0.20260827 to 2.18.0.20261009
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-tqdm` from 4.70.0.20260827 to 4.70.0.20261106
- [Commits](https://github.com/python/typeshed/commits)

Updates `boto3-stubs` from 1.43.88 to 1.44.3
- [Release notes](https://github.com/youtype/mypy_boto3_builder/releases)
- [Commits](https://github.com/youtype/mypy_boto3_builder/commits)

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

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

Updates `pandas-stubs` from 3.0.5.260730 to 3.1.0.261029
- [Changelog](https://github.com/pandas-dev/pandas-stubs/blob/main/docs/release_procedure.md)
- [Commits](pandas-dev/pandas-stubs@v3.0.5.260730...v3.1.0.261029)

Updates `scipy-stubs` from 1.18.1.0 to 1.18.1.1
- [Release notes](https://github.com/scipy/scipy-stubs/releases)
- [Commits](scipy/scipy-stubs@v1.18.1.0...v1.18.1.1)

Updates `import-linter` from 2.14 to 2.16
- [Changelog](https://github.com/import-linter/import-linter/blob/main/docs/release_notes.md)
- [Commits](import-linter/import-linter@v2.14...v2.16)

Updates `celery-types` from 0.23.0 to 0.26.0
- [Commits](https://github.com/sbdchd/celery-types/commits)

Updates `mypy` from 2.3.1 to 2.4.1
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v2.3.1...v2.4.1)

Updates `pyrefly` from 1.2.0 to 1.4.1
- [Release notes](https://github.com/facebook/pyrefly/releases)
- [Commits](pyrefly-org/pyrefly@1.2.0...1.4.1)

Updates `types-pytz` from 2026.3.1.20260727 to 2026.6.0.20261031
- [Commits](https://github.com/python/typeshed/commits)

Updates `types-croniter` from 6.2.4.20260711 to 6.2.4.20261006
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: coverage
  dependency-version: 7.17.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: faker
  dependency-version: 40.54.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: ruff
  dependency-version: 0.17.5
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: pytest
  dependency-version: 9.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: pytest-benchmark
  dependency-version: 5.3.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: pytest-env
  dependency-version: 1.8.5
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: pytest-mock
  dependency-version: 3.17.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: types-aiofiles
  dependency-version: 25.1.0.20261107
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: types-deprecated
  dependency-version: 1.3.1.20260928
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: types-docutils
  dependency-version: 0.23.0.20261107
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: types-gevent
  dependency-version: 26.9.0.20261107
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: types-markdown
  dependency-version: 3.11.3.20261108
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: types-oauthlib
  dependency-version: 4.0.0.20261107
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev
- dependency-name: types-objgraph
  dependency-version: 3.7.0.20261018
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: types-openpyxl
  dependency-version: 3.1.5.20261017
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: types-protobuf
  dependency-version: 7.35.1.20260906
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: types-psutil
  dependency-version: 7.2.2.20261111
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: types-psycopg2
  dependency-version: 2.9.21.20261030
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: types-pygments
  dependency-version: 2.21.0.20261115
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: types-pymysql
  dependency-version: 1.2.4.20261111
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: types-python-dateutil
  dependency-version: 2.9.0.20261104
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: types-pywin32
  dependency-version: 312.0.0.20261104
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: types-pyyaml
  dependency-version: 6.0.12.20261113
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: types-regex
  dependency-version: 2026.11.9.20261110
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: types-shapely
  dependency-version: 2.1.0.20261030
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: types-simplejson
  dependency-version: 4.3.0.20261112
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: types-six
  dependency-version: 1.17.0.20261008
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: types-tensorflow
  dependency-version: 2.18.0.20261009
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: types-tqdm
  dependency-version: 4.70.0.20261106
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: boto3-stubs
  dependency-version: 1.44.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: hypothesis
  dependency-version: 6.170.15
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: types-setuptools
  dependency-version: 84.2.0.20261104
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: pandas-stubs
  dependency-version: 3.1.0.261029
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: scipy-stubs
  dependency-version: 1.18.1.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
- dependency-name: import-linter
  dependency-version: '2.16'
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: celery-types
  dependency-version: 0.26.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: mypy
  dependency-version: 2.4.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: pyrefly
  dependency-version: 1.4.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: types-pytz
  dependency-version: 2026.6.0.20261031
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev
- dependency-name: types-croniter
  dependency-version: 6.2.4.20261006
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Nov 18, 2026
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:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants