Merge pull request #282199 from natsukium/jupyter/update

jupyter related packages updates 2024-01-20
This commit is contained in:
OTABI Tomoya 2024-02-03 14:02:23 +09:00 committed by GitHub
commit 8f2659f142
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 24 additions and 36 deletions

View File

@ -8,7 +8,7 @@
let
pname = "comm";
version = "0.2.0";
version = "0.2.1";
in
buildPythonPackage {
inherit pname version;
@ -18,7 +18,7 @@ buildPythonPackage {
owner = "ipython";
repo = "comm";
rev = "refs/tags/v${version}";
hash = "sha256-bErZNTm0spO0A/Lc8kq5u7sB0FMXm/WMWtFbCNGJVXE=";
hash = "sha256-iyO3q9E2lYU1rMYTnsa+ZJYh+Hq72LEvE9ynebFIBUk=";
};
nativeBuildInputs = [

View File

@ -22,14 +22,14 @@
buildPythonPackage rec {
pname = "ipykernel";
version = "6.28.0";
version = "6.29.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-acEUA9Jt5p3wIiWRb5FrN+pLmvQX2gqMgn+EMo2I5fM=";
hash = "sha256-td0wE8q3szDfcSiRyWzRq4aMJ6cVnmBvdiAV6b+M6z8=";
};
# debugpy is optional, see https://github.com/ipython/ipykernel/pull/767

View File

@ -1,32 +1,29 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchPypi
, pythonOlder
, setuptools
, ipython
, ipython-genutils
, pandas
, prettytable
, pytest
, sqlalchemy
, sqlparse
}:
buildPythonPackage rec {
pname = "ipython-sql";
version = "0.4.0";
format = "setuptools";
version = "0.5.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "catherinedevlin";
repo = "ipython-sql";
rev = "117764caf099d80100ed4b09fc004b55eed6f121";
hash = "sha256-ScQihsvRSnC7VIgy8Tzi1z4x6KIZo0SAeLPvHAVdrfA=";
src = fetchPypi {
inherit pname version;
hash = "sha256-PbPOf5qV369Dh2+oCxa9u5oE3guhIELKsT6fWW/P/b4=";
};
postPatch = ''
substituteInPlace setup.py --replace 'prettytable<1' prettytable
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
ipython
@ -36,17 +33,8 @@ buildPythonPackage rec {
sqlparse
];
nativeCheckInputs = [ ipython pandas pytest ];
checkPhase = ''
runHook preCheck
# running with ipython is required because the tests use objects available
# only inside of ipython, for example the global `get_ipython()` function
ipython -c 'import pytest; pytest.main()'
runHook postCheck
'';
# pypi tarball has no tests
doCheck = false;
pythonImportsCheck = [ "sql" ];

View File

@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "jupyter-lsp";
version = "2.2.1";
version = "2.2.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-sX+rbXD+g8iJawz/WSN2QAOCR8GWBWtDaEoJArap4Ps=";
hash = "sha256-JW0kYgVCrku6BKUPwfb/4ggJOgfY5pf+oKjRuMobfls=";
};
nativeBuildInputs = [

View File

@ -34,14 +34,14 @@
buildPythonPackage rec {
pname = "jupyter-server";
version = "2.12.4";
version = "2.12.5";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "jupyter_server";
inherit version;
hash = "sha256-QfSh5rkSzCSnxsaUhRs309hBKxgPQ9cjFf5CLLK4XMI=";
hash = "sha256-DttibJS6oigJvhMj+XcM8cAKlSsXCXWS5A0D5qOVFok=";
};
nativeBuildInputs = [

View File

@ -32,14 +32,14 @@ let
};
in buildPythonPackage rec {
pname = "nbconvert";
version = "7.14.1";
version = "7.14.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-IMuhDgRI3Hazvr/hrfkjZj47mDONr3e5e0JRHvWohhg=";
hash = "sha256-p/iAj9TggkMWc6xThAAhjdRe/QdvvrB8xuWqWjpOlJ4=";
};
# Add $out/share/jupyter to the list of paths that are used to search for

View File

@ -16,14 +16,14 @@
buildPythonPackage rec {
pname = "notebook";
version = "7.0.6";
version = "7.0.7";
disabled = pythonOlder "3.8";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-7GETsGUpAZ9/KHgZrwbJeiuvepWsIaj24yGSiY6fmlg=";
hash = "sha256-O8/wDBezrBQu9fQ21QY32TaydM+gtB9qwBdTY96bTgk=";
};
postPatch = ''