guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit def3015520f09f24289e29e270ff5676d4ab2ffd
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Dec 16 15:09:26 2025 +0000

    gnu: python-notebook: Fix build.
    
    * gnu/packages/jupyter.scm (python-notebook)[arguments] <test-flags>:
    Skip one test.
    [propagated-inputs]: Swap python-jupyter-client@8 with
    python-jupyter-client@7.
    
    Change-Id: I37b420120395924c524f1936723e2a2c6228761d
---
 gnu/packages/jupyter.scm | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index 6e671b2d17..aa284eeecc 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -314,6 +314,8 @@ the namespace @code{/nbclassic/}.")
 (define-public python-notebook
   (package
     (name "python-notebook")
+    ;; XXX: Newer version requires Jupyterlab, see:
+    ;; <https://codeberg.org/guix/guix/pulls/2073>.
     (version "6.5.7")
     (source (origin
               (method url-fetch)
@@ -324,6 +326,7 @@ the namespace @code{/nbclassic/}.")
     (build-system pyproject-build-system)
     (arguments
      (list
+      ;; tests: 307 passed, 7 skipped, 16 deselected, 9 warnings
       #:test-flags
       '(list "-k" (string-append
                    ;; TODO: This tests fails because nbconvert does not
@@ -335,7 +338,10 @@ the namespace @code{/nbclassic/}.")
                    " and not test_merge_config"
                    " and not test_load_ordered"
                    " and not test_list_running_sock_servers"
-                   " and not test_run")
+                   " and not test_run"
+                   ;; tornado.simple_httpclient.HTTPTimeoutError: Timeout
+                   ;; during request
+                   " and not test_connections")
         ;; These tests require a browser.
         "--ignore=notebook/tests/selenium")
       #:phases
@@ -367,7 +373,7 @@ the namespace @code{/nbclassic/}.")
            python-ipykernel
            python-ipython-genutils
            python-jinja2
-           python-jupyter-client
+           python-jupyter-client-7
            python-jupyter-core
            python-nest-asyncio
            python-nbclassic

Reply via email to