python313Packages.scikit-rf: migrate to pytest-cov-stub

This commit is contained in:
Peder Bergebakken Sundt 2025-06-02 05:56:41 +02:00
parent 9f4125c30d
commit 36b82d3b51

View File

@ -21,6 +21,7 @@
openpyxl,
setuptools,
pytestCheckHook,
pytest-cov-stub,
pytest-mock,
}:
@ -38,11 +39,6 @@ buildPythonPackage rec {
hash = "sha256-Ovrr1U7VuuGKDNSBSCyYSz3DNpaJrA57ccl4AFdzC5E=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "--cov=skrf" ""
'';
build-system = [ setuptools ];
dependencies = [
@ -78,6 +74,7 @@ buildPythonPackage rec {
openpyxl
networkx
pytestCheckHook
pytest-cov-stub
];
# test_calibration.py generates a divide by zero error on darwin