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

commit 50141d6ac5d40d6802eca8de5b3ffb29e6f4ebb6
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Dec 16 14:33:14 2025 +0000

    gnu: python-ipykernel: Update to 7.1.0.
    
    * gnu/packages/jupyter.scm (python-ipykernel): Update to 7.1.0.
    Remove artifacts.
    [arguments] <modules>: Drop them as not required.
    <test-flags>: Skip just one shaky test.
    <phases>: Remove 'relax-a-bit, and 'hide-deprecation-warnings; add
    'fix-pytest-config.
    
    Change-Id: I49512675b1d2f4ab1e74ec02aab92ae6673016b2
---
 gnu/packages/jupyter.scm | 29 +++++++++--------------------
 1 file changed, 9 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/jupyter.scm b/gnu/packages/jupyter.scm
index 34168b6595..8c80b41720 100644
--- a/gnu/packages/jupyter.scm
+++ b/gnu/packages/jupyter.scm
@@ -113,40 +113,29 @@ simulation, statistical modeling, machine learning and 
much more.")
 (define-public python-ipykernel
   (package
     (name "python-ipykernel")
-    (version "6.29.4")
+    (version "7.1.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "ipykernel" version))
        (sha256
-        (base32 "0p5g897pq6k9nr44ihlk4hp5s46zz8ih2xib1715lizrc000fi1x"))))
+        (base32 "1nzhkkfcbvb53q0f40gqwk6qla3ddk3fmivdak1k0n9xaf4gr8sq"))))
     (build-system pyproject-build-system)
     (arguments
      (list
-      #:modules '((guix build pyproject-build-system)
-                  (guix build utils)
-                  (ice-9 match))
+      ;; tests: 191 passed, 17 skipped, 1 deselected, 22 warnings
       #:test-flags
-      ;; XXX: probably not good that this fails
-      '(list "-k" "not test_copy_to_globals" "-Wignore::DeprecationWarning")
+      ;; ImportError: Cannot load backend 'tkagg' which requires the 'tk'
+      ;; interactive framework, as 'headless' is currently running
+      #~(list 
"--deselect=tests/test_matplotlib_eventloops.py::test_matplotlib_gui[tk]")
       #:phases
       #~(modify-phases %standard-phases
-          (add-after 'unpack 'relax-a-bit
+          (add-after 'unpack 'fix-pytest-config
             (lambda _
-              ;; I'm sure nobody will notice.
               (substitute* "pyproject.toml"
-                (("debugpy>=1.6.5") "debugpy>=1.6.0"))))
+                ;; Do not fail on warnings.
+                (("\"error\",") ""))))
           ;; The deprecation warnings break the tests.
-          (add-after 'unpack 'hide-deprecation-warnings
-            (lambda _
-              (substitute* "pyproject.toml"
-                (("\"ignore:There is no current event 
loop:DeprecationWarning\"" m)
-                 (string-append m ",
-\"ignore:the imp module is deprecated:DeprecationWarning\",
-\"ignore:pytest-asyncio detected an unclosed event loop:DeprecationWarning\",
-\"ignore:make_current is deprecated.*:DeprecationWarning\",
-\"ignore:zmq.eventloop.ioloop.*:DeprecationWarning\",
-\"ignore:zmq.tests.BaseZMQTestCase.*:DeprecationWarning\"")))))
            (add-before 'check 'pre-check
              (lambda _
                ;; jupyter-core demands this be set.

Reply via email to