diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-05-20 12:38:42 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-05-20 12:38:42 +0000 |
| commit | f4e4dc8ea72bb62021fac69c8c7b1580c3b2434f (patch) | |
| tree | 13c1bead84fd991b9e5d4539bf64d765693630e6 /dev-python/soupsieve/files | |
| parent | 0bb739e46f4201a2cb9f72c5915a046c2927079d (diff) | |
| download | srcux-f4e4dc8ea72bb62021fac69c8c7b1580c3b2434f.tar.gz srcux-f4e4dc8ea72bb62021fac69c8c7b1580c3b2434f.tar.xz srcux-f4e4dc8ea72bb62021fac69c8c7b1580c3b2434f.zip | |
Adding metadata
Diffstat (limited to 'dev-python/soupsieve/files')
| -rw-r--r-- | dev-python/soupsieve/files/soupsieve-2.2.1-lxml-libxml2-tests.patch | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/dev-python/soupsieve/files/soupsieve-2.2.1-lxml-libxml2-tests.patch b/dev-python/soupsieve/files/soupsieve-2.2.1-lxml-libxml2-tests.patch deleted file mode 100644 index a7075fa6fb6d..000000000000 --- a/dev-python/soupsieve/files/soupsieve-2.2.1-lxml-libxml2-tests.patch +++ /dev/null @@ -1,64 +0,0 @@ -https://sources.debian.org/data/main/s/soupsieve/2.2.1-2/debian/patches/libxml2-2.9.11 -https://github.com/facelessuser/soupsieve/issues/220 - -Apply Debian patch to skip tests which expose a lxml bug that's -already being handled elsewhere. - -From: Stefano Rivera <stefanor@debian.org> -Date: Sat, 2 Oct 2021 12:05:17 -0700 -Subject: Mark test_contains_cdata_html tests XFAIL for libxml2 >= 2.9.11 - -libxml2 changed CDATA handling in 2.9.11. -Beautifulsoup supports this change, but lxml upstream has pinned on an -older version so the behaviour change isn't standardised upstream, yet. - -Bug-upstream: https://github.com/facelessuser/soupsieve/issues/220 -Bug-lxml: https://bugs.launchpad.net/lxml/+bug/1928795 -Bug-beautifulsoup: https://bugs.launchpad.net/beautifulsoup/+bug/1930164 -Bug-Debian: https://bugs.debian.org/995459 - -Forwarded: no ---- a/tests/test_extra/test_soup_contains.py -+++ b/tests/test_extra/test_soup_contains.py -@@ -3,6 +3,9 @@ from .. import util - import warnings - import soupsieve as sv - -+import pytest -+from lxml.etree import LIBXML_VERSION -+ - - class TestSoupContains(util.TestCase): - """Test soup-contains selectors.""" -@@ -144,6 +147,9 @@ class TestSoupContains(util.TestCase): - flags=util.HTML - ) - -+ @pytest.mark.xfail(LIBXML_VERSION >= (2, 9, 11), -+ reason='lxml parser changed CDATA handling, see ' -+ 'https://github.com/facelessuser/soupsieve/issues/220') - def test_contains_cdata_html(self): - """Test contains CDATA in HTML5.""" - ---- a/tests/test_extra/test_soup_contains_own.py -+++ b/tests/test_extra/test_soup_contains_own.py -@@ -1,6 +1,9 @@ - """Test contains selectors.""" - from .. import util - -+import pytest -+from lxml.etree import LIBXML_VERSION -+ - - class TestSoupContainsOwn(util.TestCase): - """Test soup-contains-own selectors.""" -@@ -35,6 +38,9 @@ class TestSoupContainsOwn(util.TestCase): - flags=util.HTML - ) - -+ @pytest.mark.xfail(LIBXML_VERSION >= (2, 9, 11), -+ reason='lxml parser changed CDATA handling, see ' -+ 'https://github.com/facelessuser/soupsieve/issues/220') - def test_contains_own_cdata_html(self): - """Test contains CDATA in HTML5.""" - |
