Merge pull request #330882 from Sigmanificient/neo

python312Packages.neo: drop nose dependency
This commit is contained in:
Emily 2024-07-31 20:07:31 +01:00 committed by GitHub
commit c68bae3162
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,12 +2,14 @@
lib,
buildPythonPackage,
fetchPypi,
nose,
numpy,
packaging,
quantities,
pythonOlder,
setuptools,
pytestCheckHook,
pillow,
which,
}:
buildPythonPackage rec {
@ -30,11 +32,16 @@ buildPythonPackage rec {
quantities
];
nativeCheckInputs = [ nose ];
nativeCheckInputs = [
pytestCheckHook
pillow
which
];
checkPhase = ''
nosetests --exclude=iotest
'';
disabledTestPaths = [
# Requires network and export HOME dir
"neo/test/rawiotest/test_maxwellrawio.py"
];
pythonImportsCheck = [ "neo" ];