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

commit 78409e56e306e0cd1b8a91a90a7a73776326df33
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Jan 27 10:12:12 2026 +0100

    gnu: python-can: Relax requirements.
    
    This relaxation is fine according to
    
https://github.com/hardbyte/python-can/commit/bc248e8aaf96280a574c06e8e7d2778a67f091e3
    
    * gnu/packages/python-xyz.scm (python-can)[arguments]<#:phases>: Add
    phase 'relax-requirements.
    
    Change-Id: I1be72d9a2cada3dc9bb740355bfc2277f8a011ab
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0eda8a7325..fa4e2e5e19 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -6144,7 +6144,14 @@ your Python package version as a calendar version.")
          ;; package for in Guix.
          "--ignore=test/test_interface_canalystii.py"
          ;; These tests fail with "OSError: [Errno 19] No such device".
-         "-k" "not BasicTestUdpMulticastBusIPv")))
+         "-k" "not BasicTestUdpMulticastBusIPv")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'relax-requirements
+            (lambda _
+              (substitute* "pyproject.toml"
+                (("\"wrapt~=.*\"")
+                 "\"wrapt\"")))))))
     (propagated-inputs (list python-packaging python-wrapt))
     (native-inputs
      (list ;; python-canalystii ; Not packed yet

Reply via email to