diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-03-20 11:59:00 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-03-20 14:11:28 +0000 |
| commit | 5f7071e1a52ca641c8a3e07e8afe92e8af87d602 (patch) | |
| tree | 61bab09b24ec7656c9dab3ea9af0d2d2b4405b0e /gnu | |
| parent | 55ac8abfc82cfc93b9c40b4b07daadca3a244ff1 (diff) | |
gnu: python-bleach: Update to 6.3.0.
* gnu/packages/python-xyz.scm (python-bleach): Update to 6.3.0.
[source]: Switch to git-fetch.
[arguments]: <test-flags>: Skip one test.
[propagated-inputs]: Add python-tinycss2.
Change-Id: I1cae5586977a66fff2ee11331aab7c13751f65d7
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5a02bad4865..b479830bacf 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18104,13 +18104,16 @@ systems, as a command line tool, and as a Python library.") (define-public python-bleach (package (name "python-bleach") - (version "6.2.0") + (version "6.3.0") (source (origin - (method url-fetch) - (uri (pypi-uri "bleach" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/mozilla/bleach") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "07wrbzlmd6x63dz7lcdih9c4xkn79inimv6kh3yrk9dq310qjghj")) + (base32 "02abk9ixn010sqpbdsd7nxms0gv4prwv6d3nplb8giq85lpn1kkb")) (snippet #~(begin (use-modules (guix build utils)) @@ -18118,11 +18121,18 @@ systems, as a command line tool, and as a Python library.") (("bleach\\._vendor\\.html5lib") "html5lib")) (delete-file-recursively "bleach/_vendor/html5lib"))))) (build-system pyproject-build-system) + (arguments + (list + ;; tests: 448 passed, 1 deselected, 3 xfailed + #:test-flags + #~(list (string-append "--deselect=tests/test_clean.py::" + "test_self_closing_tags_self_close[wbr]")))) (native-inputs (list python-pytest python-setuptools)) (propagated-inputs (list python-html5lib + python-tinycss2 python-webencodings)) (home-page "https://github.com/mozilla/bleach") (synopsis "Whitelist-based HTML-sanitizing tool") |
