From 96252715fad4a0dfec1997103cc231bc1f133616 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Sat, 17 Oct 2026 13:15:34 -0300 Subject: [PATCH 1/2] Bump the minor version for releases that change existing behavior Co-Authored-By: Claude Opus 5.5 --- RELEASING.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/RELEASING.rst b/RELEASING.rst index fa3522d5..e4f607fd 100644 --- a/RELEASING.rst +++ b/RELEASING.rst @@ -1,7 +1,9 @@ Here are the steps on how to make a new release. -1. Choose the version number: bump the minor version (``X.Y+1.0``) if the release adds features - or drops support for a Python version, or the patch version (``X.Y.Z+1``) if it only contains fixes. +1. Choose the version number: bump the minor version (``X.Y+1.0``) if the release adds features, + drops support for a Python version, or removes or noticeably changes existing behavior (for + example, what is shown in failure messages), or the patch version (``X.Y.Z+1``) if it only + contains fixes. 2. Create a ``release-VERSION`` branch from ``upstream/main``. From 5c2f207ca7098dde996f9bedd06e596e39b6246b Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Sat, 17 Oct 2026 13:15:35 -0300 Subject: [PATCH 2/2] Release 3.17.0 Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2782e05a..d116714c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,8 +1,10 @@ Releases ======== -UNRELEASED ----------- +3.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.