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

commit 0891de09aeacc80d90ed71da35919d5cb94b23c4
Author: Hugo Buddelmeijer <[email protected]>
AuthorDate: Fri Oct 23 20:55:01 2026 +0200

    gnu: python-slidge: Fix build with Pillow 13.
    
    * gnu/packages/messaging.scm (python-slidge): Fix build with Pillow 13.
    [arguments]<#:phases>: Add 'relax-requirements phase.
    
    Relates-to: guix/guix!12052
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/messaging.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 6ce1252d67d..a843cf255e1 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -1366,7 +1366,14 @@ basic IRC protocol, CTCP, and DCC connections.")
                                "test_rename_from_contact_with_forbidden_char"
                                "test_unassigned_code_points"
                                "test_control_chars_and_unassigned_code_points")
-                         " and not "))))
+                         " and not "))
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'relax-requirements
+                 (lambda _
+                   (substitute* "pyproject.toml"
+                     ;; Pillow 13: 92b5e8c5efdb2f9b83269bf0f0e048a3936c1ab7
+                     (("\"pillow~=.*\"") "\"pillow\"")))))))
     (propagated-inputs (list python-aiohttp
                              python-alembic
                              python-configargparse

Reply via email to