Merge pull request #68823 from B4dM4n/notebook-darwin

notebook: fix darwin sandbox build + dependencies
This commit is contained in:
Daiderd Jordan 2019-09-20 22:03:54 +02:00 committed by GitHub
commit 4bc107b06e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 21 additions and 0 deletions

View file

@ -18,6 +18,9 @@ buildPythonPackage rec {
py.test tests
'';
# Some of the tests use localhost networking.
__darwinAllowLocalNetworking = true;
meta = {
homepage = https://pythonhosted.org/Logbook/;
description = "A logging replacement for Python";

View file

@ -37,6 +37,9 @@ buildPythonPackage rec {
HOME=$(mktemp -d) pytest ipykernel -k "not (test_sys_path or test_sys_path_profile_dir or test_complete)"
'';
# Some of the tests use localhost networking.
__darwinAllowLocalNetworking = true;
meta = {
description = "IPython Kernel for Jupyter";
homepage = http://ipython.org/;

View file

@ -44,6 +44,9 @@ buildPythonPackage rec {
HOME=$(mktemp -d) py.test -v --ignore="nbconvert/preprocessors/tests/test_execute.py"
'';
# Some of the tests use localhost networking.
__darwinAllowLocalNetworking = true;
meta = {
description = "Converting Jupyter Notebooks";
homepage = https://jupyter.org/;

View file

@ -29,6 +29,9 @@ buildPythonPackage rec {
export HOME=tmp
'';
# Some of the tests use localhost networking.
__darwinAllowLocalNetworking = true;
meta = {
description = "The Jupyter Notebook format";
homepage = https://jupyter.org/;

View file

@ -45,6 +45,9 @@ buildPythonPackage rec {
pytest tests --ignore tests/test_timeouts.py
'';
# Some of the tests use localhost networking.
__darwinAllowLocalNetworking = true;
meta = with lib; {
description = "A py.test plugin to validate Jupyter notebooks";
homepage = https://github.com/computationalmodelling/nbval;

View file

@ -64,6 +64,9 @@ buildPythonPackage rec {
else ""}
'';
# Some of the tests use localhost networking.
__darwinAllowLocalNetworking = true;
meta = {
description = "The Jupyter HTML notebook is a web-based notebook environment for interactive computing";
homepage = https://jupyter.org/;

View file

@ -32,4 +32,7 @@ buildPythonPackage rec {
and not test_on_recv_wake \
and not test_monitor"
'';
# Some of the tests use localhost networking.
__darwinAllowLocalNetworking = true;
}