chore(deps): update development dependencies (non-major)
Metadata
Current evaluation
Merged Renovate PR #565 as c2acee7, updating coverage to 7.5.1, pytest to 8.2.0, pytest-xdist to 3.6.1, and types/pyright to 1.1.361.
Resolution: closed resolved
Reason: PR #565 was merged into main as commit c2acee7, applying the four non-major development dependency updates.
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/coverage](https://togithub.com/nedbat/coveragepy) | `==7.5.0` -> `==7.5.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
| [dev/pytest](https://togithub.com/pytest-dev/pytest) ([changelog](https://docs.pytest.org/en/stable/changelog.html)) | `==8.1.2` -> `==8.2.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
| [dev/pytest-xdist](https://togithub.com/pytest-dev/pytest-xdist) ([changelog](https://pytest-xdist.readthedocs.io/en/latest/changelog.html)) | `==3.5.0` -> `==3.6.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
| [types/pyright](https://togithub.com/RobertCraigie/pyright-python) | `==1.1.360` -> `==1.1.361` | [](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>nedbat/coveragepy (dev/coverage)</summary>
### [`v7.5.1`](https://togithub.com/nedbat/coveragepy/blob/HEAD/CHANGES.rst#Version-751--2024-05-04)
[Compare Source](https://togithub.com/nedbat/coveragepy/compare/7.5.0...7.5.1)
- Fix: a pragma comment on the continuation lines of a multi-line statement
now excludes the statement and its body, the same as if the pragma is
on the first line. This closes `issue 754`*. The fix was contributed by
`Daniel Diniz <pull 1773_>`*.
- Fix: very complex source files like `this one <resolvent_lookup_>`\_ could
cause a maximum recursion error when creating an HTML report. This is now
fixed, closing `issue 1774`\_.
- HTML report improvements:
- Support files (JavaScript and CSS) referenced by the HTML report now have
hashes added to their names to ensure updated files are used instead of
stale cached copies.
- Missing branch coverage explanations that said "the condition was never
false" now read "the condition was always true" because it's easier to
understand.
- Column sort order is remembered better as you move between the index pages,
fixing `issue 1766`*. Thanks, `Daniel Diniz <pull 1768_>`*.
.. \_resolvent_lookup: https://github.com/sympy/sympy/blob/130950f3e6b3f97fcc17f4599ac08f70fdd2e9d4/sympy/polys/numberfields/resolvent_lookup.py
.. \_issue 754[https://github.com/nedbat/coveragepy/issues/754](https://togithub.com/nedbat/coveragepy/issues/754)54
.. \_issue 176[https://github.com/nedbat/coveragepy/issues/1766](https://togithub.com/nedbat/coveragepy/issues/1766)766
.. \_pull 17[https://github.com/nedbat/coveragepy/pull/1768](https://togithub.com/nedbat/coveragepy/pull/1768)1768
.. \_pull 1[https://github.com/nedbat/coveragepy/pull/1773](https://togithub.com/nedbat/coveragepy/pull/1773)/1773
.. \_issue [https://github.com/nedbat/coveragepy/issues/1774](https://togithub.com/nedbat/coveragepy/issues/1774)s/1774
.. \_changes\_7-5-0:
</details>
<details>
<summary>pytest-dev/pytest (dev/pytest)</summary>
### [`v8.2.0`](https://togithub.com/pytest-dev/pytest/releases/tag/8.2.0)
[Compare Source](https://togithub.com/pytest-dev/pytest/compare/8.1.2...8.2.0)
# pytest 8.2.0 (2024-04-27)
## Deprecations
- [#​12069](https://togithub.com/pytest-dev/pytest/issues/12069): A deprecation warning is now raised when implementations of one of the following hooks request a deprecated `py.path.local` parameter instead of the `pathlib.Path` parameter which replaced it:
- `pytest_ignore_collect`{.interpreted-text role="hook"} - the `path` parameter - use `collection_path` instead.
- `pytest_collect_file`{.interpreted-text role="hook"} - the `path` parameter - use `file_path` instead.
- `pytest_pycollect_makemodule`{.interpreted-text role="hook"} - the `path` parameter - use `module_path` instead.
- `pytest_report_header`{.interpreted-text role="hook"} - the `startdir` parameter - use `start_path` instead.
- `pytest_report_collectionfinish`{.interpreted-text role="hook"} - the `startdir` parameter - use `start_path` instead.
The replacement parameters are available since pytest 7.0.0.
The old parameters will be removed in pytest 9.0.0.
See `legacy-path-hooks-deprecated`{.interpreted-text role="ref"} for more details.
## Features
- [#​11871](https://togithub.com/pytest-dev/pytest/issues/11871): Added support for reading command line arguments from a file using the prefix character `@`, like e.g.: `pytest @​tests.txt`. The file must have one argument per line.
See `Read arguments from file <args-from-file>`{.interpreted-text role="ref"} for details.
## Improvements
- [#​11523](https://togithub.com/pytest-dev/pytest/issues/11523): `pytest.importorskip`{.interpreted-text role="func"} will now issue a warning if the module could be found, but raised `ImportError`{.interpreted-text role="class"} instead of `ModuleNotFoundError`{.interpreted-text role="class"}.
The warning can be suppressed by passing `exc_type=ImportError` to `pytest.importorskip`{.interpreted-text role="func"}.
See `import-or-skip-import-error`{.interpreted-text role="ref"} for details.
- [#​11728](https://togithub.com/pytest-dev/pytest/issues/11728): For `unittest`-based tests, exceptions during class cleanup (as raised by functions registered with `TestCase.addClassCleanup <unittest.TestCase.addClassCleanup>`{.interpreted-text role="meth"}) are now reported instead of silently failing.
- [#​11777](https://togithub.com/pytest-dev/pytest/issues/11777): Text is no longer truncated in the `short test summary info` section when `-vv` is given.
- [#​12112](https://togithub.com/pytest-dev/pytest/issues/12112): Improved namespace packages detection when `consider_namespace_packages`{.interpreted-text role="confval"} is enabled, covering more situations (like editable installs).
- [#​9502](https://togithub.com/pytest-dev/pytest/issues/9502): Added `PYTEST_VERSION`{.interpreted-text role="envvar"} environment variable which is defined at the start of the pytest session and undefined afterwards. It contains the value of `pytest.__version__`, and among other things can be used to easily check if code is running from within a pytest run.
## Bug Fixes
- [#​12065](https://togithub.com/pytest-dev/pytest/issues/12065): Fixed a regression in pytest 8.0.0 where test classes containing `setup_method` and tests using `@staticmethod` or `@classmethod` would crash with `AttributeError: 'NoneType' object has no attribute 'setup_method'`.
Now the `request.instance <pytest.FixtureRequest.instance>`{.interpreted-text role="attr"} attribute of tests using `@staticmethod` and `@classmethod` is no longer `None`, but a fresh instance of the class, like in non-static methods.
Previously it was `None`, and all fixtures of such tests would share a single `self`.
- [#​12135](https://togithub.com/pytest-dev/pytest/issues/12135): Fixed issue where fixtures adding their finalizer multiple times to fixtures they request would cause unreliable and non-intuitive teardown ordering in some instances.
- [#​12194](https://togithub.com/pytest-dev/pytest/issues/12194): Fixed a bug with `--importmode=importlib` and `--doctest-modules` where child modules did not appear as attributes in parent modules.
- [#​1489](https://togithub.com/pytest-dev/pytest/issues/1489): Fixed some instances where teardown of higher-scoped fixtures was not happening in the reverse order they were initialized in.
## Trivial/Internal Changes
- [#​12069](https://togithub.com/pytest-dev/pytest/issues/12069): `pluggy>=1.5.0` is now required.
- [#​12167](https://togithub.com/pytest-dev/pytest/issues/12167): `cache <cache>`{.interpreted-text role="ref"}: create supporting files (`CACHEDIR.TAG`, `.gitignore`, etc.) in a temporary directory to provide atomic semantics.
</details>
<details>
<summary>pytest-dev/pytest-xdist (dev/pytest-xdist)</summary>
### [`v3.6.1`](https://togithub.com/pytest-dev/pytest-xdist/blob/HEAD/CHANGELOG.rst#pytest-xdist-361-2024-04-28)
[Compare Source](https://togithub.com/pytest-dev/pytest-xdist/compare/v3.6.0...v3.6.1)
\===============================
## Bug Fixes
- `#​1071 <https://github.com/pytest-dev/pytest-xdist/issues/1071>`\_: Add backward compatibility for deadlock issue with the `execnet` new `main_thread_only` "execmodel" triggered when pytest-cov accesses rinfo.
### [`v3.6.0`](https://togithub.com/pytest-dev/pytest-xdist/blob/HEAD/CHANGELOG.rst#pytest-xdist-360-2024-04-19)
[Compare Source](https://togithub.com/pytest-dev/pytest-xdist/compare/v3.5.0...v3.6.0)
\===============================
This release was YANKED due to a regression fixed in 3.6.1.
## Features
- `#​1027 <https://github.com/pytest-dev/pytest-xdist/pull/1027>`\_:`pytest-xdist` workers now always execute the tests in the main thread.
Previously some tests might end up executing in a separate thread other than `main` in the workers, due to some internal ` execnet`` details. This can cause problems specially with async frameworks where the event loop is running in the ``main`` thread (for example `[#​620](https://togithub.com/pytest-dev/pytest-xdist/issues/620) [#​620](https://togithub.com/pytest-dev/pytest-xdist/issues/620)\`\__).
## Bug Fixes
- `#​1024 <https://github.com/pytest-dev/pytest-xdist/issues/1024>`\_: Added proper handling of `shouldstop` (such as set by `--max-fail`) and `shouldfail` conditions in workers.
Previously, a worker might have continued executing further tests before the controller could terminate the session.
- `#​1028 <https://github.com/pytest-dev/pytest-xdist/issues/1028>`\_: Fixed compatibility issue between `looponfail` and editable installs.
- `#​620 <https://github.com/pytest-dev/pytest-xdist/issues/620>`\_: Use the new `main_thread_only` `execnet` "execmodel" so that code which expects to only run in the main thread will now work as expected.
- `#​937 <https://github.com/pytest-dev/pytest-xdist/issues/937>`\_: Fixed a bug where plugin would raise an incompatibility error with `--pdb` despite using `-n0`.
## Removals
- `#​1053 <https://github.com/pytest-dev/pytest-xdist/issues/1053>`\_: Dropped support for Python 3.7.
- `#​1057 <https://github.com/pytest-dev/pytest-xdist/issues/1057>`\_: pytest>=7.0.0 is now required.
execnet>=2.1.0 is now required.
## Trivial Changes
- `#​1020 <https://github.com/pytest-dev/pytest-xdist/issues/1020>`\_: pytest-xdist's `setup.py` file is removed.
If you relied on this file, e.g. to install pytest using `setup.py install`,
please see `Why you shouldn't invoke setup.py directly <https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html#summary>`\_ for alternatives.
- `#​1057 <https://github.com/pytest-dev/pytest-xdist/issues/1057>`\_: The internals of pytest-xdist are now fully typed. The typing is not exposed yet.
- `#​996 <https://github.com/pytest-dev/pytest-xdist/issues/996>`\_: Adjusted license file format and content to ensure security scanners will identity the license.
</details>
<details>
<summary>RobertCraigie/pyright-python (types/pyright)</summary>
### [`v1.1.361`](https://togithub.com/RobertCraigie/pyright-python/compare/v1.1.360...v1.1.361)
[Compare Source](https://togithub.com/RobertCraigie/pyright-python/compare/v1.1.360...v1.1.361)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - "every weekend" in timezone Etc/UTC.
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired.
---
- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMzEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM0MC4xMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged Renovate PR #565 as c2acee7, updating coverage to 7.5.1, pytest to 8.2.0, pytest-xdist to 3.6.1, and types/pyright to 1.1.361. | |
| qwen/qwen3.6-35b-a3b | — | closed resolved | Automated dependency update merging coverage 7.5.1, pytest 8.2.0, pytest-xdist 3.6.1, and types/pyright 1.1.361. |
Update history
| Date | Change |
|---|---|
| created |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #170 chore(deps): update development dependencies (non-major) | craft-cli | merged | Merged Renovate PR #170, updating non-major dev dependencies including coverage 7.3.0, pytest 7.4.0, Black 23.7.0, mypy 1.5.1 and Pyright 1.1.323. | |
| #174 chore(deps): update development dependencies (non-major) | craft-cli | merged | Merged non-major Renovate updates for coverage 7.3.1, pytest 7.4.2, Black 23.9.1, and Pyright 1.1.326; Codecov reported no coverage change. | |
| #190 chore(deps): update development dependencies (non-major) | craft-store | merged | Renovate dev-dependency bump merged as commit 17a5c37 (PR #190), raising coverage 7.5.4->7.6.0, pytest 8.2.2->8.3.1, types-mypy 1.10.1->1.11.0, types-pyright 1.1.369->1.1.372. | |
| #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. | |
| #494 chore(deps): update development dependencies (non-major) | craft-providers | merged | Renovate's non-major development dependency updates were merged in PR #494 (commit 77d2ce0), covering pytest, coverage, Black, mypy, and other tooling. | |
| #216 chore(deps): update development dependencies (non-major) | craft-cli | merged | Renovate PR merged as commit 5a53a01, bumping dev deps: coverage 7.4.1, pytest 7.4.4, black 23.12.1, mypy 1.8.0, pyright 1.1.348. | |
| #563 chore(deps): update development dependencies (non-major) | craft-providers | merged | Renovate PR #563 was merged in commit 1d50f84, updating seven development dependencies, including coverage 7.5.0, freezegun 1.5.0, pytest 8.1.2, and mypy 1.10.0. | |
| #83 chore(deps): update development dependencies (non-major) | starbase | merged | Renovate PR merged as commit ba60c11, bumping dev deps: coverage 7.2.5→7.2.7, pytest-cov 4.0.0→4.1.0, types/pyright 1.1.309→1.1.311 in pyproject.toml (+3/-3). | |
| #137 chore(deps): update development dependencies (non-major) | starbase | merged | Merged Renovate PR #137 into main, updating seven pinned development dependencies, including pytest-mock 3.12.0 and mypy 1.6.1. | |
| #73 chore(deps): update development dependencies (non-major) | craft-application | merged | Renovate PR merged in commit 83a2ab5c, bumping non-major dev deps: coverage 7.2.7→7.3.1, pytest 7.4.0→7.4.2, pytest-check 2.2.0→2.2.1, Black 23.7.0→23.9.1, mypy 1.4.1→1.5.1, pyright 1.1.320→1.1.327. |