GNU bug report logs - #76416
[PATCH python-team 0/2] Minor updates

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Wed, 19 Feb 2025 16:21:01 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 76416 in the body.
You can then email your comments to 76416 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#76416; Package guix-patches. (Wed, 19 Feb 2025 16:21:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Graves <ngraves <at> ngraves.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 19 Feb 2025 16:21:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: guix-patches <at> gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>, sharlatanus <at> gmail.com
Subject: [PATCH python-team 0/2] Minor updates
Date: Wed, 19 Feb 2025 17:17:39 +0100
I was in the process of updating 70858, stumbled on these on the way.

Nicolas Graves (2):
  gnu: python-dill: Update to 0.3.9.
  gnu: python-multiprocess: Update to 0.70.17.

 gnu/packages/python-xyz.scm | 63 ++++++++++++++++++++-----------------
 1 file changed, 34 insertions(+), 29 deletions(-)

-- 
2.48.1





Information forwarded to guix-patches <at> gnu.org:
bug#76416; Package guix-patches. (Wed, 19 Feb 2025 16:25:01 GMT) Full text and rfc822 format available.

Message #8 received at 76416 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 76416 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>, sharlatanus <at> gmail.com
Subject: [PATCH python-team 1/2] gnu: python-dill: Update to 0.3.9.
Date: Wed, 19 Feb 2025 17:23:46 +0100
* gnu/packages/python-xyz.scm (python-dill): Update to 0.3.9.
[arguments]{phases}: Rewrite using gexp. Adapt 'check phase.
[native-inputs]: Remove python-nose.
---
 gnu/packages/python-xyz.scm | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 21107b6607..b25140896a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29924,24 +29924,25 @@ (define-public python-anndata
 (define-public python-dill
   (package
     (name "python-dill")
-    (version "0.3.6")
+    (version "0.3.9")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "dill" version))
        (sha256
-        (base32 "0wr37zwyiprrv29jcc1hl5cla72faiwfs0mhvbxxhmkqd3rmbnz5"))))
+        (base32 "0b2inivjahjlph54a70x6wi3pax4qsgclhlw0blbz37nvmyjdal1"))))
     (build-system pyproject-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (with-directory-excursion "/tmp"
-                 (invoke "nosetests" "-v"))))))))
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   (replace 'check
+                     (lambda* (#:key tests? #:allow-other-keys)
+                       (if tests?
+                           ;; Extracted from tox.ini
+                           (invoke "python" "dill/tests/__main__.py")
+                           (format #t "test suite not run~%")))))))
     (native-inputs
-     (list python-nose python-setuptools python-wheel))
+     (list python-setuptools python-wheel))
     (home-page "https://pypi.org/project/dill/")
     (synopsis "Serialize all of Python")
     (description "Dill extends Python's @code{pickle} module for serializing
-- 
2.48.1





Information forwarded to guix-patches <at> gnu.org:
bug#76416; Package guix-patches. (Wed, 19 Feb 2025 16:25:02 GMT) Full text and rfc822 format available.

Message #11 received at 76416 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 76416 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>, sharlatanus <at> gmail.com
Subject: [PATCH python-team 2/2] gnu: python-multiprocess: Update to 0.70.17.
Date: Wed, 19 Feb 2025 17:23:47 +0100
* gnu/packages/python-xyz.scm (python-multiprocess): Update to 0.70.17.
[arguments]{phases}: Use gexps. Remove phase
'disable-broken-tests. Improve phase 'check.
---
 gnu/packages/python-xyz.scm | 42 ++++++++++++++++++++-----------------
 1 file changed, 23 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b25140896a..f738b2b00c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29959,39 +29959,43 @@ (define-public python-dill
 (define-public python-multiprocess
   (package
     (name "python-multiprocess")
-    (version "0.70.14")
+    (version "0.70.17")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "multiprocess" version))
        (sha256
         (base32
-         "0splzd9w9yi42vl7b6mm99vb82jp2adhdrizw1xd4q125z0szp9y"))))
+         "0ypm9yj1ng1s96hk2iwll190dkpc2j5zras8kay9x00n6hdg3qja"))))
     (build-system pyproject-build-system)
     (arguments
      (list
       #:phases
-      '(modify-phases %standard-phases
-         (add-after 'unpack 'disable-broken-tests
-           (lambda _
-             ;; The "wait_result" and "shared_memory..." tests are broken as
-             ;; there is no keyboard interrupt.
-             ;;
-             ;; The "preload_resources" test fails as it cannot find
-             ;; mp_preload.py.
-             (substitute* "py3.10/multiprocess/tests/__init__.py"
-               (("^(.*)def test_(\
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'disable-broken-tests
+            (lambda* (#:key inputs #:allow-other-keys)
+              ;; The "wait_result" and "shared_memory..." tests are broken as
+              ;; there is no keyboard interrupt.
+              ;;
+              ;; The "preload_resources" test fails as it cannot find
+              ;; mp_preload.py.
+              (substitute*
+                  (string-append "py" (python-version
+                                       (assoc-ref inputs "python"))
+                                 "/multiprocess/tests/__init__.py")
+                (("^(.*)def test_(\
 wait_result|\
 shared_memory_SharedMemoryServer_ignores_sigint|\
 preload_resources\
 )" line indent)
-                (string-append indent
-                               "@unittest.skip(\"Disabled by Guix\")\n"
-                               line)))))
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (invoke "python" "-m" "multiprocess.tests")))))))
+                 (string-append indent
+                                "@unittest.skip(\"Disabled by Guix\")\n"
+                                line)))))
+          (replace 'check
+            (lambda* (#:key tests? #:allow-other-keys)
+              (if tests?
+                  (invoke "python" "-m" "multiprocess.tests")
+                  (format #t "test suite not run~%")))))))
     (propagated-inputs
      (list python-dill))
     (native-inputs (list python-setuptools python-wheel))
-- 
2.48.1





Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Mon, 24 Feb 2025 23:56:02 GMT) Full text and rfc822 format available.

Notification sent to Nicolas Graves <ngraves <at> ngraves.fr>:
bug acknowledged by developer. (Mon, 24 Feb 2025 23:56:02 GMT) Full text and rfc822 format available.

Message #16 received at 76416-done <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 76416-done <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH python-team 0/2] Minor updates
Date: Mon, 24 Feb 2025 23:55:25 +0000
[Message part 1 (text/plain, inline)]
Hi,

Pushed 2 patches to python-team

8d9b9f073ac * python-team origin/python-team gnu: python-multiprocess: Update to 0.70.17.
5e1642360b8 * gnu: python-dill: Update to 0.3.9.

---
Oleg
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 25 Mar 2025 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 87 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.