guix_mirror_bot pushed a commit to branch master
in repository guix.

commit a8a93afce3c9324f8a92f7ca9d386ee95edb793b
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Fri Sep 26 22:10:48 2025 +0100

    gnu: python-ndeflib: Fix tests.
    
    * gnu/packages/python-xyz.scm (python-ndeflib)[arguments] <test-flags>:
    Skip 2 test groups.
    [native-inputs]: Remove python-wheel; add python-pytest.
    
    Change-Id: I609f6d9ce7b4f98bae1639769d51f4fa83ac8531
---
 gnu/packages/python-xyz.scm | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4e61b632be..d5bcadd782 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -39410,7 +39410,19 @@ client library.")
        (sha256
         (base32 "122a8prbcj070y3fl82kvxmbciv36hj1h1d448l6zcdrb22q4mhx"))))
     (build-system pyproject-build-system)
-    (native-inputs (list python-setuptools python-wheel))
+    (arguments
+     (list
+      ;; tests: 1571 passed, 37 deselected, 1 warning
+      ;;
+      ;; Two test fail with assertion not equal:
+      ;;
+      ;; test_decode_error[0001-unpack_from requires a buffer of at least 1
+      ;; bytes] - AssertionError
+      ;;
+      ;; test_decode_error[00000101-unpack_from requires a buffer of at least
+      ;; 1 bytes] - AssertionError
+      #:test-flags #~(list "-k" "not test_decode_error")))
+    (native-inputs (list python-pytest python-setuptools))
     (home-page "https://ndeflib.readthedocs.io/";)
     (synopsis "NFC Data Exchange Format decoder and encoder.")
     (description "This package provides a NFC (Near-Field Communication)

Reply via email to