summary refs log tree commit diff
path: root/pkgs/development/python-modules/sqlalchemy
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2019-11-11 13:08:58 -0800
committerJon <jonringer@users.noreply.github.com>2019-11-28 21:24:45 -0800
commita2e9b7bf12c90bfaeda7f9a5e81c7de74bf711c7 (patch)
treeb5e3722ac869e3e4aa6424e311aea1290e44bf21 /pkgs/development/python-modules/sqlalchemy
parent6687a4a727818aa18a1fee5a50fa3621a332d9a8 (diff)
downloadnixpkgs-a2e9b7bf12c90bfaeda7f9a5e81c7de74bf711c7.tar
nixpkgs-a2e9b7bf12c90bfaeda7f9a5e81c7de74bf711c7.tar.gz
nixpkgs-a2e9b7bf12c90bfaeda7f9a5e81c7de74bf711c7.tar.bz2
nixpkgs-a2e9b7bf12c90bfaeda7f9a5e81c7de74bf711c7.tar.lz
nixpkgs-a2e9b7bf12c90bfaeda7f9a5e81c7de74bf711c7.tar.xz
nixpkgs-a2e9b7bf12c90bfaeda7f9a5e81c7de74bf711c7.tar.zst
nixpkgs-a2e9b7bf12c90bfaeda7f9a5e81c7de74bf711c7.zip
python3Packges.sqlalchemy: disable mem tests on darwin
These tests fail to pickle a file locally
Diffstat (limited to 'pkgs/development/python-modules/sqlalchemy')
-rw-r--r--pkgs/development/python-modules/sqlalchemy/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/sqlalchemy/default.nix b/pkgs/development/python-modules/sqlalchemy/default.nix
index e9e14b7da4d..e77f2e0e7b2 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.