Skip to content

chore(deps): bump pytest from 8.3.3 to 9.0.3 in the pip group across 1 directory#266

Open
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/pip/pip-590e9db7b9
Open

chore(deps): bump pytest from 8.3.3 to 9.0.3 in the pip group across 1 directory#266
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/pip/pip-590e9db7b9

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jun 5, 2026

Bumps the pip group with 1 update in the / directory: pytest.

Updates pytest from 8.3.3 to 9.0.3

Release notes

Sourced from pytest's releases.

9.0.3

pytest 9.0.3 (2026-04-07)

Bug fixes

  • #12444: Fixed pytest.approx which now correctly takes into account ~collections.abc.Mapping keys order to compare them.

  • #13634: Blocking a conftest.py file using the -p no: option is now explicitly disallowed.

    Previously this resulted in an internal assertion failure during plugin loading.

    Pytest now raises a clear UsageError explaining that conftest files are not plugins and cannot be disabled via -p.

  • #13734: Fixed crash when a test raises an exceptiongroup with __tracebackhide__ = True.

  • #14195: Fixed an issue where non-string messages passed to unittest.TestCase.subTest() were not printed.

  • #14343: Fixed use of insecure temporary directory (CVE-2025-71176).

Improved documentation

  • #13388: Clarified documentation for -p vs PYTEST_PLUGINS plugin loading and fixed an incorrect -p example.
  • #13731: Clarified that capture fixtures (e.g. capsys and capfd) take precedence over the -s / --capture=no command-line options in Accessing captured output from a test function <accessing-captured-output>.
  • #14088: Clarified that the default pytest_collection hook sets session.items before it calls pytest_collection_finish, not after.
  • #14255: TOML integer log levels must be quoted: Updating reference documentation.

Contributor-facing changes

  • #12689: The test reports are now published to Codecov from GitHub Actions. The test statistics is visible on the web interface.

    -- by aleguy02

9.0.2

pytest 9.0.2 (2025-12-06)

Bug fixes

  • #13896: The terminal progress feature added in pytest 9.0.0 has been disabled by default, except on Windows, due to compatibility issues with some terminal emulators.

    You may enable it again by passing -p terminalprogress. We may enable it by default again once compatibility improves in the future.

    Additionally, when the environment variable TERM is dumb, the escape codes are no longer emitted, even if the plugin is enabled.

  • #13904: Fixed the TOML type of the tmp_path_retention_count settings in the API reference from number to string.

  • #13946: The private config.inicfg attribute was changed in a breaking manner in pytest 9.0.0. Due to its usage in the ecosystem, it is now restored to working order using a compatibility shim. It will be deprecated in pytest 9.1 and removed in pytest 10.

... (truncated)

Commits

Dependabot compatibility score

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Greptile Summary

This PR bumps pytest from 8.3.3 to 9.0.3, a major-version upgrade that includes a security fix for CVE-2025-71176 (insecure temporary directory usage) along with several bug fixes.

  • pytest==9.0.3 is pinned in pyproject.toml; no other dependency versions are changed.
  • minversion = "8.0" in [tool.pytest.ini_options] was not updated to reflect the new major version, leaving a minor inconsistency between the declared floor and the actual pin.

Confidence Score: 4/5

Safe to merge; the only change is a pytest version pin that includes an important security fix, with no logic or application code touched.

This is a straightforward dependency bump with a single line changed. The upgrade includes CVE-2025-71176 remediation and multiple bug fixes. The only minor concern is that minversion in [tool.pytest.ini_options] was not updated from 8.0 to 9.0 to stay in sync with the new pin, but this does not affect runtime behavior since 9.0.3 satisfies the 8.0 floor. No application logic is modified.

No files require special attention beyond the minor minversion inconsistency in pyproject.toml.

Important Files Changed

Filename Overview
pyproject.toml Bumps pytest from 8.3.3 to 9.0.3 (major version); minversion in [tool.pytest.ini_options] still reads "8.0" and was not updated to match the new pin

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[pyproject.toml] -->|pins| B["pytest==9.0.3\n(was 8.3.3)"]
    A -->|pins| C["pytest-xdist==3.6.1\n(unchanged)"]
    B -->|resolves| D["CVE-2025-71176\nInsecure tmp dir fix"]
    B -->|resolves| E["exceptiongroup\n__tracebackhide__ crash fix"]
    B -->|resolves| F["conftest -p no: clear error"]
    G["tool.pytest.ini_options\nminversion = '8.0'"] -.->|stale - still reads 8.0| A
Loading

Comments Outside Diff (1)

  1. pyproject.toml, line 53 (link)

    P2 The minversion guard is now stale: the project pins pytest==9.0.3, so any environment satisfying minversion = "8.0" could technically run an older 8.x release if the lock is bypassed. Updating it to "9.0" keeps the guard in sync with the intended minimum.

    Prompt To Fix With AI
    This is a comment left during a code review.
    Path: pyproject.toml
    Line: 53
    
    Comment:
    The `minversion` guard is now stale: the project pins `pytest==9.0.3`, so any environment satisfying `minversion = "8.0"` could technically run an older 8.x release if the lock is bypassed. Updating it to `"9.0"` keeps the guard in sync with the intended minimum.
    
    
    
    How can I resolve this? If you propose a fix, please make it concise.

    Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

    Fix in Devin

Fix All in Devin

Prompt To Fix All With AI
Fix the following 1 code review issue. Work through them one at a time, proposing concise fixes.

---

### Issue 1 of 1
pyproject.toml:53
The `minversion` guard is now stale: the project pins `pytest==9.0.3`, so any environment satisfying `minversion = "8.0"` could technically run an older 8.x release if the lock is bypassed. Updating it to `"9.0"` keeps the guard in sync with the intended minimum.

```suggestion
minversion = "9.0"
```

Reviews (1): Last reviewed commit: "chore(deps): bump pytest in the pip grou..." | Re-trigger Greptile

Bumps the pip group with 1 update in the / directory: [pytest](https://github.com/pytest-dev/pytest).


Updates `pytest` from 8.3.3 to 9.0.3
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@8.3.3...9.0.3)

---
updated-dependencies:
- dependency-name: pytest
  dependency-version: 9.0.3
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Dependency updates python Pull requests that update python code labels Jun 5, 2026
@dependabot dependabot Bot requested a review from a team as a code owner June 5, 2026 23:53
@dependabot dependabot Bot requested a review from iap June 5, 2026 23:53
@dependabot dependabot Bot added dependencies Dependency updates python Pull requests that update python code labels Jun 5, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 5, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
pip/pytest 9.0.3 UnknownUnknown

Scanned Files

  • pyproject.toml

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

Labels

dependencies Dependency updates python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants