python313Packages.duecredit: migrate to pytest-cov-stub

Changed files
+2 -6
pkgs
development
python-modules
duecredit
+2 -6
pkgs/development/python-modules/duecredit/default.nix
···
pythonOlder,
setuptools,
pytestCheckHook,
vcrpy,
citeproc-py,
looseversion,
···
hash = "sha256-/nOiDk+7LZcroB7fN97BsLoeZG7+XvTMrwxnJMoofUI=";
};
-
postPatch = ''
-
substituteInPlace tox.ini \
-
--replace-fail "--cov=duecredit" "" \
-
--replace-fail "--cov-config=tox.ini" ""
-
'';
-
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
citeproc-py
···
nativeCheckInputs = [
pytestCheckHook
vcrpy
];
disabledTests = [ "test_import_doi" ]; # tries to access network
···
pythonOlder,
setuptools,
pytestCheckHook,
+
pytest-cov-stub,
vcrpy,
citeproc-py,
looseversion,
···
hash = "sha256-/nOiDk+7LZcroB7fN97BsLoeZG7+XvTMrwxnJMoofUI=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
citeproc-py
···
nativeCheckInputs = [
pytestCheckHook
+
pytest-cov-stub
vcrpy
];
disabledTests = [ "test_import_doi" ]; # tries to access network