python311Packages.appthreat-vulnerability-db: migate to pytest-cov-stub
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
packageurl-python,
|
||||
pydantic,
|
||||
pytestCheckHook,
|
||||
pytest-cov-stub,
|
||||
pythonOlder,
|
||||
rich,
|
||||
semver,
|
||||
@@ -32,11 +33,6 @@ buildPythonPackage rec {
|
||||
hash = "sha256-lgt609UDuHTGQTTrpvxNvgUk6GU+TYqwc19dzatI4Io=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail " --cov-report=term-missing --no-cov-on-fail --cov vdb" ""
|
||||
'';
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"msgpack"
|
||||
"semver"
|
||||
@@ -59,7 +55,10 @@ buildPythonPackage rec {
|
||||
tabulate
|
||||
] ++ httpx.optional-dependencies.http2;
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-cov-stub
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d);
|
||||
|
||||
Reference in New Issue
Block a user