diff options
author | natsukium <tomoya.otabi@gmail.com> | 2023-10-22 22:14:06 +0900 |
---|---|---|
committer | natsukium <tomoya.otabi@gmail.com> | 2023-11-21 18:17:38 +0900 |
commit | 8dcd50a29df57f960bd0a8e02bfd00c3712e1a0a (patch) | |
tree | 428f92ed8707b59f63a220c4fceef1bbd7f4fd64 | |
parent | 4b3869f538913f087c78726a29a32284c83e574e (diff) |
python311Packages.jupyterlab-git: 0.42.0 -> 0.50.0rc0
Diff: https://github.com/jupyterlab/jupyterlab-git/compare/v0.42.0...v0.50.0rc0 Changelog: https://github.com/jupyterlab/jupyterlab-git/blob/v0.50.0rc0/CHANGELOG.md
-rw-r--r-- | pkgs/development/python-modules/jupyterlab-git/default.nix | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/jupyterlab-git/default.nix b/pkgs/development/python-modules/jupyterlab-git/default.nix index 7c0522c754016..fc534f9e67f61 100644 --- a/pkgs/development/python-modules/jupyterlab-git/default.nix +++ b/pkgs/development/python-modules/jupyterlab-git/default.nix @@ -1,34 +1,41 @@ { lib -, stdenv , buildPythonPackage , fetchPypi , git , jupyter-server -, jupyter-packaging +, hatch-jupyter-builder +, hatch-nodejs-version +, hatchling , jupyterlab , nbdime , nbformat , pexpect , pytest-asyncio +, pytest-jupyter , pytest-tornasync , pytestCheckHook , pythonOlder +, traitlets }: buildPythonPackage rec { pname = "jupyterlab-git"; - version = "0.42.0"; + version = "0.50.0rc0"; + pyproject = true; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.8"; src = fetchPypi { pname = "jupyterlab_git"; inherit version; - hash = "sha256-GFnox6KnwKWFqsUWY0QYzMShXlH9KFSY3rRJA4RAiCk="; + hash = "sha256-euo8j7jt6oUJfZMF3VnbuM4uhibv+eijiXPO4UwZCiU="; }; nativeBuildInputs = [ - jupyter-packaging + hatch-jupyter-builder + hatch-nodejs-version + hatchling + jupyterlab ]; propagatedBuildInputs = [ @@ -37,17 +44,20 @@ buildPythonPackage rec { git nbformat pexpect + traitlets ]; nativeCheckInputs = [ jupyterlab pytest-asyncio + pytest-jupyter pytest-tornasync pytestCheckHook ]; - # All Tests on darwin fail or are skipped due to sandbox - doCheck = !stdenv.isDarwin; + preCheck = '' + export HOME=$TMPDIR + ''; disabledTestPaths = [ "jupyterlab_git/tests/test_handlers.py" @@ -67,6 +77,8 @@ buildPythonPackage rec { "jupyterlab_git" ]; + __darwinAllowLocalNetworking = true; + meta = with lib; { description = "Jupyter lab extension for version control with Git"; homepage = "https://github.com/jupyterlab/jupyterlab-git"; |