python3Packages.jupyter-server: Rename from jupyter_server
This commit is contained in:
parent
fdc2e9f4ce
commit
ea3e3d0d4b
|
@ -2,7 +2,7 @@
|
||||||
, lib
|
, lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, jupyter_server
|
, jupyter-server
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -15,7 +15,7 @@ buildPythonPackage rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
jupyter_server
|
jupyter-server
|
||||||
];
|
];
|
||||||
# tests require network
|
# tests require network
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, jupyter-packaging
|
, jupyter-packaging
|
||||||
, jupyter_server
|
, jupyter-server
|
||||||
, pytest-tornasync
|
, pytest-tornasync
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
jupyter_server
|
jupyter-server
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
|
|
@ -34,13 +34,14 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "jupyter_server";
|
pname = "jupyter-server";
|
||||||
version = "2.0.6";
|
version = "2.0.6";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
pname = "jupyter_server";
|
||||||
|
inherit version;
|
||||||
hash= "sha256-jddZkukLfKVWeUoe1cylEmPGl6vG0N9WGvV0qhwKAz8=";
|
hash= "sha256-jddZkukLfKVWeUoe1cylEmPGl6vG0N9WGvV0qhwKAz8=";
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, git
|
, git
|
||||||
, jupyter_server
|
, jupyter-server
|
||||||
, jupyter-packaging
|
, jupyter-packaging
|
||||||
, jupyterlab
|
, jupyterlab
|
||||||
, nbdime
|
, nbdime
|
||||||
|
@ -32,7 +32,7 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
jupyter_server
|
jupyter-server
|
||||||
nbdime
|
nbdime
|
||||||
git
|
git
|
||||||
nbformat
|
nbformat
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, json5
|
, json5
|
||||||
, babel
|
, babel
|
||||||
, jupyter_server
|
, jupyter-server
|
||||||
, tomli
|
, tomli
|
||||||
, openapi-core
|
, openapi-core
|
||||||
, pytest-timeout
|
, pytest-timeout
|
||||||
|
@ -38,7 +38,7 @@ buildPythonPackage rec {
|
||||||
jsonschema
|
jsonschema
|
||||||
json5
|
json5
|
||||||
babel
|
babel
|
||||||
jupyter_server
|
jupyter-server
|
||||||
tomli
|
tomli
|
||||||
] ++ lib.optionals (pythonOlder "3.10") [
|
] ++ lib.optionals (pythonOlder "3.10") [
|
||||||
importlib-metadata
|
importlib-metadata
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
, jinja2
|
, jinja2
|
||||||
, jupyter-client
|
, jupyter-client
|
||||||
, jupyter-core
|
, jupyter-core
|
||||||
, jupyter_server
|
, jupyter-server
|
||||||
, nbconvert
|
, nbconvert
|
||||||
, nbformat
|
, nbformat
|
||||||
, nest-asyncio
|
, nest-asyncio
|
||||||
|
@ -43,7 +43,7 @@ buildPythonPackage rec {
|
||||||
jinja2
|
jinja2
|
||||||
jupyter-client
|
jupyter-client
|
||||||
jupyter-core
|
jupyter-core
|
||||||
jupyter_server
|
jupyter-server
|
||||||
nbconvert
|
nbconvert
|
||||||
nbformat
|
nbformat
|
||||||
nest-asyncio
|
nest-asyncio
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, jupyter_server
|
, jupyter-server
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pytest-tornasync
|
, pytest-tornasync
|
||||||
}:
|
}:
|
||||||
|
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||||
sha256 = "sha256-/z4vXSBqeL2wSqJ0kFNgU0TSGUGByhxHNya8EO55+7s=";
|
sha256 = "sha256-/z4vXSBqeL2wSqJ0kFNgU0TSGUGByhxHNya8EO55+7s=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ jupyter_server ];
|
propagatedBuildInputs = [ jupyter-server ];
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
mv notebook_shim/conftest.py notebook_shim/tests
|
mv notebook_shim/conftest.py notebook_shim/tests
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
# optionals
|
# optionals
|
||||||
, jupyter-client
|
, jupyter-client
|
||||||
, ipykernel
|
, ipykernel
|
||||||
, jupyter_server
|
, jupyter-server
|
||||||
, nbformat
|
, nbformat
|
||||||
|
|
||||||
# tests
|
# tests
|
||||||
|
@ -50,7 +50,7 @@ let self = buildPythonPackage rec {
|
||||||
ipykernel
|
ipykernel
|
||||||
];
|
];
|
||||||
server = [
|
server = [
|
||||||
jupyter_server
|
jupyter-server
|
||||||
nbformat
|
nbformat
|
||||||
] ++ client;
|
] ++ client;
|
||||||
};
|
};
|
||||||
|
|
|
@ -108,6 +108,7 @@ mapAliases ({
|
||||||
jinja2_time = jinja2-time; # added 2022-11-07
|
jinja2_time = jinja2-time; # added 2022-11-07
|
||||||
jupyter_client = jupyter-client; # added 2021-10-15
|
jupyter_client = jupyter-client; # added 2021-10-15
|
||||||
jupyter_core = jupyter-core; # added 2023-01-05
|
jupyter_core = jupyter-core; # added 2023-01-05
|
||||||
|
jupyter_server = jupyter-server; # added 2023-01-05
|
||||||
Keras = keras; # added 2021-11-25
|
Keras = keras; # added 2021-11-25
|
||||||
ldap = python-ldap; # added 2022-09-16
|
ldap = python-ldap; # added 2022-09-16
|
||||||
lammps-cython = throw "lammps-cython no longer builds and is unmaintained"; # added 2021-07-04
|
lammps-cython = throw "lammps-cython no longer builds and is unmaintained"; # added 2021-07-04
|
||||||
|
|
|
@ -4940,7 +4940,7 @@ self: super: with self; {
|
||||||
|
|
||||||
jupyter-lsp = callPackage ../development/python-modules/jupyter-lsp { };
|
jupyter-lsp = callPackage ../development/python-modules/jupyter-lsp { };
|
||||||
|
|
||||||
jupyter_server = callPackage ../development/python-modules/jupyter_server { };
|
jupyter-server = callPackage ../development/python-modules/jupyter-server { };
|
||||||
|
|
||||||
jupyter-server-terminals = callPackage ../development/python-modules/jupyter-server-terminals { };
|
jupyter-server-terminals = callPackage ../development/python-modules/jupyter-server-terminals { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue