python3Packages.pytest-cov: 2.11.1 -> 2.12.1
This commit is contained in:
parent
b43f2e92a3
commit
903b39b47b
@ -1,16 +1,21 @@
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, pytest, coverage }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, coverage
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytest-cov";
|
||||
version = "2.11.1";
|
||||
version = "2.12.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "359952d9d39b9f822d9d29324483e7ba04a3a17dd7d05aa6beb7ea01e359e5f7";
|
||||
sha256 = "sha256-JhzuuMIntyYkmzdrhSa2APOGZ+4xT5EDU/oxjKoB9Nc=";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest ];
|
||||
|
||||
propagatedBuildInputs = [ coverage ];
|
||||
|
||||
# xdist related tests fail with the following error
|
||||
@ -22,6 +27,8 @@ buildPythonPackage rec {
|
||||
py.test tests
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "pytest_cov" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Plugin for coverage reporting with support for both centralised and distributed testing, including subprocesses and multiprocessing";
|
||||
homepage = "https://github.com/pytest-dev/pytest-cov";
|
||||
|
Loading…
Reference in New Issue
Block a user