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

commit b6b71bb74a4c4929c77458b269ab5fe803e3a564
Author: Nicolas Graves <ngra...@ngraves.fr>
AuthorDate: Tue Feb 25 01:15:22 2025 +0100

    gnu: python-peachpy: Update to 0.2.0-3.349e8f8.
    
    * gnu/packages/python-xyz.scm (python-peachpy): Update to
    0.2.0-3.349e8f8.
    [build-system]: Switch to pyproject-build-system.
    [arguments]: Remove {phases}. Add {test-target} to ignore a failing
    test.
    [native-inputs]: Remove python-nose, python-rednose. Add
    python-pytest, python-wheel.
---
 gnu/packages/python-xyz.scm | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0457c7e991..92ff78c66b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -37025,9 +37025,9 @@ generation, and software testing purposes.")
 
 (define-public python-peachpy
   ;; There is no tag in this repo.
-  (let ((commit "913d74c35a6b1d330e90bfc055208ce5b06b35a0")
+  (let ((commit "349e8f836142b2ed0efeb6bb99b1b715d87202e9")
         (version "0.2.0")                         ;from 'peachpy/__init__.py'
-        (revision "2"))
+        (revision "3"))
     (package
       (name "python-peachpy")
       (version (git-version version revision commit))
@@ -37038,17 +37038,15 @@ generation, and software testing purposes.")
                 (file-name (git-file-name name version))
                 (sha256
                  (base32
-                  "1wnqxspxsacw4556q0b9fbw11nhrkgn6gs8g43jdnpa35f3z9kb6"))
+                  "16pnkghmqjc7pbws0yhyrwlz43d5pffb5c6v2bb4jk0j537gwzbi"))
                 (patches (search-patches "python-peachpy-determinism.patch"))))
-      (build-system python-build-system)
+      (build-system pyproject-build-system)
       (arguments
-       '(#:phases (modify-phases %standard-phases
-                    (replace 'check
-                      (lambda* (#:key tests? #:allow-other-keys)
-                        (when tests?
-                          (invoke "nosetests")))))))
+       ;; The issue is known and the test will probably never be fixed.
+       ;; https://github.com/Maratyszcza/PeachPy/issues/131
+       (list #:test-flags ''("--ignore=tests/arm/test_arm.py")))
       (native-inputs
-       (list python-nose python-rednose python-setuptools))
+       (list python-pytest python-setuptools python-wheel))
       (propagated-inputs
        (list python-six python-opcodes))
       (synopsis "Efficient assembly code generation in Python")

Reply via email to