Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 6, 2026

Bumps pytest from 8.4.2 to 9.0.2.

Release notes

Sourced from pytest's releases.

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.

  • #13965: Fixed quadratic-time behavior when handling unittest subtests in Python 3.10.

Improved documentation

  • #4492: The API Reference now contains cross-reference-able documentation of pytest's command-line flags <command-line-flags>.

9.0.1

pytest 9.0.1 (2025-11-12)

Bug fixes

  • #13895: Restore support for skipping tests via raise unittest.SkipTest.
  • #13896: The terminal progress plugin added in pytest 9.0 is now automatically disabled when iTerm2 is detected, it generated desktop notifications instead of the desired functionality.
  • #13904: Fixed the TOML type of the verbosity settings in the API reference from number to string.
  • #13910: Fixed UserWarning: Do not expect file_or_dir on some earlier Python 3.12 and 3.13 point versions.

Packaging updates and notes for downstreams

  • #13933: The tox configuration has been adjusted to make sure the desired version string can be passed into its package_env through the SETUPTOOLS_SCM_PRETEND_VERSION_FOR_PYTEST environment variable as a part of the release process -- by webknjaz.

Contributor-facing changes

  • #13891, #13942: The CI/CD part of the release automation is now capable of creating GitHub Releases without having a Git checkout on disk -- by bluetech and webknjaz.
  • #13933: The tox configuration has been adjusted to make sure the desired version string can be passed into its package_env through the SETUPTOOLS_SCM_PRETEND_VERSION_FOR_PYTEST environment variable as a part of the release process -- by webknjaz.

... (truncated)

Commits
  • 3d10b51 Prepare release version 9.0.2
  • 188750b Merge pull request #14030 from pytest-dev/patchback/backports/9.0.x/1e4b01d1f...
  • b7d7bef Merge pull request #14014 from bluetech/compat-note
  • bd08e85 Merge pull request #14013 from pytest-dev/patchback/backports/9.0.x/922b60377...
  • bc78386 Add CLI options reference documentation (#13930)
  • 5a4e398 Fix docs typo (#14005) (#14008)
  • d7ae6df Merge pull request #14006 from pytest-dev/maintenance/update-plugin-list-tmpl...
  • 556f6a2 pre-commit: fix rst-lint after new release (#13999) (#14001)
  • c60fbe6 Fix quadratic-time behavior when handling unittest subtests in Python 3.10 ...
  • 73d9b01 Merge pull request #13995 from nicoddemus/patchback/backports/9.0.x/1b5200c0f...
  • Additional commits viewable in compare view

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jan 6, 2026
@dependabot dependabot bot requested a review from a team as a code owner January 6, 2026 08:37
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jan 6, 2026
@github-actions
Copy link

github-actions bot commented Jan 6, 2026

🤖 Claude Code Review

Code Review Analysis

Code Quality

Code follows style guide - This is a dependency version update in pyproject.toml. No code style issues present.

No commented-out code - The diff contains no commented-out code.

Meaningful variable names - Not applicable; this is a dependency version update.

DRY principle followed - The pytest version is updated in both locations where it's referenced (development and test dependency groups), maintaining consistency. This is appropriate as these represent the same dependency in different contexts.

Identify Defects - No bugs, logic errors, or defects identified. The version bump from pytest 8.4.2 to 9.0.2 is a major version upgrade that should be validated through testing, but the change itself is syntactically correct.

Project memory configuration - Not applicable to this dependency update.

Testing

⚠️ Test validation required - While the diff itself doesn't add new functionality requiring tests, upgrading pytest from 8.x to 9.x is a major version change that should be verified:

  • Existing tests should still pass with pytest 9.0.2
  • No breaking changes from pytest 9.x should affect the test suite
  • The PR should include evidence that tests were run successfully with the new version

Documentation

Readme updated if needed - No readme updates needed for a dev dependency version bump.

API docs updated - Not applicable; this is a testing dependency update.

Inline comments for complex logic - Not applicable.

⚠️ CHANGELOG.md updated - pyproject.toml:44,82 - A CHANGELOG entry should document this pytest version upgrade, as it's a major version change (8.x → 9.x) that could affect development workflows.

Markdown formatting - Not applicable to this diff.

Security

No hardcoded credentials - None present.

Input validation implemented - Not applicable.

Proper error handling - Not applicable.

No sensitive data in logs - Not applicable.

No license files - No .lic files or AQAAAD strings detected.


Summary

Overall Assessment: ✅ APPROVED with minor recommendations

This is a straightforward dependency version upgrade. The change is consistent across both dependency groups and follows proper pyproject.toml syntax.

Recommendations:

  1. CHANGELOG.md - Consider adding an entry documenting the pytest upgrade from 8.4.2 to 9.0.2
  2. Test Validation - Ensure all tests pass with pytest 9.0.2 before merging (this is a major version jump)
  3. Release Notes Review - Review pytest 9.0 release notes for any breaking changes: https://docs.pytest.org/en/stable/changelog.html

No blocking issues identified.

Automated code review analyzing defects and coding standards

Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.4.2 to 9.0.2.
- [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.4.2...9.0.2)

---
updated-dependencies:
- dependency-name: pytest
  dependency-version: 9.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/pytest-9.0.2 branch from a81c41a to 4cd5e2e Compare January 6, 2026 14:12
@github-actions
Copy link

github-actions bot commented Jan 6, 2026

🤖 Claude Code Review

Code Review Analysis

Code Quality

Code follows style guide

  • This is a dependency version update in pyproject.toml - no code style issues apply

No commented-out code

  • No commented code present

Meaningful variable names

  • Not applicable - this is a configuration file update

DRY principle followed

  • The pytest version is correctly updated in both locations (development and test dependency groups) at pyproject.toml:45 and pyproject.toml:82

Identify Defects

  • No defects identified. This is a minor version bump for pytest from 8.4.2 to 9.0.2
  • Version is kept consistent across both dependency groups
  • This follows semantic versioning and is a standard dependency update

Project memory consideration

  • No .claude/CLAUDE.md file detected in the repository that would affect this review

Testing

⚠️ Unit tests for new functions

  • Not applicable - no new functions added

⚠️ Integration tests for new endpoints

  • Not applicable - no new endpoints

⚠️ Edge cases covered

  • Not applicable for dependency update

Test coverage > 80%

  • Cannot verify from diff alone. This is a pytest version upgrade, so existing tests should continue to work. Recommend running the full test suite to ensure compatibility with pytest 9.0.2

Documentation

Readme updated if needed

  • No readme update needed for internal dependency version bump

API docs updated

  • Not applicable - no API changes

Inline comments for complex logic

  • Not applicable - configuration file

CHANGELOG.md updated

  • No CHANGELOG.md update visible in this diff. Dependency updates should typically be documented, especially major version changes (8.x → 9.x)

Markdown formatting

  • Not applicable - no markdown files changed

Security

No hardcoded credentials

  • No credentials present

Input validation implemented

  • Not applicable

Proper error handling

  • Not applicable

No sensitive data in logs

  • Not applicable

No license files flagged

  • No .lic files or AQAAAD strings detected

Summary

Overall Assessment: ✅ APPROVED with minor recommendation

This is a clean dependency update bumping pytest from version 8.4.2 to 9.0.2. The change is consistent across both dependency groups in the pyproject.toml file.

Recommendations:

  1. CHANGELOG.md: Consider adding an entry documenting this pytest version update (especially since it's a major version bump from 8.x to 9.x)
  2. Testing: Verify all tests pass with pytest 9.0.2 before merging, as this is a major version upgrade and may introduce breaking changes
  3. Release Notes: Check pytest 9.0 release notes for any breaking changes that might affect your test suite

The code change itself is properly implemented with no issues detected.

Automated code review analyzing defects and coding standards

@docktermj docktermj self-assigned this Jan 6, 2026
@docktermj docktermj enabled auto-merge (squash) January 6, 2026 14:31
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 12, 2026

Looks like pytest is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Jan 12, 2026
auto-merge was automatically disabled January 12, 2026 18:28

Pull request was closed

@dependabot dependabot bot deleted the dependabot/pip/pytest-9.0.2 branch January 12, 2026 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants