python3Packages.jupyterlab-git: 0.52.0 -> 0.54.0
Adapt to upstream's split package layout and depend on jupyterlab-git-core. The release fixes CVE-2026-54527 and CVE-2026-54528. https://redirect.github.com/jupyterlab/jupyterlab-git/blob/v0.54.0/CHANGELOG.md#0540 Assisted-by: pi coding agent / Mika (OpenAI gpt-5.6-sol)
This commit is contained in:
@@ -1,21 +1,14 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
git,
|
||||
gitMinimal,
|
||||
nodejs,
|
||||
writableTmpDirAsHomeHook,
|
||||
yarn-berry_3,
|
||||
jupyter-server,
|
||||
hatch-jupyter-builder,
|
||||
hatch-nodejs-version,
|
||||
hatchling,
|
||||
jupyterlab,
|
||||
jupyterlab-git-core,
|
||||
jupyter-server,
|
||||
jupytext,
|
||||
nbdime,
|
||||
nbformat,
|
||||
packaging,
|
||||
pexpect,
|
||||
pytest-asyncio,
|
||||
pytest-jupyter,
|
||||
pytest-tornasync,
|
||||
@@ -25,46 +18,28 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyterlab-git";
|
||||
version = "0.52.0";
|
||||
inherit (jupyterlab-git-core) src version;
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jupyterlab";
|
||||
repo = "jupyterlab-git";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-BMzn+134hSYUFrDF+4+Bs81hzSURP9VNX4D9x2UuPMQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
nodejs
|
||||
yarn-berry_3.yarnBerryConfigHook
|
||||
];
|
||||
|
||||
offlineCache = yarn-berry_3.fetchYarnBerryDeps {
|
||||
inherit src;
|
||||
hash = "sha256-3pVc4xz5ilamCg97wdaLQliBHeSr3mPYwhgnz/lvfj0=";
|
||||
};
|
||||
preBuild = ''
|
||||
cd packages/jupyterlab
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
hatch-jupyter-builder
|
||||
hatch-nodejs-version
|
||||
hatchling
|
||||
jupyterlab
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
jupyterlab-git-core
|
||||
jupyter-server
|
||||
nbdime
|
||||
nbformat
|
||||
packaging
|
||||
pexpect
|
||||
traitlets
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ git ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
gitMinimal
|
||||
jupytext
|
||||
pytest-asyncio
|
||||
pytest-jupyter
|
||||
pytest-tornasync
|
||||
@@ -72,15 +47,6 @@ buildPythonPackage rec {
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
"jupyterlab_git/tests/test_handlers.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_Git_get_nbdiff_file"
|
||||
"test_Git_get_nbdiff_dict"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "jupyterlab_git" ];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
Reference in New Issue
Block a user