build(deps): update dependency pytest-check to v2.7.6 (main)
Metadata
Current evaluation
Renovate dependency bump of pytest-check from 2.6.2 to 2.7.6 was approved and merged into main via commit 1fe02f45 ("build(deps): update dependency pytest-check to v2.7.6 (#1024)"); later superseded by #1053 and #1150 (now 2.9.1).
Resolution: closed resolved
Reason: The PR was merged (state: merged, approved by 2 reviewers) as commit 1fe02f45, bumping pytest-check from 2.6.2 to 2.7.6 in pyproject.toml/uv.lock. Subsequent bumps (#1053 -> 2.8.0, #1150 -> 2.9.1) have since carried the pin further.
Evaluated by: mr-cal-bot
No scores available.
Issue body
This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [pytest-check](https://redirect.github.com/okken/pytest-check) | `==2.6.2` → `==2.7.6` |  |  |
---
### Release Notes
<details>
<summary>okken/pytest-check (pytest-check)</summary>
### [`v2.7.6`](https://redirect.github.com/okken/pytest-check/blob/HEAD/changelog.md#276---2026-Mar-04)
[Compare Source](https://redirect.github.com/okken/pytest-check/compare/2.7.5...2.7.6)
##### Fixed
- (typing) Set comparison function types such that None is not allowed
### [`v2.7.5`](https://redirect.github.com/okken/pytest-check/blob/HEAD/changelog.md#275---2026-Mar-04)
[Compare Source](https://redirect.github.com/okken/pytest-check/compare/2.7.4...2.7.5)
##### Changed
- Passing `None` to comparison functions like `greater()`, `less()`, etc. used to raise an exception, which caused a test failure and stopped the test.
- That's unexpected with a check function.
- So now the check fails with a meaningful error message and continues with the rest of the test.
- (typing) Allow numpy floats with comparison functions to pass mypy.
### [`v2.7.4`](https://redirect.github.com/okken/pytest-check/blob/HEAD/changelog.md#274---2026-Mar-03)
[Compare Source](https://redirect.github.com/okken/pytest-check/compare/2.7.3...2.7.4)
##### Fixed
- (typing) Allow mixed `int`/`float` arguments in strict mypy for comparison helpers by adding `float` numeric overloads for `greater()`, `greater_equal()`, `less()`, and `less_equal()` in `check_functions.py`.
### [`v2.7.3`](https://redirect.github.com/okken/pytest-check/blob/HEAD/changelog.md#273---2026-Mar-02)
[Compare Source](https://redirect.github.com/okken/pytest-check/compare/2.7.2...2.7.3)
##### Added
- Add `__init__.pyi` stub file for IDE intellisense (e.g. VSCode) and static type checkers.
- Add PEP 561 `py.typed` marker so the package is recognized as typed.
- (examples) Add `test_example_mypy.py` to validate `import pytest_check as check` with mypy.
##### Fixed
- Ignore dist-packages in pseudo stack trace - Fixes [#​196](https://redirect.github.com/okken/pytest-check/issues/196) - Thanks [@​siferati](https://redirect.github.com/siferati)
- (typing) Resolve remaining mypy errors for `import pytest_check as check` usage; internal adjustments in `check_functions.py`.
##### Changed
- (ci) Rename "quality" job to "static-analysis"; split into separate jobs for static-analysis, pytest\_earliest, and coverage; use Python 3.14 for quality jobs.
- (tox) Add mypy env coverage for import-as style in examples.
### [`v2.7.2`](https://redirect.github.com/okken/pytest-check/blob/HEAD/changelog.md#272---2026-Feb-27)
[Compare Source](https://redirect.github.com/okken/pytest-check/compare/2.7.1...2.7.2)
##### Fixed
- [#​184](https://redirect.github.com/okken/pytest-check/issues/184): Fix issues with mypy. The example in this issue now passes mypy. Also mypy is now being tested as part of tox.
- (typing) Allow dynamic helper access on `CheckContextManager` for static analysis, so patterns like `check.equal(...)` type-check in fixture-annotated tests.
##### Changed
- (typing) Update internal `_Comparable*` protocol comparison signatures to satisfy strict mypy checks.
- (tox) Enable and expand `mypy` env checks to include `examples/`.
- (tox) Install `httpx` in the `mypy` env so example type checking works without import ignores.
- (examples) Switch decorator usage in `test_example_check_func_decorator.py` to import `check_func` directly for static type checking.
- (examples) Add `test_example_context_manager_type.py` to document and validate context-manager fixture typing behavior.
- (ci) Add a GitHub Actions quality job to run `tox -e lint,mypy,pytest_earliest,coverage`.
### [`v2.7.1`](https://redirect.github.com/okken/pytest-check/blob/HEAD/changelog.md#271---2026-Feb-27)
[Compare Source](https://redirect.github.com/okken/pytest-check/compare/2.7.0...2.7.1)
##### Added
- (docs) Document custom message support (`msg`) in `check.raises()`.
- (tests) Add tests for custom messages in `check.raises()`.
- (docs) Document that built-in check methods return `bool` values.
- (docs) Update pseudo-traceback examples to reflect the default single pseudo-traceback and show how to increase it with `--check-max-tb=5`.
- (docs) Add `check.call_on_fail()` section with usage guidance.
- (examples) Add runnable logging example in `examples/logging_to_a_file/`.
##### Fixed
- (tests) Make `test_raises_custom_msg` compatible with pytest < 7.3 short-summary output.
### [`v2.7.0`](https://redirect.github.com/okken/pytest-check/blob/HEAD/changelog.md#270---2026-Feb-24)
[Compare Source](https://redirect.github.com/okken/pytest-check/compare/2.6.2...2.7.0)
##### Added
- Support for `raises` parameter in `@pytest.mark.xfail` when using check context managers - Fixes [#​145](https://redirect.github.com/okken/pytest-check/issues/145) - Thanks [@​shairoth12](https://redirect.github.com/shairoth12)
##### Fixed
- Fix [#​190](https://redirect.github.com/okken/pytest-check/issues/190): pyright errors
- Fix [#​145](https://redirect.github.com/okken/pytest-check/issues/145): Is the 'raises' parameter in xfail ignored? - not anymore
##### Changed
- Internal: Add fixture run\_example\_test in tests - Thanks [@​even-even](https://redirect.github.com/even-even)
- Update **all** to include 'check' in pytest\_check module - Fixes [#​190](https://redirect.github.com/okken/pytest-check/issues/190) - Thanks [@​taylermulligan](https://redirect.github.com/taylermulligan)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - At any time (no schedule defined).
🚦 **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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/canonical/craft-application).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My42Ni40IiwidXBkYXRlZEluVmVyIjoiNDMuNjYuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUFI6IERlcGVuZGVuY2llcyJdfQ==-->
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Renovate dependency bump of pytest-check from 2.6.2 to 2.7.6 was approved and merged into main via commit 1fe02f45 ("build(deps): update dependency pytest-check to v2.7.6 (#1024)"); later superseded by #1053 and #1150 (now 2.9.1). | |
| stealth/space-bunny-alpha | — | closed resolved | Renovate PR merged into main via commit 1fe02f45, bumping pytest-check from 2.6.2 to 2.7.6 in pyproject.toml/uv.lock. Later superseded by #1053 (2.8.0) and #1150 (2.9.1). | |
| stealth/space-bunny-alpha | — | closed resolved | Merged via canonical/craft-application#1024 in commit 1fe02f45, upgrading pytest-check from 2.6.2 to 2.7.6 after approval by two reviewers. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged automated dependency update upgrading pytest-check from v2.6.2 to v2.7.6. Approved by reviewers and passed CI checks before merging into the main branch. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged automated dependency update for pytest-check from v2.6.2 to v2.7.6 on the main branch. The release includes typing fixes, improved mypy compatibility, and xfail support for check context managers. |
Update history
No update history recorded yet.
Related work
-
Superseded By:
craft-application#1053
(confidence 90%)
Follow-up Renovate bump of pytest-check to 2.8.0 (commit 80d4b4b4).
-
Superseded By:
craft-application#1150
(confidence 85%)
Later bump to pytest-check 2.9.1 (commit 216a9ed6); current pin in pyproject.toml.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #446 build(deps): update dependency pytest-check to v2.4.1 (main) | craft-application | merged | Renovate dependency bump of pytest-check 2.3.1 -> 2.4.1 approved and merged into main via commit 45ec2826 (single-line pyproject.toml change). | |
| #1948 build(deps): update dependency pytest-check to v2.4.1 (main) - autoclosed | charmcraft | merged | Renovate PR merged into main as commit e346ca0a, bumping pytest-check from 2.3.1 to 2.4.1 in the test dependency pin (approved by 2 reviewers, 1-line change). | |
| #827 build(deps): update dependency pytest-check to v2.5.3 (main) | craft-application | merged | Renovate PR #827 merged (commit 259acbad), bumping pytest-check 2.4.1 -> 2.5.3 in main. Approved by 3 reviewers with all CI checks green. | |
| #1150 build(deps): update dependency pytest-check to v2.9.1 (main) | craft-application | merged | Merged PR #1150 updated pytest-check from 2.8.0 to 2.9.1, including the pytest-reportlog compatibility fix. | |
| #177 build(deps): update dependency pytest-check to v2.5.3 (main) | craft-archives | closed | Closed unmerged after minimum-dependencies CI failed; the pytest-check 2.5.3 update was superseded by merged PR #179 (commit 5de6ac2). | |
| #948 build(deps): update dependency pytest-check to v2.6.0 (main) | craft-application | merged | Renovate PR #948 merged into main via commit 8a153d44, bumping pytest-check from ==2.5.3 to ==2.6.0 in pyproject.toml and constraints. All CI checks passed; approved by 2 reviewers. | |
| #1053 build(deps): update dependency pytest-check to v2.8.0 (main) | craft-application | merged | Renovate's pytest-check 2.8.0 update was merged into main via PR #1053 in commit 80d4b4b4. | |
| #1233 build(deps): update dependency pytest-check to v2.10.1 (main) | craft-application | open | Renovate PR updating pytest-check from 2.9.1 to 2.10.1. CI passing, automerge enabled, minimal diff (+5/-5 lines across 2 files). | |
| #351 build(deps): update dependency pytest-cov to v7.1.0 (main) | craft-store | merged | Renovate dependency bump of pytest-cov 7.0.0 → 7.1.0 merged into main via commit 6ae2651 (#351); approved by 2 reviewers with CI green apart from unrelated OSV/windows checks. | |
| #272 build(deps): update dependency pytest-check to v3 (main) | craft-archives | merged | Renovate PR updating pytest-check from ~=2.5 to ~=3.0. All CI checks passing, no review comments, awaiting maintainer review. |