python3Packages.ipykernel: fix build on darwin

This commit is contained in:
Dmitry Kalinkin 2019-12-28 20:10:21 -05:00 committed by Jon
parent afacb9d06b
commit c69b4f8e9c

View File

@ -1,4 +1,5 @@
{ lib { lib
, stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, fetchpatch , fetchpatch
@ -36,6 +37,12 @@ buildPythonPackage rec {
preCheck = '' preCheck = ''
export HOME=$(mktemp -d) export HOME=$(mktemp -d)
''; '';
disabledTests = lib.optionals stdenv.isDarwin [
# see https://github.com/NixOS/nixpkgs/issues/76197
"test_subprocess_print"
"test_subprocess_error"
"test_ipython_start_kernel_no_userns"
];
# Some of the tests use localhost networking. # Some of the tests use localhost networking.
__darwinAllowLocalNetworking = true; __darwinAllowLocalNetworking = true;