python/mypy
### [`v1.3.0`](https://togithub.com/python/mypy/compare/v1.2.0...v1.3.0)
[Compare Source](https://togithub.com/python/mypy/compare/v1.2.0...v1.3.0)
### [`v1.2.0`](https://togithub.com/python/mypy/compare/v1.1.1...v1.2.0)
[Compare Source](https://togithub.com/python/mypy/compare/v1.1.1...v1.2.0)
pre-commit/pre-commit
### [`v3.3.2`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#332---2023-05-17)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.3.1...v3.3.2)
\==================
##### Fixes
- Work around `r` on windows sometimes double-un-quoting arguments.
- [#2885](https://togithub.com/pre-commit/pre-commit/issues/2885) PR by [@lorenzwalthert](https://togithub.com/lorenzwalthert).
- [#2870](https://togithub.com/pre-commit/pre-commit/issues/2870) issue by [@lorenzwalthert](https://togithub.com/lorenzwalthert).
### [`v3.3.1`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#331---2023-05-02)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.3.0...v3.3.1)
\==================
##### Fixes
- Work around `git` partial clone bug for `autoupdate` on windows.
- [#2866](https://togithub.com/pre-commit/pre-commit/issues/2866) PR by [@asottile](https://togithub.com/asottile).
- [#2865](https://togithub.com/pre-commit/pre-commit/issues/2865) issue by [@adehad](https://togithub.com/adehad).
### [`v3.3.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#330---2023-05-01)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.2.2...v3.3.0)
\==================
##### Features
- Upgrade ruby-build.
- [#2846](https://togithub.com/pre-commit/pre-commit/issues/2846) PR by [@jalessio](https://togithub.com/jalessio).
- Use blobless clone for faster autoupdate.
- [#2859](https://togithub.com/pre-commit/pre-commit/issues/2859) PR by [@asottile](https://togithub.com/asottile).
- Add `-j` / `--jobs` argument to `autoupdate` for parallel execution.
- [#2863](https://togithub.com/pre-commit/pre-commit/issues/2863) PR by [@asottile](https://togithub.com/asottile).
- issue by [@gaborbernat](https://togithub.com/gaborbernat).
### [`v3.2.2`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#322---2023-04-03)
[Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.2.1...v3.2.2)
\==================
##### Fixes
- Fix support for swift >= 5.8.
- [#2836](https://togithub.com/pre-commit/pre-commit/issues/2836) PR by [@edelabar](https://togithub.com/edelabar).
- [#2835](https://togithub.com/pre-commit/pre-commit/issues/2835) issue by [@kgrobelny-intive](https://togithub.com/kgrobelny-intive).
pytest-dev/pytest
### [`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
- [#10875](https://togithub.com/pytest-dev/pytest/issues/10875): Python 3.12 support: fixed `RuntimeError: TestResult has no addDuration method` when running `unittest` tests.
- [#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
- [#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.
- [#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
- [#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.
- [#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.
- [#7431](https://togithub.com/pytest-dev/pytest/issues/7431): `--log-disable` CLI option added to disable individual loggers.
- [#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
- [#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.
- [#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.
- [#10710](https://togithub.com/pytest-dev/pytest/issues/10710): Added `start` and `stop` timestamps to `TestReport` objects.
- [#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.
- [#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 \\__]{.title-ref}.
- [#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
- [#10743](https://togithub.com/pytest-dev/pytest/issues/10743): The assertion rewriting mechanism now works correctly when assertion expressions contain the walrus operator.
- [#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"}.
- [#1904](https://togithub.com/pytest-dev/pytest/issues/1904): Correctly handle `__tracebackhide__` for chained exceptions.
## Improved Documentation
- [#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
- [#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).
pytest-dev/pytest-cov
### [`v4.1.0`](https://togithub.com/pytest-dev/pytest-cov/blob/HEAD/CHANGELOG.rst#410-2023-05-24)
[Compare Source](https://togithub.com/pytest-dev/pytest-cov/compare/v4.0.0...v4.1.0)
- Updated CI with new Pythons and dependencies.
- Removed rsyncdir support. This makes pytest-cov compatible with xdist 3.0.
Contributed by Sorin Sbarnea in `#558 `\_.
- Optimized summary generation to not be performed if no reporting is active (for example,
when `--cov-report=''` is used without `--cov-fail-under`).
Contributed by Jonathan Stewmon in `#589 `\_.
- Added support for JSON reporting.
Contributed by Matthew Gamble in `#582 `\_.
- Refactored code to use f-strings.
Contributed by Mark Mayo in `#572 `\_.
- Fixed a skip in the test suite for some old xdist.
Contributed by a bunch of people in `#565 `\_.
Configuration
📅 Schedule: Branch creation - "every 4th week on Thursday before 10am" (UTC), Automerge - At any time (no schedule defined).
🚦 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 if that's undesired.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^1.1.1
->^1.3.0
^3.2.1
->^3.3.2
^7.2.2
->^7.3.1
^4.0.0
->^4.1.0
Release Notes
python/mypy
### [`v1.3.0`](https://togithub.com/python/mypy/compare/v1.2.0...v1.3.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.2.0...v1.3.0) ### [`v1.2.0`](https://togithub.com/python/mypy/compare/v1.1.1...v1.2.0) [Compare Source](https://togithub.com/python/mypy/compare/v1.1.1...v1.2.0)pre-commit/pre-commit
### [`v3.3.2`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#332---2023-05-17) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.3.1...v3.3.2) \================== ##### Fixes - Work around `r` on windows sometimes double-un-quoting arguments. - [#2885](https://togithub.com/pre-commit/pre-commit/issues/2885) PR by [@lorenzwalthert](https://togithub.com/lorenzwalthert). - [#2870](https://togithub.com/pre-commit/pre-commit/issues/2870) issue by [@lorenzwalthert](https://togithub.com/lorenzwalthert). ### [`v3.3.1`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#331---2023-05-02) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.3.0...v3.3.1) \================== ##### Fixes - Work around `git` partial clone bug for `autoupdate` on windows. - [#2866](https://togithub.com/pre-commit/pre-commit/issues/2866) PR by [@asottile](https://togithub.com/asottile). - [#2865](https://togithub.com/pre-commit/pre-commit/issues/2865) issue by [@adehad](https://togithub.com/adehad). ### [`v3.3.0`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#330---2023-05-01) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.2.2...v3.3.0) \================== ##### Features - Upgrade ruby-build. - [#2846](https://togithub.com/pre-commit/pre-commit/issues/2846) PR by [@jalessio](https://togithub.com/jalessio). - Use blobless clone for faster autoupdate. - [#2859](https://togithub.com/pre-commit/pre-commit/issues/2859) PR by [@asottile](https://togithub.com/asottile). - Add `-j` / `--jobs` argument to `autoupdate` for parallel execution. - [#2863](https://togithub.com/pre-commit/pre-commit/issues/2863) PR by [@asottile](https://togithub.com/asottile). - issue by [@gaborbernat](https://togithub.com/gaborbernat). ### [`v3.2.2`](https://togithub.com/pre-commit/pre-commit/blob/HEAD/CHANGELOG.md#322---2023-04-03) [Compare Source](https://togithub.com/pre-commit/pre-commit/compare/v3.2.1...v3.2.2) \================== ##### Fixes - Fix support for swift >= 5.8. - [#2836](https://togithub.com/pre-commit/pre-commit/issues/2836) PR by [@edelabar](https://togithub.com/edelabar). - [#2835](https://togithub.com/pre-commit/pre-commit/issues/2835) issue by [@kgrobelny-intive](https://togithub.com/kgrobelny-intive).pytest-dev/pytest
### [`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 - [#10875](https://togithub.com/pytest-dev/pytest/issues/10875): Python 3.12 support: fixed `RuntimeError: TestResult has no addDuration method` when running `unittest` tests. - [#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 - [#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. - [#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 - [#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. - [#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. - [#7431](https://togithub.com/pytest-dev/pytest/issues/7431): `--log-disable` CLI option added to disable individual loggers. - [#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 - [#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. - [#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. - [#10710](https://togithub.com/pytest-dev/pytest/issues/10710): Added `start` and `stop` timestamps to `TestReport` objects. - [#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. - [#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 \pytest-dev/pytest-cov
### [`v4.1.0`](https://togithub.com/pytest-dev/pytest-cov/blob/HEAD/CHANGELOG.rst#410-2023-05-24) [Compare Source](https://togithub.com/pytest-dev/pytest-cov/compare/v4.0.0...v4.1.0) - Updated CI with new Pythons and dependencies. - Removed rsyncdir support. This makes pytest-cov compatible with xdist 3.0. Contributed by Sorin Sbarnea in `#558Configuration
📅 Schedule: Branch creation - "every 4th week on Thursday before 10am" (UTC), Automerge - At any time (no schedule defined).
🚦 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 if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.