Skip to content

meta: update pytest requirement from >=7.4.0 to >=8.4.2#11

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/pip/pytest-gte-8.4.2
Apr 15, 2026
Merged

meta: update pytest requirement from >=7.4.0 to >=8.4.2#11
github-actions[bot] merged 1 commit into
mainfrom
dependabot/pip/pytest-gte-8.4.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 15, 2026

Updates the requirements on pytest to permit the latest version.

Release notes

Sourced from pytest's releases.

8.4.2

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"}.
Commits
  • bfae422 Prepare release version 8.4.2
  • 8990538 Fix passenv CI in tox ini and make tests insensitive to the presence of the C...
  • ca676bf Merge pull request #13687 from pytest-dev/patchback/backports/8.4.x/e63f6e51c...
  • 975a60a Merge pull request #13686 from pytest-dev/patchback/backports/8.4.x/12bde8af6...
  • 7723ce8 Merge pull request #13683 from even-even/fix_Exeption_to_Exception_in_errorMe...
  • b7f0568 Merge pull request #13685 from CoretexShadow/fix/docs-pytest-generate-tests
  • 2c94c4a add missing colon (#13640) (#13641)
  • c3d7684 Merge pull request #13606 from pytest-dev/patchback/backports/8.4.x/5f9938563...
  • dc6e3be Merge pull request #13605 from The-Compiler/training-update-2025-07
  • f87289c Fix crash with times output style and skipped module (#13573) (#13579)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Related Work: #12

Smart Link Intelligence

Target Kind State Confidence Semantics
#12 PR closed 85.0% related
#8 PR closed 77.0% related

Integrity Fingerprint: 7926cd6ab0ee537f17c6

Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@7.4.0...8.4.2)

---
updated-dependencies:
- dependency-name: pytest
  dependency-version: 8.4.2
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 15, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🎉 Congrats for opening a Pull Request! Please make sure you have run ruff check . && ruff format before submitting.

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Automated approval for security update.

@github-actions
Copy link
Copy Markdown
Contributor

⚠️ Title is too vague for Autobot

Your PR title "meta: update pytest requirement from >=7.4.0 to >=8.4.2" does not contain any keywords that trigger automation.

Please include at least one keyword from these categories in your title:

  • Bug

  • Feature

  • Docs

  • Breaking

  • UI

  • Perf

  • Security

  • Refactor

  • Test

  • CI

  • Deps

  • DB

    Example: "Optimized database queries" (Perf/DB) or "Fixed login crash" (Bug)

@github-actions github-actions Bot merged commit 2a27dac into main Apr 15, 2026
7 of 14 checks passed
@dependabot dependabot Bot deleted the dependabot/pip/pytest-gte-8.4.2 branch April 15, 2026 09:25
@github-actions
Copy link
Copy Markdown
Contributor

Relationship Graph

graph TD
    PR11["PR #11<br/>meta: update pytest requirement from >=7.4.0 to >=8.4.2"]
    style PR11 fill:#9f7,stroke:#333,stroke-width:2px
    PR12["PR #12<br/>meta: update pytest-mock requirement from >=3.12.0 to >=3.15.1"]
    style PR12 fill:#c9f,stroke:#333,stroke-width:2px
    PR11 -.->|Related| PR12
    PR8["PR #8<br/>meta: bump actions/github-script from 8 to 9"]
    style PR8 fill:#c9f,stroke:#333,stroke-width:2px
    PR11 -.->|Related| PR8
Loading

@github-actions github-actions Bot added ci CI/CD and workflow updates compatibility Compatibility work, shims, polyfills documentation Improvements or additions to documentation dx Developer experience improvements test Adding, missing, or correcting tests labels Apr 15, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Autobot — Changes Analysis

PR #11 · dependabot/pip/pytest-gte-8.4.2 → main · 2026-04-15


Autobot Summary

What Changed

This pull request updates the development dependency for pytest from version 7.4.0 to 8.4.2 in the pyproject.toml file. The change targets testing infrastructure and developer workflows without introducing runtime or production impacts.

Release Relevance

  • Relevant to development workflows and CI/CD pipelines.
  • Enhances testing toolchain with potential feature and performance improvements.
  • Requires validation for seamless integration with existing test dependencies.

Risks And Testing

  • Dependency Compatibility: Possible incompatibilities with associated packages like pytest-asyncio, pytest-cov, and pytest-mock.
  • Test Suite Stability: Risks of regressions or deviations in behavior due to the updated pytest version.
  • Contributor Alignment: Ensuring updated requirements are reflected in documentation and local environments.
  • Performance Impacts: Monitoring for any CI or test execution slowdowns introduced by the upgrade.

Classification Signals

  • Development Tooling Update: Dependency upgrade to support newer pytest features.
  • Testing Infrastructure: Affects core testing workflows across developer and pipeline environments.
  • Compatibility Concerns: Interactions between pytest and plugins could introduce risks.
  • Documentation Sync: Updates may demand revisions to contributor or setup guides.

🏷️ AI Label Classification

Applied labels: compatibility dependencies test ci documentation dx

Labels were determined by AI analysis of the code diff — not the PR title or description.

@github-actions github-actions Bot added this to the v1.0.0 milestone Apr 15, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Autobot — Milestone Update

This PR was moved to v1.0.0 based on the current semantic-version impact of the PR and the canonical open release milestone.

Retained older milestones for manual review: v0.0.2 (1 remaining)

This only moves compatible open AI-managed PRs. Issues, closed items, manual milestones, and incompatible PRs stay where they are.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci CI/CD and workflow updates compatibility Compatibility work, shims, polyfills dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation dx Developer experience improvements python Pull requests that update python code test Adding, missing, or correcting tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants