From efa22fed0128e0eece2a1a890a66e1970da9a4cdfe1ed7ed3bcf0f71d045c82f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 31 Aug 2020 09:15:54 +0000 Subject: [PATCH] - Skip tests that fail with html5lib 1.1 ref the upstream ticket * replace missing ``setuptools`` dependency with ``packaging``. Thank you Benjamin Peterson. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bleach?expand=0&rev=39 --- python-bleach.changes | 7 ++++++- python-bleach.spec | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-bleach.changes b/python-bleach.changes index 935ec6e..3a3c589 100644 --- a/python-bleach.changes +++ b/python-bleach.changes @@ -1,8 +1,13 @@ +------------------------------------------------------------------- +Mon Aug 31 09:15:22 UTC 2020 - Tomáš Chvátal + +- Skip tests that fail with html5lib 1.1 ref the upstream ticket + ------------------------------------------------------------------- Wed May 6 07:12:54 UTC 2020 - Tomáš Chvátal - Update to 3.1.5: - * * replace missing ``setuptools`` dependency with ``packaging``. Thank you Benjamin Peterson. + * replace missing ``setuptools`` dependency with ``packaging``. Thank you Benjamin Peterson. ------------------------------------------------------------------- Wed Apr 1 11:18:24 UTC 2020 - Dirk Mueller diff --git a/python-bleach.spec b/python-bleach.spec index f032243..0fad204 100644 --- a/python-bleach.spec +++ b/python-bleach.spec @@ -67,7 +67,8 @@ rm -rf bleach/_vendor %check # gh#mozilla/bleach#503 -%pytest -k 'not test_uri_value_allowed_protocols' +# https://github.com/mozilla/bleach/issues/543 +%pytest -k 'not (test_uri_value_allowed_protocols or test_bleach_html_parser or test_css_parsing_gauntlet_regex_backtracking)' %files %{python_files} %license LICENSE