From c32a49ef8f9b5d8217abf01c4d13f35217c6b133 Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Sun, 18 May 2025 17:18:12 +0200 Subject: [PATCH] python3Packages.pydal: fix Darwin build --- pkgs/development/python-modules/pydal/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/pydal/default.nix b/pkgs/development/python-modules/pydal/default.nix index 8661a0362876..c98e0d84bb8d 100644 --- a/pkgs/development/python-modules/pydal/default.nix +++ b/pkgs/development/python-modules/pydal/default.nix @@ -1,5 +1,6 @@ { 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; {