mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
python313Packages.duecredit: migrate to pytest-cov-stub
This commit is contained in:
parent
341e14abbc
commit
eaa9bcf241
1 changed files with 2 additions and 6 deletions
|
@ -5,6 +5,7 @@
|
|||
pythonOlder,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
pytest-cov-stub,
|
||||
vcrpy,
|
||||
citeproc-py,
|
||||
looseversion,
|
||||
|
@ -23,12 +24,6 @@ buildPythonPackage rec {
|
|||
hash = "sha256-/nOiDk+7LZcroB7fN97BsLoeZG7+XvTMrwxnJMoofUI=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace tox.ini \
|
||||
--replace-fail "--cov=duecredit" "" \
|
||||
--replace-fail "--cov-config=tox.ini" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
propagatedBuildInputs = [
|
||||
citeproc-py
|
||||
|
@ -38,6 +33,7 @@ buildPythonPackage rec {
|
|||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-cov-stub
|
||||
vcrpy
|
||||
];
|
||||
disabledTests = [ "test_import_doi" ]; # tries to access network
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue