git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #68823 from B4dM4n/notebook-darwin

notebook: fix darwin sandbox build + dependencies

commit4bc107b06ec111d7504778d443767e13cfc112e9 authorDaiderd Jordan <daiderd@gmail.com> dateFri 20 Sep 2019, 22:03 (7 years ago) parent463703c90b8849
7 files changed+21
pkgs/development/python-modules/Logbook/default.nix+3 pkgs/development/python-modules/ipykernel/default.nix+3 pkgs/development/python-modules/nbconvert/default.nix+3 pkgs/development/python-modules/nbformat/default.nix+3 pkgs/development/python-modules/nbval/default.nix+3 pkgs/development/python-modules/notebook/default.nix+3 pkgs/development/python-modules/pyzmq/default.nix+3
pkgs/development/python-modules/Logbook/default.nix+3
@@ -18,6 +18,9 @@ buildPythonPackage rec {
1818 py.test tests
1919 '';
2020
21+ # Some of the tests use localhost networking.
22+ __darwinAllowLocalNetworking = true;
23+
2124 meta = {
2225 homepage = https://pythonhosted.org/Logbook/;
2326 description = "A logging replacement for Python";
pkgs/development/python-modules/ipykernel/default.nix+3
@@ -37,6 +37,9 @@ buildPythonPackage rec {
3737 HOME=$(mktemp -d) pytest ipykernel -k "not (test_sys_path or test_sys_path_profile_dir or test_complete)"
3838 '';
3939
40+ # Some of the tests use localhost networking.
41+ __darwinAllowLocalNetworking = true;
42+
4043 meta = {
4144 description = "IPython Kernel for Jupyter";
4245 homepage = http://ipython.org/;
pkgs/development/python-modules/nbconvert/default.nix+3
@@ -44,6 +44,9 @@ buildPythonPackage rec {
4444 HOME=$(mktemp -d) py.test -v --ignore="nbconvert/preprocessors/tests/test_execute.py"
4545 '';
4646
47+ # Some of the tests use localhost networking.
48+ __darwinAllowLocalNetworking = true;
49+
4750 meta = {
4851 description = "Converting Jupyter Notebooks";
4952 homepage = https://jupyter.org/;
pkgs/development/python-modules/nbformat/default.nix+3
@@ -29,6 +29,9 @@ buildPythonPackage rec {
2929 export HOME=tmp
3030 '';
3131
32+ # Some of the tests use localhost networking.
33+ __darwinAllowLocalNetworking = true;
34+
3235 meta = {
3336 description = "The Jupyter Notebook format";
3437 homepage = https://jupyter.org/;
pkgs/development/python-modules/nbval/default.nix+3
@@ -45,6 +45,9 @@ buildPythonPackage rec {
4545 pytest tests --ignore tests/test_timeouts.py
4646 '';
4747
48+ # Some of the tests use localhost networking.
49+ __darwinAllowLocalNetworking = true;
50+
4851 meta = with lib; {
4952 description = "A py.test plugin to validate Jupyter notebooks";
5053 homepage = https://github.com/computationalmodelling/nbval;
pkgs/development/python-modules/notebook/default.nix+3
@@ -64,6 +64,9 @@ buildPythonPackage rec {
6464 else ""}
6565 '';
6666
67+ # Some of the tests use localhost networking.
68+ __darwinAllowLocalNetworking = true;
69+
6770 meta = {
6871 description = "The Jupyter HTML notebook is a web-based notebook environment for interactive computing";
6972 homepage = https://jupyter.org/;
pkgs/development/python-modules/pyzmq/default.nix+3
@@ -32,4 +32,7 @@ buildPythonPackage rec {
3232 and not test_on_recv_wake \
3333 and not test_monitor"
3434 '';
35+
36+ # Some of the tests use localhost networking.
37+ __darwinAllowLocalNetworking = true;
3538}