chore(deps): update dependency dev/pytest to v8
Metadata
Current evaluation
Merged into main as commit 889b202, updating pytest from 7.4.4 to 8.0.2 after approval with no unresolved review comments.
Resolution: closed resolved
Reason: PR #521 was merged and recorded as commit 889b202, applying the pytest 8.0.2 dependency update.
Evaluated by: mr-cal-bot
No scores available.
Issue body
[](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.4.4` -> `==8.0.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>pytest-dev/pytest (dev/pytest)</summary>
### [`v8.0.2`](https://togithub.com/pytest-dev/pytest/releases/tag/8.0.2)
[Compare Source](https://togithub.com/pytest-dev/pytest/compare/8.0.1...8.0.2)
# pytest 8.0.2 (2024-02-24)
## Bug Fixes
- [#​11895](https://togithub.com/pytest-dev/pytest/issues/11895): Fix collection on Windows where initial paths contain the short version of a path (for example `c:\PROGRA~1\tests`).
- [#​11953](https://togithub.com/pytest-dev/pytest/issues/11953): Fix an `IndexError` crash raising from `getstatementrange_ast`.
- [#​12021](https://togithub.com/pytest-dev/pytest/issues/12021): Reverted a fix to \[--maxfail]{.title-ref} handling in pytest 8.0.0 because it caused a regression in pytest-xdist whereby session fixture teardowns may get executed multiple times when the max-fails is reached.
### [`v8.0.1`](https://togithub.com/pytest-dev/pytest/releases/tag/8.0.1)
[Compare Source](https://togithub.com/pytest-dev/pytest/compare/8.0.0...8.0.1)
# pytest 8.0.1 (2024-02-16)
## Bug Fixes
- [#​11875](https://togithub.com/pytest-dev/pytest/issues/11875): Correctly handle errors from `getpass.getuser`{.interpreted-text role="func"} in Python 3.13.
- [#​11879](https://togithub.com/pytest-dev/pytest/issues/11879): Fix an edge case where `ExceptionInfo._stringify_exception` could crash `pytest.raises`{.interpreted-text role="func"}.
- [#​11906](https://togithub.com/pytest-dev/pytest/issues/11906): Fix regression with `pytest.warns`{.interpreted-text role="func"} using custom warning subclasses which have more than one parameter in their \[\__init\_\_]{.title-ref}.
- [#​11907](https://togithub.com/pytest-dev/pytest/issues/11907): Fix a regression in pytest 8.0.0 whereby calling `pytest.skip`{.interpreted-text role="func"} and similar control-flow exceptions within a `pytest.warns()`{.interpreted-text role="func"} block would get suppressed instead of propagating.
- [#​11929](https://togithub.com/pytest-dev/pytest/issues/11929): Fix a regression in pytest 8.0.0 whereby autouse fixtures defined in a module get ignored by the doctests in the module.
- [#​11937](https://togithub.com/pytest-dev/pytest/issues/11937): Fix a regression in pytest 8.0.0 whereby items would be collected in reverse order in some circumstances.
### [`v8.0.0`](https://togithub.com/pytest-dev/pytest/releases/tag/8.0.0): pytest 8.0.0 (2024-01-27)
[Compare Source](https://togithub.com/pytest-dev/pytest/compare/7.4.4...8.0.0)
See [8.0.0rc1](https://togithub.com/pytest-dev/pytest/releases/tag/8.0.0rc1) and [8.0.0rc2](https://togithub.com/pytest-dev/pytest/releases/tag/8.0.0rc2) for the full changes since pytest 7.4!
#### Bug Fixes
- [#​11842](https://togithub.com/pytest-dev/pytest/issues/11842): Properly escape the `reason` of a `skip <pytest.mark.skip ref>`{.interpreted-text role="ref"} mark when writing JUnit XML files.
- [#​11861](https://togithub.com/pytest-dev/pytest/issues/11861): Avoid microsecond exceeds `1_000_000` when using `log-date-format` with `%f` specifier, which might cause the test suite to crash.
</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://developer.mend.io/github/canonical/craft-providers).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged into main as commit 889b202, updating pytest from 7.4.4 to 8.0.2 after approval with no unresolved review comments. | |
| qwen/qwen3.6-35b-a3b | — | closed resolved | Merged into main, updating the dev/pytest dependency from version 7.4.4 to 8.0.2 as part of routine dependency maintenance. |
Update history
| Date | Change |
|---|---|
| created |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #182 chore(deps): update dependency dev/pytest to v8 | craft-application | merged | Merged PR #182 in commit c098d6bd, upgrading the pytest development dependency from 7.4.3 to 8.0.0. | |
| #172 chore(deps): update dependency dev/pytest to v8 | starbase | merged | Merged PR #172 in commit d79b26b, upgrading pytest from 7.4.4 to 8.0.0 after two approvals and with coverage remaining at 100%. | |
| #226 chore(deps): update dependency dev/pytest to v8 | craft-cli | merged | Merged PR #226 as commit 2d805bc, upgrading pytest from 7.4.4 to 8.0.0 after two approvals; Codecov reported unchanged 94.81% coverage. | |
| #169 chore(deps): update dependency dev/pytest to v8 | craft-store | merged | Merged PR #169 upgraded the development pytest dependency from 7.4.4 to 8.1.1 in commit 47a388f. | |
| #547 chore(deps): update dependency pytest to v8.1.1 | rockcraft | merged | Renovate PR #547 was merged, updating pytest from 8.0.0 to 8.1.1 in commit 320dd6eb. | |
| #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. | |
| #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. | |
| #59 chore(deps): update dependency dev/pytest to v7.3.1 | starbase | merged | 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). | |
| #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). | |
| #95 chore(deps): update development dependencies (non-major) | starbase | merged | Merged PR #95 updated pytest 7.3.1→7.3.2 and pyright-python 1.1.311→1.1.313; landed in main via commit 72c7781. |