Update dependency pytest to v8.4.2 #245
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/pytest-8.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
==8.4.1
->==8.4.2
Release Notes
pytest-dev/pytest (pytest)
v8.4.2
Compare Source
pytest 8.4.2 (2025-09-03)
Bug fixes
#13478: Fixed a crash when using
console_output_style
{.interpreted-text role="confval"} withtimes
and a module is skipped.#13530: Fixed a crash when using
pytest.approx
{.interpreted-text role="func"} anddecimal.Decimal
{.interpreted-text role="class"} instances with thedecimal.FloatOperation
{.interpreted-text role="class"} trap set.#13549: No longer evaluate type annotations in Python
3.14
when inspecting function signatures.This prevents crashes during module collection when modules do not explicitly use
from __future__ import annotations
and import types for annotations within aif TYPE_CHECKING:
block.#13559: Added missing [int]{.title-ref} and [float]{.title-ref} variants to the [Literal]{.title-ref} type annotation of the [type]{.title-ref} parameter in
pytest.Parser.addini
{.interpreted-text role="meth"}.#13563:
pytest.approx
{.interpreted-text role="func"} now only importsnumpy
if NumPy is already insys.modules
. This fixes unconditional import behavior introduced in [8.4.0]{.title-ref}.Improved documentation
pytest_generate_tests
is discovered in test modules/classes; other hooks must be inconftest.py
or plugins.Contributor-facing changes
-Wdefault
or a similar override.test_doctest_unexpected_exception
in Python3.14
.CI
environment variable -- byogrisel
{.interpreted-text role="user"}.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
This PR has been generated by Renovate Bot.