Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

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

+20 -8
+20 -8
pkgs/development/python-modules/jupyterlab-git/default.nix
··· 1 1 { lib 2 - , stdenv 3 2 , buildPythonPackage 4 3 , fetchPypi 5 4 , git 6 5 , jupyter-server 7 - , jupyter-packaging 6 + , hatch-jupyter-builder 7 + , hatch-nodejs-version 8 + , hatchling 8 9 , jupyterlab 9 10 , nbdime 10 11 , nbformat 11 12 , pexpect 12 13 , pytest-asyncio 14 + , pytest-jupyter 13 15 , pytest-tornasync 14 16 , pytestCheckHook 15 17 , pythonOlder 18 + , traitlets 16 19 }: 17 20 18 21 buildPythonPackage rec { 19 22 pname = "jupyterlab-git"; 20 - version = "0.42.0"; 23 + version = "0.50.0rc0"; 24 + pyproject = true; 21 25 22 - disabled = pythonOlder "3.6"; 26 + disabled = pythonOlder "3.8"; 23 27 24 28 src = fetchPypi { 25 29 pname = "jupyterlab_git"; 26 30 inherit version; 27 - hash = "sha256-GFnox6KnwKWFqsUWY0QYzMShXlH9KFSY3rRJA4RAiCk="; 31 + hash = "sha256-euo8j7jt6oUJfZMF3VnbuM4uhibv+eijiXPO4UwZCiU="; 28 32 }; 29 33 30 34 nativeBuildInputs = [ 31 - jupyter-packaging 35 + hatch-jupyter-builder 36 + hatch-nodejs-version 37 + hatchling 38 + jupyterlab 32 39 ]; 33 40 34 41 propagatedBuildInputs = [ ··· 37 44 git 38 45 nbformat 39 46 pexpect 47 + traitlets 40 48 ]; 41 49 42 50 nativeCheckInputs = [ 43 51 jupyterlab 44 52 pytest-asyncio 53 + pytest-jupyter 45 54 pytest-tornasync 46 55 pytestCheckHook 47 56 ]; 48 57 49 - # All Tests on darwin fail or are skipped due to sandbox 50 - doCheck = !stdenv.isDarwin; 58 + preCheck = '' 59 + export HOME=$TMPDIR 60 + ''; 51 61 52 62 disabledTestPaths = [ 53 63 "jupyterlab_git/tests/test_handlers.py" ··· 66 76 pythonImportsCheck = [ 67 77 "jupyterlab_git" 68 78 ]; 79 + 80 + __darwinAllowLocalNetworking = true; 69 81 70 82 meta = with lib; { 71 83 description = "Jupyter lab extension for version control with Git";