chore(deps): update dependency pytest to v8.3.5
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| pytest (changelog) | patch | ==8.3.3 -> ==8.3.5 |
Release Notes
pytest-dev/pytest (pytest)
v8.3.5
pytest 8.3.5 (2025-03-02)
Bug fixes
-
#11777: Fixed issue where sequences were still being shortened even with
-vvverbosity. -
#12888: Fixed broken input when using Python 3.13+ and a
libeditbuild of Python, such as on macOS or with uv-managed Python binaries from thepython-build-standaloneproject. This could manifest e.g. by a broken prompt when usingPdb, or seeing empty inputs with manual usage ofinput()and suspended capturing. -
#13026: Fixed
AttributeError{.interpreted-text role="class"} crash when using--import-mode=importlibwhen top-level directory same name as another module of the standard library. -
#13053: Fixed a regression in pytest 8.3.4 where, when using
--import-mode=importlib, a directory containing py file with the same name would cause anImportError - #13083: Fixed issue where pytest could crash if one of the collected directories got removed during collection.
Improved documentation
-
#12842: Added dedicated page about using types with pytest.
See
types{.interpreted-text role="ref"} for detailed usage.
Contributor-facing changes
-
#13112: Fixed selftest failures in
test_terminal.pywith Pygments >= 2.19.0 -
#13256: Support for Towncrier versions released in 2024 has been re-enabled
when building Sphinx docs -- by
webknjaz{.interpreted-text role="user"}.
v8.3.4
pytest 8.3.4 (2024-12-01)
Bug fixes
-
#12592: Fixed
KeyError{.interpreted-text role="class"} crash when using--import-mode=importlibin a directory layout where a directory contains a child directory with the same name. -
#12818: Assertion rewriting now preserves the source ranges of the original instructions, making it play well with tools that deal with the
AST, like executing. -
#12849: ANSI escape codes for colored output now handled correctly in
pytest.fail{.interpreted-text role="func"} with [pytrace=False]{.title-ref}. -
#9353:
pytest.approx{.interpreted-text role="func"} now uses strict equality when given booleans.
Improved documentation
-
#10558: Fix ambiguous docstring of
pytest.Config.getoption{.interpreted-text role="func"}. -
#10829: Improve documentation on the current handling of the
--basetempoption and its lack of retention functionality (temporary directory location and retention{.interpreted-text role="ref"}). -
#12866: Improved cross-references concerning the
recwarn{.interpreted-text role="fixture"} fixture. -
#12966: Clarify
filterwarnings{.interpreted-text role="ref"} docs on filter precedence/order when using multiple@pytest.mark.filterwarnings <pytest.mark.filterwarnings ref>{.interpreted-text role="ref"} marks.
Contributor-facing changes
- #12497: Fixed two failing pdb-related tests on Python 3.13.
Configuration
📅 Schedule: Branch creation - "every weekday" in timezone UTC, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot.