Opened 13 months ago

Closed 13 months ago

Last modified 8 months ago

#22061 closed enhancement (fixed)

pytest-8.4.2 (Python module)

Reported by: Bruce Dubbs Owned by: Bruce Dubbs
Priority: normal Milestone: 13.0
Component: BOOK Version: git
Severity: medium Keywords:
Cc:

Description

New point version.

Change History (4)

comment:1 by Bruce Dubbs, 13 months ago

Owner: changed from blfs-book to Bruce Dubbs
Status: new → assigned

comment:2 by Bruce Dubbs, 13 months ago

pytest 8.4.2 (2025-09-03)

Bug fixes

  • Fixed a crash when using console_output_style with times and a module is skipped.
  • Fixed a crash when using pytest.approx() and decimal.Decimal instances with the decimal.FloatOperation trap set.
  • 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 a if TYPE_CHECKING: block.

  • Added missing int and float variants to the Literal type annotation of the type parameter in pytest.Parser.addini().
  • pytest.approx() now only imports numpy if NumPy is already in sys.modules. This fixes unconditional import behavior introduced in 8.4.0.

Improved documentation

  • Clarify that pytest_generate_tests is discovered in test modules/classes; other hooks must be in conftest.py or plugins.

Contributor-facing changes

  • Self-testing: fixed a few test failures when run with -Wdefault or a similar override.
  • Self-testing: corrected expected message for test_doctest_unexpected_exception in Python 3.14.
  • Make pytest’s own testsuite insensitive to the presence of the CI environment variable.

comment:3 by Bruce Dubbs, 13 months ago

Resolution: → fixed
Status: assigned → closed

Fixed at commits

90e0e7a29d Update to libtirpc-1.3.7.
596f1edc3f Update to libei-1.5.0.
449d63fe9b Update to libinput-1.29.1 (Xorg driver).
e97f5270b3 Update to Net-DNS-1.53 (Perl module).
bb75faf40c Update to libXfixes-6.0.2 (Xorg library).
bf72559838 Update to pytest-8.4.2 (Python module).

comment:4 by Bruce Dubbs, 8 months ago

Milestone: 12.5 → 13.0

Milestone renamed

Note: See TracTickets for help on using tickets.