From 892afcbbedbb9466d795ebe0505b241a65b9f849 Mon Sep 17 00:00:00 2001 From: Asher Foa <1268088+asherf@users.noreply.github.com> Date: Tue, 2 Feb 2021 13:47:17 -0800 Subject: [PATCH] Allow pytest-cov 2.11.x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2.11.1 (2021-01-20) ------------------- * Fixed support for newer setuptools (v42+). Contributed by Michał Górny in `#451 `_. 2.11.0 (2021-01-18) ------------------- * Bumped minimum coverage requirement to 5.2.1. This prevents reporting issues. Contributed by Mateus Berardo de Souza Terra in `#433 `_. * Improved sample projects (from the `examples `_ directory) to support running `tox -e pyXY`. Now the example configures a suffixed coverage data file, and that makes the cleanup environment unnecessary. Contributed by Ganden Schaffner in `#435 `_. * Removed the empty `console_scripts` entrypoint that confused some Gentoo build script. I didn't ask why it was so broken cause I didn't want to ruin my day. Contributed by Michał Górny in `#434 `_. * Fixed the missing `coverage context `_ when using subprocesses. Contributed by Bernát Gábor in `#443 `_. * Updated the config section in the docs. Contributed by Pamela McA'Nulty in `#429 `_. * Migrated CI to travis-ci.com (from .org). https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst --- src/python/pants/backend/python/subsystems/pytest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/pants/backend/python/subsystems/pytest.py b/src/python/pants/backend/python/subsystems/pytest.py index adebbdfc7031..1bd6b23028ec 100644 --- a/src/python/pants/backend/python/subsystems/pytest.py +++ b/src/python/pants/backend/python/subsystems/pytest.py @@ -34,7 +34,7 @@ def register_options(cls, register): "--pytest-plugins", type=list, advanced=True, - default=["pytest-cov>=2.10.1,<2.11"], + default=["pytest-cov>=2.10.1,<2.12"], help=( "Requirement strings for any plugins or additional requirements you'd like to use." ),