← Back to issue list

chore(deps): update dependency dev/pytest to v7.3.1

View original Github issue

Metadata

Project
starbase
Number
#59
Type
pull request
State
merged
Author
renovate[bot]
Labels
β€”
Created
Updated
Closed

Current evaluation

Renovate's dev dependency bump of pytest from ==7.2.2 to ==7.3.1 was approved and merged into main as commit 8d2bbf7 (one-line change in pyproject.toml).

Resolution: closed resolved

Reason: The PR was merged into main with one approving review and no unresolved comments, landing as commit 8d2bbf7 "chore(deps): update dependency dev/pytest to v7.3.1 (#59)", which updates the pytest pin in pyproject.toml from ==7.2.2 to ==7.3.1 (+1/-1 line).

Evaluated by: mr-cal-bot

No scores available.

Issue body

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [dev/pytest](https://docs.pytest.org/en/latest/) ([source](https://togithub.com/pytest-dev/pytest), [changelog](https://docs.pytest.org/en/stable/changelog.html)) | `==7.2.2` -> `==7.3.1` | [![age](https://badges.renovateapi.com/packages/pypi/dev%2fpytest/7.3.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/dev%2fpytest/7.3.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/dev%2fpytest/7.3.1/compatibility-slim/7.2.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/dev%2fpytest/7.3.1/confidence-slim/7.2.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>pytest-dev/pytest</summary> ### [`v7.3.1`](https://togithub.com/pytest-dev/pytest/releases/tag/7.3.1) [Compare Source](https://togithub.com/pytest-dev/pytest/compare/7.3.0...7.3.1) # pytest 7.3.1 (2023-04-14) ## Improvements - [#&#8203;10875](https://togithub.com/pytest-dev/pytest/issues/10875): Python 3.12 support: fixed `RuntimeError: TestResult has no addDuration method` when running `unittest` tests. - [#&#8203;10890](https://togithub.com/pytest-dev/pytest/issues/10890): Python 3.12 support: fixed `shutil.rmtree(onerror=...)` deprecation warning when using `tmp_path`{.interpreted-text role="fixture"}. ## Bug Fixes - [#&#8203;10896](https://togithub.com/pytest-dev/pytest/issues/10896): Fixed performance regression related to `tmp_path`{.interpreted-text role="fixture"} and the new `tmp_path_retention_policy`{.interpreted-text role="confval"} option. - [#&#8203;10903](https://togithub.com/pytest-dev/pytest/issues/10903): Fix crash `INTERNALERROR IndexError: list index out of range` which happens when displaying an exception where all entries are hidden. This reverts the change "Correctly handle `__tracebackhide__` for chained exceptions." introduced in version 7.3.0. ### [`v7.3.0`](https://togithub.com/pytest-dev/pytest/releases/tag/7.3.0) [Compare Source](https://togithub.com/pytest-dev/pytest/compare/7.2.2...7.3.0) # pytest 7.3.0 (2023-04-08) ## Features - [#&#8203;10525](https://togithub.com/pytest-dev/pytest/issues/10525): Test methods decorated with `@classmethod` can now be discovered as tests, following the same rules as normal methods. This fills the gap that static methods were discoverable as tests but not class methods. - [#&#8203;10755](https://togithub.com/pytest-dev/pytest/issues/10755): `console_output_style`{.interpreted-text role="confval"} now supports `progress-even-when-capture-no` to force the use of the progress output even when capture is disabled. This is useful in large test suites where capture may have significant performance impact. - [#&#8203;7431](https://togithub.com/pytest-dev/pytest/issues/7431): `--log-disable` CLI option added to disable individual loggers. - [#&#8203;8141](https://togithub.com/pytest-dev/pytest/issues/8141): Added `tmp_path_retention_count`{.interpreted-text role="confval"} and `tmp_path_retention_policy`{.interpreted-text role="confval"} configuration options to control how directories created by the `tmp_path`{.interpreted-text role="fixture"} fixture are kept. ## Improvements - [#&#8203;10226](https://togithub.com/pytest-dev/pytest/issues/10226): If multiple errors are raised in teardown, we now re-raise an `ExceptionGroup` of them instead of discarding all but the last. - [#&#8203;10658](https://togithub.com/pytest-dev/pytest/issues/10658): Allow `-p` arguments to include spaces (eg: `-p no:logging` instead of `-pno:logging`). Mostly useful in the `addopts` section of the configuration file. - [#&#8203;10710](https://togithub.com/pytest-dev/pytest/issues/10710): Added `start` and `stop` timestamps to `TestReport` objects. - [#&#8203;10727](https://togithub.com/pytest-dev/pytest/issues/10727): Split the report header for `rootdir`, `config file` and `testpaths` so each has its own line. - [#&#8203;10840](https://togithub.com/pytest-dev/pytest/issues/10840): pytest should no longer crash on AST with pathological position attributes, for example testing AST produced by \[Hylang \<https://github.com/hylang/hy>\__]{.title-ref}. - [#&#8203;6267](https://togithub.com/pytest-dev/pytest/issues/6267): The full output of a test is no longer truncated if the truncation message would be longer than the hidden text. The line number shown has also been fixed. ## Bug Fixes - [#&#8203;10743](https://togithub.com/pytest-dev/pytest/issues/10743): The assertion rewriting mechanism now works correctly when assertion expressions contain the walrus operator. - [#&#8203;10765](https://togithub.com/pytest-dev/pytest/issues/10765): Fixed `tmp_path`{.interpreted-text role="fixture"} fixture always raising `OSError`{.interpreted-text role="class"} on `emscripten` platform due to missing `os.getuid`{.interpreted-text role="func"}. - [#&#8203;1904](https://togithub.com/pytest-dev/pytest/issues/1904): Correctly handle `__tracebackhide__` for chained exceptions. ## Improved Documentation - [#&#8203;10782](https://togithub.com/pytest-dev/pytest/issues/10782): Fixed the minimal example in `goodpractices`{.interpreted-text role="ref"}: `pip install -e .` requires a `version` entry in `pyproject.toml` to run successfully. ## Trivial/Internal Changes - [#&#8203;10669](https://togithub.com/pytest-dev/pytest/issues/10669): pytest no longer depends on the \[attrs]{.title-ref} package (don't worry, nice diffs for attrs classes are still supported). </details> --- ### Configuration πŸ“… **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - "every weekend" in timezone Etc/UTC. 🚦 **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/canonical/starbase). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS45NS4xIiwidXBkYXRlZEluVmVyIjoiMzUuOTUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha β€” closed resolved Renovate's dev dependency bump of pytest from ==7.2.2 to ==7.3.1 was approved and merged into main as commit 8d2bbf7 (one-line change in pyproject.toml).
stealth/space-bunny-alpha β€” closed resolved Renovate’s pytest dependency bump from 7.2.2 to 7.3.1 was approved and merged into main by #59 (commit 8d2bbf7).
qwen/qwen3.6-35b-a3b β€” β€” Automated dependency update for dev/pytest from v7.2.2 to v7.3.1 was approved, passed CI checks, and successfully merged into the main branch.
qwen3.6-35b-a3b-mtp-q6 β€” β€” Merged automated dependency update upgrading dev/pytest from v7.2.2 to v7.3.1. The PR was successfully integrated without conflicts.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/starbase#172 (confidence 70%)

    Subsequent Renovate bump of dev/pytest to v8 (commit d79b26b), building on the 7.x baseline

  • Related To: canonical/starbase#95 (confidence 55%)

    Later non-major development dependency refresh commit 72c7781 also touched the 7.3.1 pin

  • Related To: canonical/starbase#464 (confidence 55%)

    Later pytest 9 update (commit 744f1ad) continuing the same Renovate dependency line

Related issues

Issue Project State Summary Similarity
#127 chore(deps): update development dependencies (non-major) craft-application merged Renovate's non-major dev dependency bump merged in commit b80c77ab: pytest 7.4.2->7.4.3, black 23.10.0->23.10.1, pyright-python 1.1.332->1.1.333 (3-line pyproject.toml change).
91%
#18 chore(deps): update dependency pytest to v7.2.1 starbase merged Renovate bumped pytest from ==7.0.0 to ==7.2.1 in pyproject.toml. PR #18 merged via commit eb5a438 (change commit f3e23e3), approved with no CI checks; later superseded by pytest ~=9.0 in #464.
91%
#64 chore(deps): update dependency pytest to v7.3.1 craft-archives merged Renovate PR #64 was merged as commit 02f50fa, updating pytest from 7.2.2 to 7.3.1 with no change in test coverage.
90%
#9 chore(deps): update dependency pytest to v7.2.1 craft-archives merged Renovate PR updating the pinned pytest dependency from 7.0.0 to 7.2.1 was approved and merged into main via commit 2020343 (branch commit f3e23e3); single-line change in pyproject.toml. pytest has since been bumped further (now ~=9.0).
90%
#157 chore(deps): update dependency dev/coverage to v7.4.1 craft-store merged Renovate's routine dev/coverage 7.4.0 -> 7.4.1 bump was approved by 2 reviewers and merged into main in commit a22565c, a one-line pyproject.toml change.
89%
#354 chore(deps): update development dependencies (non-major) craft-providers merged Renovate non-major dev dependency bump merged into main as commit 881f376: pytest 7.4.0, pytest-mock 3.11.1, pytest-time 0.3.1, codespell 2.2.5, mypy 1.4.1, pyright 1.1.316 (+6/-6 in pyproject.toml).
89%
#123 chore(deps): update development dependencies (non-major) craft-store merged Renovate non-major dev dependency bump merged as commit 6fcea98: pytest 7.4.2β†’7.4.3, black 23.10.0β†’23.11.0, yamllint 1.32β†’1.33, mypy 1.6.1β†’1.7.1, pyright 1.1.334β†’1.1.338 in pyproject.toml.
88%
#265 chore(deps): update development dependencies (non-major) craft-application merged Renovate dependency-bump PR merged into main via commit 927179e0, updating dev deps: coverage 7.4.1β†’7.4.3, pytest 8.0.0β†’8.1.1, mypy 1.8.0β†’1.9.0 (3 lines in pyproject.toml).
87%
#106 chore(deps): update development dependencies (non-major) craft-store merged Renovate's non-major dev-dependency update PR merged as commit 165ad2b, bumping coverage7.2.7β†’7.3.2, pytest 7.4.0β†’7.4.2, black 23.3.0β†’23.9.1, codespell 2.2.5β†’2.2.6, mypy 1.4.1β†’1.6.0, pyright 1.1.316β†’1.1.330.post0.
87%
#1173 chore(deps): update dependency pytest to v7.4.0 - autoclosed charmcraft closed Renovate's pytest 7.3.1 -> 7.4.0 bump PR sat unmerged with no CI runs or comments and was autoclosed by the bot after ~3 years; the pin was later moved on by other dependency updates.
87%