python3{11,12}Packages.jupyter-contrib-nbextensions: drop (#343797)
This commit is contained in:
commit
cf61311d95
@ -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";
|
||||
};
|
||||
}
|
@ -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
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user