From 90437f77cf11ad3de91fcf573d14911ec6b2cc66 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Tue, 27 Jan 2026 10:12:12 +0100 Subject: [PATCH] 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 --- 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 8acbfd8bde..1ade9b9b83 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