Loading pkgs/development/python-modules/pysmi/default.nix +9 −12 Original line number Diff line number Diff line Loading @@ -2,19 +2,14 @@ lib, buildPythonPackage, fetchFromGitHub, # build-system poetry-core, # dependencies ply, jinja2, requests, # tests ply, poetry-core, pysmi, pysnmp, pytestCheckHook, pythonOlder, requests, }: buildPythonPackage rec { Loading @@ -22,6 +17,8 @@ buildPythonPackage rec { pname = "pysmi"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "lextudio"; repo = "pysmi"; Loading @@ -37,14 +34,14 @@ buildPythonPackage rec { requests ]; # Tests require pysnmp, which in turn requires pysmi => infinite recursion doCheck = false; nativeCheckInputs = [ pysnmp pytestCheckHook ]; # Tests require pysnmp, which in turn requires pysmi => infinite recursion doCheck = false; pythonImportsCheck = [ "pysmi" ]; passthru.tests.pytest = pysmi.overridePythonAttrs { doCheck = true; }; Loading Loading
pkgs/development/python-modules/pysmi/default.nix +9 −12 Original line number Diff line number Diff line Loading @@ -2,19 +2,14 @@ lib, buildPythonPackage, fetchFromGitHub, # build-system poetry-core, # dependencies ply, jinja2, requests, # tests ply, poetry-core, pysmi, pysnmp, pytestCheckHook, pythonOlder, requests, }: buildPythonPackage rec { Loading @@ -22,6 +17,8 @@ buildPythonPackage rec { pname = "pysmi"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "lextudio"; repo = "pysmi"; Loading @@ -37,14 +34,14 @@ buildPythonPackage rec { requests ]; # Tests require pysnmp, which in turn requires pysmi => infinite recursion doCheck = false; nativeCheckInputs = [ pysnmp pytestCheckHook ]; # Tests require pysnmp, which in turn requires pysmi => infinite recursion doCheck = false; pythonImportsCheck = [ "pysmi" ]; passthru.tests.pytest = pysmi.overridePythonAttrs { doCheck = true; }; Loading