python3{11,12}Packages.jupyter-contrib-nbextensions: drop (#343797)

This commit is contained in:
Sandro 2024-09-23 11:45:01 +02:00 committed by GitHub
commit cf61311d95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 61 deletions

View File

@ -1,59 +0,0 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
ipython-genutils,
jupyter-contrib-core,
jupyter-highlight-selected-word,
jupyter-nbextensions-configurator,
lxml,
nose,
pytestCheckHook,
notebook,
}:
buildPythonPackage rec {
pname = "jupyter-contrib-nbextensions";
version = "0.7.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "ipython-contrib";
repo = "jupyter_contrib_nbextensions";
rev = "refs/tags/${version}";
hash = "sha256-1o8tBfRw6jNcKfNE7xXrQaEhx+KOv7mLOruvuMDtJ1Q=";
};
propagatedBuildInputs = [
ipython-genutils
jupyter-contrib-core
jupyter-highlight-selected-word
jupyter-nbextensions-configurator
lxml
];
nativeCheckInputs = [
nose
pytestCheckHook
];
disabledTestPaths = [
# Thoses tests fail upstream because of nbconvert being too recent
# https://github.com/ipython-contrib/jupyter_contrib_nbextensions/issues/1606
"tests/test_exporters.py"
# Requires to run jupyter which is not feasible here
"tests/test_application.py"
];
pythonImportsCheck = [ "jupyter_contrib_nbextensions" ];
meta = with lib; {
description = "Collection of various notebook extensions for Jupyter";
homepage = "https://github.com/ipython-contrib/jupyter_contrib_nbextensions";
license = licenses.bsd3;
maintainers = with maintainers; [ GaetanLepage ];
# https://github.com/ipython-contrib/jupyter_contrib_nbextensions/issues/1647
broken = versionAtLeast notebook.version "7";
};
}

View File

@ -281,6 +281,7 @@ mapAliases ({
jsonschema_3 = throw "jsonschema 3 is neither the latest version nor needed inside nixpkgs anymore"; # added 2023-06-28
jupyter_client = jupyter-client; # added 2021-10-15
jupyter_console = jupyter-console; # added 2023-07-31
jupyter-contrib-nbextensions = throw "jupyter-contrib-nbextensions has been removed, as it does not work with Jupyter Notebook 7"; # added 2024-09-22
jupyter_core = jupyter-core; # added 2023-01-05
jupyter_server = jupyter-server; # added 2023-01-05
jupyter-server-ydoc = jupyter-collaboration; # added 2023-07-18

View File

@ -6546,8 +6546,6 @@ self: super: with self; {
jupyter-contrib-core = callPackage ../development/python-modules/jupyter-contrib-core { };
jupyter-contrib-nbextensions = callPackage ../development/python-modules/jupyter-contrib-nbextensions { };
jupyter-console = callPackage ../development/python-modules/jupyter-console { };
jupyter-core = callPackage ../development/python-modules/jupyter-core { };