python311Packages.celery-singleton: migrate to pytest-cov-stub
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
redis,
|
||||
pytestCheckHook,
|
||||
pytest-celery,
|
||||
pytest-cov-stub,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -22,13 +23,6 @@ buildPythonPackage rec {
|
||||
hash = "sha256-fHlakxxjYIADELZdxIj6rvsZ/+1QfnKvAg3w5cdzvDc=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# Disable coverage reporting in tests
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--cov" "" \
|
||||
--replace "--no-cov-on-fail" ""
|
||||
'';
|
||||
|
||||
patches = [
|
||||
# chore(poetry): use poetry-core
|
||||
# https://github.com/steinitzu/celery-singleton/pull/54
|
||||
@@ -49,6 +43,7 @@ buildPythonPackage rec {
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pytest-celery
|
||||
pytest-cov-stub
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "tests" ];
|
||||
|
||||
Reference in New Issue
Block a user