python312Packages.envs: Drop nose dependency

This commit is contained in:
Pyrox
2024-07-28 23:34:19 -04:00
parent 9f10e6770d
commit 5fb2b84a1f
@@ -4,8 +4,7 @@
click,
fetchPypi,
jinja2,
mock,
nose,
pytestCheckHook,
poetry-core,
pythonOlder,
terminaltables,
@@ -31,21 +30,11 @@ buildPythonPackage rec {
terminaltables
];
# test rely on nose
doCheck = pythonOlder "3.12";
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
mock
nose
];
pytestFlagsArray = [ "envs/tests.py" ];
checkPhase = ''
runHook preCheck
nosetests --with-isolation
runHook postCheck
'';
disabledTests = [ "test_list_envs" ];
pythonImportsCheck = [ "envs" ];