-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python310Packages.jupyterlab: 3.6.3 -> 4.0.3 #244209
Changes from 6 commits
aea90b6
223f493
1f820d2
e206cf4
8f09dfb
690e58e
2cfcf60
35aa291
ba873b2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,24 +23,27 @@ | |
, jupyter-server-terminals | ||
, nbformat | ||
, nbconvert | ||
, packaging | ||
, send2trash | ||
, terminado | ||
, prometheus-client | ||
, anyio | ||
, websocket-client | ||
, overrides | ||
, requests | ||
, flaky | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "jupyter-server"; | ||
version = "2.0.6"; | ||
version = "2.7.0"; | ||
format = "pyproject"; | ||
disabled = pythonOlder "3.7"; | ||
disabled = pythonOlder "3.8"; | ||
|
||
src = fetchPypi { | ||
pname = "jupyter_server"; | ||
inherit version; | ||
hash= "sha256-jddZkukLfKVWeUoe1cylEmPGl6vG0N9WGvV0qhwKAz8="; | ||
hash = "sha256-NtoKJm0xpBrDNaNmyIkzwX36W7gXpI9cAsFtMDvJR38="; | ||
}; | ||
|
||
nativeBuildInputs = [ | ||
|
@@ -60,22 +63,23 @@ buildPythonPackage rec { | |
jupyter-server-terminals | ||
nbformat | ||
nbconvert | ||
packaging | ||
send2trash | ||
terminado | ||
prometheus-client | ||
anyio | ||
websocket-client | ||
overrides | ||
]; | ||
|
||
nativeCheckInputs = [ | ||
ipykernel | ||
pandoc | ||
pytestCheckHook | ||
pytest-console-scripts | ||
pytest-jupyter | ||
pytest-timeout | ||
pytest-tornasync | ||
requests | ||
flaky | ||
]; | ||
|
||
preCheck = '' | ||
|
@@ -85,11 +89,16 @@ buildPythonPackage rec { | |
|
||
disabledTests = [ | ||
"test_cull_idle" | ||
"test_server_extension_list" | ||
] ++ lib.optionals stdenv.isDarwin [ | ||
# attempts to use trashcan, build env doesn't allow this | ||
"test_delete" | ||
# test is presumable broken in sandbox | ||
"test_authorized_requests" | ||
# Insufficient access privileges for operation | ||
"test_regression_is_hidden" | ||
] ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [ | ||
"test_copy_big_dir" | ||
]; | ||
|
||
disabledTestPaths = [ | ||
|
@@ -103,9 +112,10 @@ buildPythonPackage rec { | |
__darwinAllowLocalNetworking = true; | ||
|
||
meta = with lib; { | ||
changelog = "https://github.com/jupyter-server/jupyter_server/blob/v${version}/CHANGELOG.md"; | ||
description = "The backend—i.e. core services, APIs, and REST endpoints—to Jupyter web applications"; | ||
homepage = "https://github.com/jupyter-server/jupyter_server"; | ||
license = licenses.bsdOriginal; | ||
maintainers = [ maintainers.elohmeier ]; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @elohmeier Would you like to be a member of |
||
maintainers = lib.teams.jupyter.members; | ||
}; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,50 @@ | ||
{ lib | ||
, buildPythonPackage | ||
, fetchPypi | ||
, ipython | ||
, hatch-jupyter-builder | ||
, hatchling | ||
, async-lru | ||
, packaging | ||
, tornado | ||
, ipykernel | ||
, jupyter-core | ||
, jupyter-lsp | ||
, jupyterlab_server | ||
, jupyter-server | ||
, jupyter-server-ydoc | ||
, notebook | ||
, notebook-shim | ||
, jinja2 | ||
, tomli | ||
, pythonOlder | ||
, jupyter-packaging | ||
, pythonRelaxDepsHook | ||
, nbclassic | ||
}: | ||
|
||
buildPythonPackage rec { | ||
pname = "jupyterlab"; | ||
version = "3.6.3"; | ||
format = "setuptools"; | ||
version = "4.0.3"; | ||
format = "pyproject"; | ||
|
||
disabled = pythonOlder "3.7"; | ||
disabled = pythonOlder "3.8"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
hash = "sha256-Nz6c+4py7dKUvhTxZmJWOiIM7PD7Jt56qxr5optom4I="; | ||
hash = "sha256-4U0c5GphMCgRHQ1Hah19awlAA7dGK6xmn1tHgxeryzk="; | ||
}; | ||
|
||
nativeBuildInputs = [ | ||
jupyter-packaging | ||
pythonRelaxDepsHook | ||
]; | ||
|
||
pythonRelaxDeps = [ | ||
"jupyter-ydoc" | ||
"jupyter-server-ydoc" | ||
hatch-jupyter-builder | ||
hatchling | ||
]; | ||
|
||
propagatedBuildInputs = [ | ||
ipython | ||
async-lru | ||
packaging | ||
tornado | ||
ipykernel | ||
jupyter-core | ||
jupyter-lsp | ||
jupyterlab_server | ||
jupyter-server | ||
jupyter-server-ydoc | ||
nbclassic | ||
notebook | ||
notebook-shim | ||
jinja2 | ||
] ++ lib.optionals (pythonOlder "3.11") [ | ||
tomli | ||
|
@@ -68,10 +64,10 @@ buildPythonPackage rec { | |
]; | ||
|
||
meta = with lib; { | ||
changelog = "https://github.com/jupyterlab/jupyterlab/releases/tag/v${version}"; | ||
changelog = "https://github.com/jupyterlab/jupyterlab/blob/v${version}/CHANGELOG.md"; | ||
description = "Jupyter lab environment notebook server extension"; | ||
license = with licenses; [ bsd3 ]; | ||
license = licenses.bsd3; | ||
homepage = "https://jupyter.org/"; | ||
maintainers = with maintainers; [ zimbatm ]; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @zimbatm Would you like to be a member of There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not using jupyter, so probably best to remove me |
||
maintainers = lib.teams.jupyter.members; | ||
}; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This now seems to fail on x86_64-linux, too
Fix in #259428