From a2e9b7bf12c90bfaeda7f9a5e81c7de74bf711c7 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Mon, 11 Nov 2019 13:08:58 -0800 Subject: [PATCH] python3Packges.sqlalchemy: disable mem tests on darwin These tests fail to pickle a file locally --- pkgs/development/python-modules/sqlalchemy/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sqlalchemy/default.nix b/pkgs/development/python-modules/sqlalchemy/default.nix index e9e14b7da4d8..e77f2e0e7b2d 100644 --- a/pkgs/development/python-modules/sqlalchemy/default.nix +++ b/pkgs/development/python-modules/sqlalchemy/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchPypi, buildPythonPackage, isPy3k, isPy35 +{ stdenv, lib, fetchPypi, buildPythonPackage, isPy3k, isPy35 , mock , pysqlite , fetchpatch @@ -25,7 +25,9 @@ buildPythonPackage rec { dontUseSetuptoolsCheck = true; - disabledTests = lib.optionals isPy35 [ "exception_persistent_flush_py3k "]; + # disable mem-usage tests on mac, has trouble serializing pickle files + disabledTests = lib.optionals isPy35 [ "exception_persistent_flush_py3k "] + ++ lib.optionals stdenv.isDarwin [ "MemUsageWBackendTest" "MemUsageTest" ]; patches = [ # Two patches for sqlite 3.30 compatibility.