build(deps): update dependency pytest-check to v2.7.6 (main)
Metadata
Current evaluation
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.
Suggested action: —
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 |
|---|---|---|---|---|
| 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged automated dependency update upgrading pytest-check from v2.6.2 to v2.7.6 on main. The change incorporates typing fixes, mypy compatibility improvements, and xfail parameter support. No conflicts or review comments were recorded. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #948 build(deps): update dependency pytest-check to v2.6.0 (main) | craft-application | merged | Merged an automated dependency update upgrading pytest-check from v2.5.3 to v2.6.0. The change passed all CI checks, received two approvals, and was successfully integrated into the main branch. | |
| #827 build(deps): update dependency pytest-check to v2.5.3 (main) | craft-application | merged | Merged automated dependency update for pytest-check from v2.4.1 to v2.5.3. All CI checks passed, and the change was approved by three reviewers before integration into the main branch. | |
| #1053 build(deps): update dependency pytest-check to v2.8.0 (main) | craft-application | merged | Merged automated dependency update for pytest-check from v2.7.6 to v2.8.0 on main. The Renovate-generated change was approved by two reviewers and passed all CI checks before merging. | |
| #446 build(deps): update dependency pytest-check to v2.4.1 (main) | craft-application | merged | Merged automated dependency update for pytest-check from v2.3.1 to v2.4.1. Approved by two reviewers, passed CI, and merged to main. The release adds is_nan assertions and drops Python 3.7 support. | |
| #1948 build(deps): update dependency pytest-check to v2.4.1 (main) - autoclosed | charmcraft | merged | Merged automated dependency update for pytest-check from v2.3.1 to v2.4.1. Generated by Renovate, the change passed CI checks, received two approvals, and was successfully merged into the main branch. | |
| #1150 build(deps): update dependency pytest-check to v2.9.1 (main) | craft-application | merged | Merged into main. Updated pytest-check from v2.8.0 to v2.9.1 to resolve a pytest-reportlog compatibility issue. Generated by Renovate, approved by two reviewers, and passed CI checks before integration. | |
| #301 build(deps): update dependency pytest to v8.4.1 (main) | craft-store | merged | Merged automated dependency update upgrading pytest from 8.3.3 to 8.4.1 on the main branch. The change passed CI checks and reviewer approval. | |
| #933 build(deps): update dependency pytest-cov to v7 (main) | craft-application | merged | Merged automated dependency update upgrading pytest-cov from v6.3.0 to v7.0.0. Approved by two reviewers, passed all CI checks, and merged into the main branch. | |
| #811 build(deps): update dependency pytest to v8.4.1 (main) | craft-application | merged | Merged automated dependency update upgrading pytest from 8.3.5 to 8.4.1. The change passed CI checks, received reviewer approval, and was successfully merged to the main branch. | |
| #280 build(deps): update dependency pytest to v8.3.3 | craft-cli | merged | Merged automated dependency update upgrading pytest from 8.2.1 to 8.3.3. Approved by two reviewers, passed CI checks, and applied a single-line change to the requirements file. |