guix_mirror_bot pushed a commit to branch master
in repository guix.

commit f4c97c7cc2b645344c83202e6a6201fd9561d178
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Jul 22 18:45:44 2025 +0200

    gnu: python-bitstring: Update to 4.3.1.
    
    * gnu/packages/python-xyz.scm (python-bitstring): Update to 4.3.1.
    [build-system]: Switch to pyproject-build-system.
    [arguments]<#:phases>: Remove them.
    <#:test-flags>: Ignore benchmarks.
    [native-inputs]: Add python-gfloat, python-setuptools, python-wheel.
    [propagated-inputs]: Add python-bitarray.
    
    Change-Id: I9f23ac39a2304edecbb55522b2cb82b4621bff8b
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 22 ++++++++--------------
 1 file changed, 8 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index adc60fb018..467a064583 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -35198,27 +35198,21 @@ has been created, and the visibility of the icon can 
be toggled.")
 (define-public python-bitstring
   (package
     (name "python-bitstring")
-    (version "3.1.7")
+    (version "4.3.1")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "bitstring" version))
         (sha256
-         (base32
-          "0jl6192dwrlm5ybkbh7ywmyaymrc3cmz9y07nm7qdli9n9rfpwzx"))))
-    (build-system python-build-system)
+         (base32 "0nm9l77sgyqai8ggnm6j9yvc473g0l8icaj11x66s8ap72fw12x0"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? inputs outputs #:allow-other-keys)
-             (when tests?
-               (add-installed-pythonpath inputs outputs)
-               (with-directory-excursion "test"
-                 (invoke "pytest")))
-             #t)))))
+     (list
+      #:test-flags #~(list "--ignore=tests/test_benchmarks.py")))
     (native-inputs
-     (list python-pytest))
+     (list python-gfloat python-pytest python-setuptools python-wheel))
+    (propagated-inputs
+     (list python-bitarray))
     (home-page "https://github.com/scott-griffiths/bitstring";)
     (synopsis
      "Simple construction, analysis and modification of binary data")

Reply via email to