Loading pkgs/development/python-modules/apsw/default.nix +7 −15 Original line number Diff line number Diff line { stdenv, lib, buildPythonPackage, fetchFromGitHub, pythonOlder, pytestCheckHook, setuptools, sqlite, }: Loading @@ -27,19 +25,13 @@ buildPythonPackage rec { buildInputs = [ sqlite ]; nativeCheckInputs = [ pytestCheckHook ]; pytestFlagsArray = [ "apsw/tests.py" ]; disabledTests = [ # we don't build the test extension "testLoadExtension" "testShell" "testVFS" "testVFSWithWAL" # no lines in errout.txt "testWriteUnraisable" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ "testzzForkChecker" ]; # apsw explicitly doesn't use pytest # see https://github.com/rogerbinns/apsw/issues/548#issuecomment-2891633403 checkPhase = '' runHook preCheck python -m apsw.tests runHook postCheck ''; pythonImportsCheck = [ "apsw" ]; Loading Loading
pkgs/development/python-modules/apsw/default.nix +7 −15 Original line number Diff line number Diff line { stdenv, lib, buildPythonPackage, fetchFromGitHub, pythonOlder, pytestCheckHook, setuptools, sqlite, }: Loading @@ -27,19 +25,13 @@ buildPythonPackage rec { buildInputs = [ sqlite ]; nativeCheckInputs = [ pytestCheckHook ]; pytestFlagsArray = [ "apsw/tests.py" ]; disabledTests = [ # we don't build the test extension "testLoadExtension" "testShell" "testVFS" "testVFSWithWAL" # no lines in errout.txt "testWriteUnraisable" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ "testzzForkChecker" ]; # apsw explicitly doesn't use pytest # see https://github.com/rogerbinns/apsw/issues/548#issuecomment-2891633403 checkPhase = '' runHook preCheck python -m apsw.tests runHook postCheck ''; pythonImportsCheck = [ "apsw" ]; Loading