python312Packages.xlwt: Remove nose dependency

This commit is contained in:
Pyrox
2024-07-26 18:15:55 -04:00
parent eb47a2214c
commit f8c5e1ea1e
@@ -2,9 +2,9 @@
lib,
buildPythonPackage,
fetchPypi,
nose,
setuptools,
pythonOlder,
pytestCheckHook,
}:
buildPythonPackage rec {
@@ -21,18 +21,7 @@ buildPythonPackage rec {
build-system = [ setuptools ];
# tests rely on nose, archived in 2020
doCheck = pythonOlder "3.12";
nativeCheckInputs = [ nose ];
checkPhase = ''
runHook preCheck
nosetests -v
runHook postCheck
'';
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "xlwt" ];