Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 3, 2025

This PR contains the following updates:

Package Change Age Confidence
pytest (changelog) >=8.4.1 -> >=8.4.2 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


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"} with times and a module is skipped.

  • #​13530: Fixed a crash when using pytest.approx{.interpreted-text role="func"} and decimal.Decimal{.interpreted-text role="class"} instances with the decimal.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 a if 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 imports numpy if NumPy is already in sys.modules. This fixes unconditional import behavior introduced in [8.4.0]{.title-ref}.

Improved documentation

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

Contributor-facing changes

  • #​13480: Self-testing: fixed a few test failures when run with -Wdefault or a similar override.
  • #​13547: Self-testing: corrected expected message for test_doctest_unexpected_exception in Python 3.14.
  • #​13684: Make pytest's own testsuite insensitive to the presence of the CI environment variable -- by ogrisel{.interpreted-text role="user"}.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 was generated by Mend Renovate. View the repository job log.

@claude
Copy link

claude bot commented Dec 3, 2025

PR Review: pytest update to >=8.4.2

Summary: Clean dependency update from Renovate bot.

✅ Approved

Changes:

  • Single line change in pyproject.toml: pytest >=8.4.1 → >=8.4.2
  • Lock file update in uv.lock with timestamp metadata additions

Quality:

  • No code changes, only dependency version bump
  • Follows project's dependency management pattern using uv
  • Pytest 8.4.2 includes bug fixes (no breaking changes)

Security: No concerns - patch release with bug fixes

Performance: No impact expected

Regressions: Low risk - minor version bump with fixes for:

  • Console output style crashes
  • pytest.approx with Decimal
  • Type annotation evaluation in Python 3.14
  • NumPy import optimization

Recommendation: ✅ Safe to merge

@renovate renovate bot force-pushed the renovate/pytest-8.x branch from 2688995 to cbecc60 Compare December 4, 2025 08:56
@aponcedeleonch aponcedeleonch merged commit de54552 into main Dec 4, 2025
5 checks passed
@aponcedeleonch aponcedeleonch deleted the renovate/pytest-8.x branch December 4, 2025 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants