57bcaea722Accepting request 1174102 from devel:languages:python:pytest
factory
Ana Guerrero
2024-05-16 15:12:45 +00:00
5de5a9131c- Switch to pytest macro. - Add patch support-coverage-75.patch: * Support changes in coverage 7.5.
Steve Kowalik
2024-05-15 04:23:46 +00:00
165ebaf798Accepting request 1161491 from devel:languages:python:pytest
Ana Guerrero
2024-03-26 18:25:05 +00:00
9e9dd6f3a8- update to 5.0.0: * 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 inDirk Mueller2024-03-25 15:20:22 +00:00
7346b28eb7- update to 4.1.0: * Updated CI with new Pythons and dependencies. * Removed rsyncdir support. This makes pytest-cov compatible with xdist 3.0. * Added support for JSON reporting. * Refactored code to use f-strings. * Fixed a skip in the test suite for some old xdist.Dirk Mueller2023-06-01 08:51:40 +00:00
14b618b1b0- Disable failing tests (test_contexts) that fails because of the new version of python-coverage, gh#pytest-dev/pytest-cov#570Daniel Garcia2022-11-28 09:32:52 +00:00
bd866c59e5- Remove support-coverage-62.patch - 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.Daniel Garcia2022-11-25 12:01:49 +00:00
cf2e82f5f8- Update to 2.9.0: * 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
Tomáš Chvátal
2020-06-09 08:12:29 +00:00
6bca00ea5c- Update to 2.8.1: * Fixed#348 - regression when only certain reports (html or xml) are used then --cov-fail-under always fails. * Added compatibility with future xdist release that deprecates some internals (match pytest-xdist master/worker terminology). Contributed by Thomas Grainger in #321 * Added support for Coverage 5.0
Tomáš Chvátal
2019-10-07 08:45:34 +00:00
8b9639c671- Update to 2.7.1: * 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.
Tomáš Chvátal
2019-05-06 11:08:33 +00:00
b6e48bbf31Accepting request 674557 from devel:languages:python:pytest
Stephan Kulow
2019-02-24 16:06:33 +00:00
5d22013068- Update to 2.6.1: * Added support for Pytest 4.1. Contributed by Daniel Hahler and Семён Марьясин in #253 and #230. * Various test and docs fixes. Contributed by Daniel Hahler in #224 and #223. * Fixed the "Module already imported" issue (#211). Contributed by Daniel Hahler in #228.
Tomáš Chvátal
2019-02-13 13:12:48 +00:00