From 314107d782ad9191aeaf0d3957f630a340f4ef10 Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Fri, 20 Mar 2026 19:59:14 +0100 Subject: gnu: python-bleach: Fix requirements. Followup to 259643c993c6bba89a66da3b84329dd2e1dc439d. The sanity-check of python-nbclassic fails without this patch. * gnu/packages/python-web.scm (python-bleach): Fix requirements. [arguments]<#:phases> Add 'relax-requirements phase. Merges: https://codeberg.org/guix/guix/pulls/7360 Change-Id: I52da267e6d237479ae5a0c0f125c2624ffafe8fb Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-web.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index af997c06a2e..45b624e9014 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -494,7 +494,15 @@ and JSON. ;; tests: 448 passed, 1 deselected, 3 xfailed #:test-flags #~(list (string-append "--deselect=tests/test_clean.py::" - "test_self_closing_tags_self_close[wbr]")))) + "test_self_closing_tags_self_close[wbr]")) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'relax-requirements + (lambda _ + ;; "tinycss2>=1.1.0,<1.5" + ;; The 'sanity-check of python-nbclassic fails without this. + (substitute* "setup.py" + (("\"tinycss2.*") ""))))))) (native-inputs (list python-pytest python-setuptools)) -- cgit v1.3