summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-08-16 21:10:19 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2018-08-16 22:44:07 -0500
commitbca81442744ddf18b5721a397a29ea1146d74fd2 (patch)
treec0d901a4adbc22089571f0e76e06fa8faadd4af8
parent7a39b0c43b6e8d913db2882b52e1f81b1eb96bd4 (diff)
downloadnixlib-bca81442744ddf18b5721a397a29ea1146d74fd2.tar
nixlib-bca81442744ddf18b5721a397a29ea1146d74fd2.tar.gz
nixlib-bca81442744ddf18b5721a397a29ea1146d74fd2.tar.bz2
nixlib-bca81442744ddf18b5721a397a29ea1146d74fd2.tar.lz
nixlib-bca81442744ddf18b5721a397a29ea1146d74fd2.tar.xz
nixlib-bca81442744ddf18b5721a397a29ea1146d74fd2.tar.zst
nixlib-bca81442744ddf18b5721a397a29ea1146d74fd2.zip
treewide: disable some tests broken on darwin
disable checks for:

- cython
- ldap
- tqdm
-rw-r--r--pkgs/development/python-modules/Cython/default.nix2
-rw-r--r--pkgs/development/python-modules/ldap/default.nix4
-rw-r--r--pkgs/development/python-modules/tqdm/default.nix3
3 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/Cython/default.nix b/pkgs/development/python-modules/Cython/default.nix
index fa07eee0d7e1..de5eaea842b2 100644
--- a/pkgs/development/python-modules/Cython/default.nix
+++ b/pkgs/development/python-modules/Cython/default.nix
@@ -48,6 +48,8 @@ in buildPythonPackage rec {
         ''--exclude="(${builtins.concatStringsSep "|" excludedTests})"''}
   '';
 
+  doCheck = !stdenv.isDarwin;
+
   patches = [
     # The following is in GitHub in 0.28.3 but not in the `sdist`.
     # https://github.com/cython/cython/issues/2319
diff --git a/pkgs/development/python-modules/ldap/default.nix b/pkgs/development/python-modules/ldap/default.nix
index 17a6b158d3f2..09d399d25b37 100644
--- a/pkgs/development/python-modules/ldap/default.nix
+++ b/pkgs/development/python-modules/ldap/default.nix
@@ -1,6 +1,6 @@
 { buildPythonPackage, fetchPypi
 , pyasn1, pyasn1-modules, pytest
-, openldap, cyrus_sasl }:
+, openldap, cyrus_sasl, stdenv }:
 
 buildPythonPackage rec {
   pname = "python-ldap";
@@ -26,4 +26,6 @@ buildPythonPackage rec {
 
     py.test
   '';
+
+  doCheck = !stdenv.isDarwin;
 }
diff --git a/pkgs/development/python-modules/tqdm/default.nix b/pkgs/development/python-modules/tqdm/default.nix
index 0b77f7068012..fd5cd47be383 100644
--- a/pkgs/development/python-modules/tqdm/default.nix
+++ b/pkgs/development/python-modules/tqdm/default.nix
@@ -5,6 +5,7 @@
 , coverage
 , glibcLocales
 , flake8
+, stdenv
 }:
 
 buildPythonPackage rec {
@@ -26,6 +27,8 @@ buildPythonPackage rec {
 
   LC_ALL="en_US.UTF-8";
 
+  doCheck = !stdenv.isDarwin;
+
   meta = {
     description = "A Fast, Extensible Progress Meter";
     homepage = https://github.com/tqdm/tqdm;