Skip to content

Commit

Permalink
Merge pull request #262742 from natsukium/jupyterlab-git/broken
Browse files Browse the repository at this point in the history
python311Packages.jupyterlab-git: 0.42.0 -> 0.50.0rc0
  • Loading branch information
natsukium committed Nov 21, 2023
2 parents 98405dd + 8dcd50a commit 45d7c0e
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions pkgs/development/python-modules/jupyterlab-git/default.nix
Original file line number Diff line number Diff line change
@@ -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 = [
Expand All @@ -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"
Expand All @@ -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";
Expand Down

0 comments on commit 45d7c0e

Please sign in to comment.