Unverified Commit 58ffa16a authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

python3Packages.pydal: fix Darwin build (#408615)

parents eebd349f c32a49ef
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  fetchPypi,
  pytestCheckHook,
@@ -42,6 +43,11 @@ buildPythonPackage rec {
    "--deselect=tests/validators.py::TestValidators::test_IS_IN_DB"
  ];

  disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
    # socket.gaierror: [Errno 8] nodename nor servname provided, or not known
    "test_scheduler"
  ];

  pythonImportsCheck = [ "pydal" ];

  meta = with lib; {