diff options
| author | Hugo Buddelmeijer <hugo@buddelmeijer.nl> | 2026-03-20 19:59:14 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-03-20 19:55:42 +0000 |
| commit | 314107d782ad9191aeaf0d3957f630a340f4ef10 (patch) | |
| tree | 7543048dbd59c50f434684da06c8a69f85f4d8c7 /gnu | |
| parent | 0c8e1042f684c7f2733ced97c26e660afae13540 (diff) | |
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-web.scm | 10 |
1 files changed, 9 insertions, 1 deletions
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)) |
