Updated various documentation inaccuracies, especially on subprocess handling.
Changed fail under checks to use the precision set in the coverage configuration.
Now it will perform the check just like coverage report would.
Added a --cov-precision cli option that can override the value set in your coverage configuration.
Dropped support for now EOL Python 3.8.
5.0.0 (2024-03-24)
Removed support for xdist rsync (now deprecated).
Contributed by Matthias Reichenbach in [#623](https://github.com/pytest-dev/pytest-cov/issues/623) <https://github.com/pytest-dev/pytest-cov/pull/623>_.
Switched docs theme to Furo.
Various legacy Python cleanup and CI improvements.
Contributed by Christian Clauss and Hugo van Kemenade in
[#630](https://github.com/pytest-dev/pytest-cov/issues/630) <https://github.com/pytest-dev/pytest-cov/pull/630>,
[#631](https://github.com/pytest-dev/pytest-cov/issues/631) <https://github.com/pytest-dev/pytest-cov/pull/631>,
[#632](https://github.com/pytest-dev/pytest-cov/issues/632) <https://github.com/pytest-dev/pytest-cov/pull/632>_ and
[#633](https://github.com/pytest-dev/pytest-cov/issues/633) <https://github.com/pytest-dev/pytest-cov/pull/633>_.
Added a pyproject.toml example in the docs.
Contributed by Dawn James in [#626](https://github.com/pytest-dev/pytest-cov/issues/626) <https://github.com/pytest-dev/pytest-cov/pull/626>_.
Modernized project's pre-commit hooks to use ruff. Initial POC contributed by
Christian Clauss in [#584](https://github.com/pytest-dev/pytest-cov/issues/584) <https://github.com/pytest-dev/pytest-cov/pull/584>_.
4.1.0 (2023-05-24)
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](https://github.com/pytest-dev/pytest-cov/issues/558) <https://github.com/pytest-dev/pytest-cov/pull/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](https://github.com/pytest-dev/pytest-cov/issues/589) <https://github.com/pytest-dev/pytest-cov/pull/589>_.
Added support for JSON reporting.
Contributed by Matthew Gamble in [#582](https://github.com/pytest-dev/pytest-cov/issues/582) <https://github.com/pytest-dev/pytest-cov/pull/582>_.
Refactored code to use f-strings.
Contributed by Mark Mayo in [#572](https://github.com/pytest-dev/pytest-cov/issues/572) <https://github.com/pytest-dev/pytest-cov/pull/572>_.
Fixed a skip in the test suite for some old xdist.
Contributed by a bunch of people in [#565](https://github.com/pytest-dev/pytest-cov/issues/565) <https://github.com/pytest-dev/pytest-cov/pull/565>_.
4.0.0 (2022-09-28)
Note that this release drops support for multiprocessing.
--cov-fail-under no longer causes pytest --collect-only to fail
Remove support for Python 3.8, which has reached end-of-life on 2024-10-07.
(#747, @mhils)
Inherited members are now hidden by default if the base class is not part of the documentation.
Please provide feedback in the PR if you relied on the old behavior.
(#748, @mhils)
Python 3.13: @deprecated decorators are now rendered with visual emphasis.
(#750, @mhils)
Improve mocking of sys.stdin, sys.stdout, and sys.stderr to fix runtime errors with some packages.
(#751, @mhils)
2024-09-11: pdoc 14.7.0
Do not shorten current_module.func to func in docstrings when linking.
This prevents logical errors in code examples with imports.
(#740, @mhils)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Updates the requirements on pytest-cov, pre-commit and pdoc to permit the latest version. Updates
pytest-cov
to 6.0.0Changelog
Sourced from pytest-cov's changelog.
... (truncated)
Commits
9540437
Bump version: 5.0.0 → 6.0.09f81754
Further trim down envs and drop Python 3.8.b12b5ec
Update conf.23f4b27
Update changelog.291a04f
Bump test deps and trim config.08f1101
Add--cov-precision
option. Close #655.76fe2a7
Move the warnings/errors in a place that doesn't import anything.a9ea7b7
Implement error/warning for the bad dynamic_context being set in config.c299e01
Add explicit suffixing to make it easier to see the identify the sources/usag...c87e546
Add reproducer for weird xdist dynamic_context interaction. Ref #604.Updates
pre-commit
to 4.0.1Release notes
Sourced from pre-commit's releases.
Changelog
Sourced from pre-commit's changelog.
... (truncated)
Commits
cc4a522
v4.0.1772d7d4
Merge pull request #3324 from pre-commit/migrate-config-purelib222c62b
fix migrate-config for purelib yaml3d5548b
Merge pull request #3323 from pre-commit/pre-commit-ci-update-config4235a87
[pre-commit.ci] pre-commit autoupdatedbccd57
v4.0.0d07e529
Merge pull request #3320 from pre-commit/remove-python-venv801b956
remove deprecated python_venv aliasa2f7b80
Merge pull request #3315 from pre-commit/warn-deprecated-stage-names-on-initd317223
add warning for deprecates stages for remote repos on initUpdates
pdoc
to 15.0.0Changelog
Sourced from pdoc's changelog.
... (truncated)
Commits
738f791
pdoc 15.0.0f481381
Update CHANGELOG.mdba6e199
improve io mocking (#751)308c3a1
emphasize@deprecated
decorators (#750)9ac4e58
remove python 3.8 compatibility cruft (#749)72c0d51
hide inherited members if the base class is not part of the documentation (#748)98989b4
drop support for Python 3.8 (#747)3887af5
move to uv (#746)85f7f28
Bump the dependencies group with 10 updates (#742)b5963c5
fix changelog dateDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show