* Removed support for xdist rsync (now deprecated).
* Switched docs theme to Furo.
* Various legacy Python cleanup and CI improvements.
Contributed by Christian Clauss and Hugo van Kemenade in
#630, #631, #632 and #633.
* Added a pyproject.toml example in the docs. Contributed by
Dawn James in #626.
* Modernized project's pre-commit hooks to use ruff. Initial
POC contributed by Christian Clauss in #584.
* Support coverage >= 6.2
- Inject multibuild to avoid build cycles.
- Skip 6 test cases that are causing problems with Python 3.8
(when combining coverage data from parallel mode).
* Added the --cov-append command line options.
coverage-4.0 (automatically activated if there’s a
* Changed --cov-report=term to automatically upgrade to
--cov-report=term-missing if there’s
* Changed --cov so it can be used with no path argument
(in wich case the source settings from .coveragerc will
* Fixed .pth installation to work in all cases
* Data file suffixing changed to use coverage’s
* Avoid warning about missing coverage data
* Fixed a race condition when running with xdist
(all the workers tried to combine the files).
It’s possible that this issue is not present in
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-cov?expand=0&rev=45
- Remove support-setuptools60.patch
- Update to 4.0.0:
* --cov-fail-under no longer causes pytest --collect-only to fail Contributed
by Zac Hatfield-Dodds in #511.
* Dropped support for multiprocessing (mostly because issue 82408). This
feature was mostly working but very broken in certain scenarios and made
the test suite very flaky and slow.
* There is builtin multiprocessing support in coverage and you can migrate to
that. All you need is this in your .coveragerc:
[run]
concurrency = multiprocessing
parallel = true
sigterm = true
* Fixed deprecation in setup.py by trying to import setuptools before
distutils. Contributed by Ben Greiner in #545.
* Removed undesirable new lines that were displayed while reporting was
disabled. Contributed by Delgan in #540.
* Documentation fixes. Contributed by Andre Brisco in #543 and Colin O'Dell
in #525.
* Added support for LCOV output format via --cov-report=lcov. Only works with
coverage 6.3+. Contributed by Christian Fetzer in #536.
* Modernized pytest hook implementation. Contributed by Bruno Oliveira in
#549 and Ronny Pfannschmidt in #550.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-cov?expand=0&rev=34
* Fixed RemovedInPytest4Warning when using Pytest 3.10. Contributed by Michael Manganiello in #354.
* Made pytest startup faster when plugin not active by lazy-importing. Contributed by Anders Hovmöller in #339.
* Various CI improvements. Contributed by Daniel Hahler in #363 and #364.
* Various Python support updates (drop EOL 3.4, test against 3.8 final). Contributed by Hugo van Kemenade in #336 and #367.
* Changed --cov-append to always enable data_suffix (a coverage setting). Contributed by Harm Geerts in #387.
* Changed --cov-append to handle loading previous data better (fixes various path aliasing issues).
* Various other testing improvements, github issue templates, example updates.
* Fixed internal failures that are caused by tests that change the current working directory by ensuring a consistent working directory when coverage is called. See #306 and coveragepy#881
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-cov?expand=0&rev=16
* Fixed AttributeError: 'NoneType' object has no attribute 'configure_node' error when --no-cov is used. Contributed by Alexander Shadchin in #263.
* Various testing and CI improvements. Contributed by Daniel Hahler in #255, #266, #272, #271 and #269.
* Improved documentation regarding subprocess and multiprocessing. Contributed in #265.
* Improved pytest_cov.embed.cleanup_on_sigterm to be reentrant (signal deliveries while signal handling is running won't break stuff).
* Added pytest_cov.embed.cleanup_on_signal for customized cleanup.
* Improved cleanup code and fixed various issues with leftover data files. All contributed in #265 or #262.
* Improved examples. Now there are two examples for the common project layouts, complete with working coverage configuration. The examples have CI testing. Contributed in #267.
* Improved help text for CLI options.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-cov?expand=0&rev=6
- update to 2.6.0
- cleanup deps
* Dropped support for Python < 3.4, Pytest < 3.5 and Coverage < 4.4
* Fixed some documentation formatting.
* Added an example with addopts in documentation.
* Fixed TypeError: 'NoneType' object is not iterable in certain xdist configurations.
* Added a no_cover marker and fixture.
* Fixed broken no_cover check when running doctests.
* Fixed various issues with path normalization in reports
(when combining coverage data from parallel mode).
* Report generation failures don't raise exceptions anymore.
A warning will be logged instead. (forwarded request 644865 from mimi_vx)
OBS-URL: https://build.opensuse.org/request/show/644866
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-cov?expand=0&rev=9