Merge pull request #294660 from natsukium/jupyter/update

jupyter related packages updates 2024-03-10
This commit is contained in:
OTABI Tomoya 2024-03-21 21:56:22 +09:00 committed by GitHub
commit 9d621372fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 15 additions and 9 deletions

View file

@ -19,9 +19,9 @@
buildPythonPackage rec {
pname = "ipyparallel";
version = "8.7.0";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
@ -33,14 +33,14 @@ buildPythonPackage rec {
#
postPatch = ''
substituteInPlace pyproject.toml \
--replace '"jupyterlab>=3.0.0,==3.*",' ""
--replace '"jupyterlab==4.*",' ""
'';
nativeBuildInputs = [
build-system = [
hatchling
];
propagatedBuildInputs = [
dependencies = [
decorator
entrypoints
ipykernel
@ -64,6 +64,7 @@ buildPythonPackage rec {
meta = with lib;{
description = "Interactive Parallel Computing with IPython";
homepage = "https://ipyparallel.readthedocs.io/";
changelog = "https://github.com/ipython/ipyparallel/blob/${version}/docs/source/changelog.md";
license = licenses.bsd3;
maintainers = with maintainers; [ fridh ];
};

View file

@ -2,13 +2,13 @@
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
, coverage
, ipykernel
, jupyter-client
, nbformat
, pytestCheckHook
, pytest
, six
, glibcLocales
, matplotlib
, sympy
@ -17,9 +17,9 @@
buildPythonPackage rec {
pname = "nbval";
version = "0.11.0";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
@ -30,7 +30,11 @@ buildPythonPackage rec {
glibcLocales
];
propagatedBuildInputs = [
build-system = [
setuptools
];
dependencies = [
coverage
ipykernel
jupyter-client
@ -68,6 +72,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "A py.test plugin to validate Jupyter notebooks";
homepage = "https://github.com/computationalmodelling/nbval";
changelog = "https://github.com/computationalmodelling/nbval/releases/tag/${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};