Revisions of python-beautifulsoup4
buildservice-autocommit
accepted
request 1220019
from
Matej Cepl (mcepl)
(revision 97)
baserev update by copy to link target
Matej Cepl (mcepl)
committed
(revision 96)
- Add soupsieve26-compat.patch to make tests more tolerant with various versions of soupsieve (better solution for lp#2086199).
Matej Cepl (mcepl)
committed
(revision 95)
- Skip the test test_unsupported_pseudoclass (lp#2086199).
buildservice-autocommit
accepted
request 1140116
from
Dirk Mueller (dirkmueller)
(revision 94)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 93)
- update to 4.12.3: * Fixed a regression such that if you set .hidden on a tag, the tag becomes invisible but its contents are still visible. User manipulation of .hidden is not a documented or supported feature, so don't do this, but it wasn't too difficult to keep the old behavior working. * Fixed a case found by Mengyuhan where html.parser giving up on markup would result in an AssertionError instead of a ParserRejectedMarkup exception. * Added the correct stacklevel to instances of the XMLParsedAsHTMLWarning. * Corrected the syntax of the license definition in pyproject.toml. * Corrected a typo in a test that was causing test failures when run against libxml2 2.12.1. - Require cchardet explicitly to avoid charset-normalizer braindamage. - disable tests on SLE_11, fail due to too old python-lxml - remove lxml support (fails unit test) - Use recommended lxml parser instead of native one
Dirk Mueller (dirkmueller)
committed
(revision 92)
Matej Cepl (mcepl)
committed
(revision 91)
- Provide also python-bs4, I can never remember the name.
buildservice-autocommit
accepted
request 1128224
from
Steve Kowalik (StevenK)
(revision 90)
baserev update by copy to link target
Steve Kowalik (StevenK)
committed
(revision 89)
- Require cchardet explicitly to avoid charset-normalizer braindamage.
buildservice-autocommit
accepted
request 1085512
from
Daniel Garcia (dgarcia)
(revision 88)
baserev update by copy to link target
Daniel Garcia (dgarcia)
committed
(revision 87)
- Update to 4.12.2: * Fixed an unhandled exception in BeautifulSoup.decode_contents and methods that call it. [bug=2015545] - 4.12.1: * This version of Beautiful Soup replaces setup.py and setup.cfg with pyproject.toml. Beautiful Soup now uses tox as its test backend and hatch to do builds. * The main functional improvement in this version is a nonrecursive technique for regenerating a tree. This technique is used to avoid situations where, in previous versions, doing something to a very deeply nested tree would overflow the Python interpreter stack: 1. Outputting a tree as a string, e.g. with BeautifulSoup.encode() [bug=1471755] 2. Making copies of trees (copy.copy() and copy.deepcopy() from the Python standard library). [bug=1709837] 3. Pickling a BeautifulSoup object. (Note that pickling a Tag object can still cause an overflow.) * Making a copy of a BeautifulSoup object no longer parses the document again, which should improve performance significantly. * When a BeautifulSoup object is unpickled, Beautiful Soup now tries to associate an appropriate TreeBuilder object with it. * Tag.prettify() will now consistently end prettified markup with a newline. * Added unit tests for fuzz test cases created by third parties. Some of these tests are skipped since they point to problems outside of Beautiful Soup, but this change puts them all in one convenient place. * PageElement now implements the known_xml attribute. (This was technically a bug, but it shouldn't be an issue in normal use.) [bug=2007895] * The demonstrate_parser_differences.py script was still written in
buildservice-autocommit
accepted
request 1084402
from
Matej Cepl (mcepl)
(revision 86)
baserev update by copy to link target
Matej Cepl (mcepl)
accepted
request 1084355
from
Dirk Mueller (dirkmueller)
(revision 85)
- Switch documentation to be within the main package.
buildservice-autocommit
accepted
request 1081983
from
Dirk Mueller (dirkmueller)
(revision 84)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
accepted
request 1081344
from
Dirk Mueller (dirkmueller)
(revision 83)
SR for python stack proposal
Steve Kowalik (StevenK)
committed
(revision 82)
- Update to 4.10.0: * This is the first release of Beautiful Soup to only support Python 3. * The behavior of methods like .get_text() and .strings now differs depending on the type of tag. * NavigableString and its subclasses now implement the get_text() method, as well as the properties .strings and .stripped_strings. * The 'html5' formatter now treats attributes whose values are the empty string as HTML boolean attributes. * The 'replace_with()' method now takes a variable number of arguments, and can be used to replace a single element with a sequence of elements. * Corrected output when the namespace prefix associated with a namespaced attribute is the empty string, as opposed to None. * Performance improvement when processing tags that speeds up overall tree construction by 2%. Patch by Morotti. [bug=1899358] * Corrected the use of special string container classes in cases when a single tag may contain strings with different containers; such as the <template> tag, which may contain both TemplateString objects and Comment objects. * The html.parser tree builder can now handle named entities found in the HTML5 spec in much the same way that the html5lib tree builder does. * Added a second way to pass specify encodings to UnicodeDammit and EncodingDetector, based on the order of precedence defined in the HTML5 spec. * Improve the warning issued when a directory name (as opposed to the name of a regular file) is passed as markup into the BeautifulSoup constructor. - Do not pass the directory to pytest.
buildservice-autocommit
accepted
request 841137
from
Tomáš Chvátal (scarabeus_iv)
(revision 81)
baserev update by copy to link target
Tomáš Chvátal (scarabeus_iv)
accepted
request 840885
from
Arun Persaud (apersaud)
(revision 80)
update to latest version
Dirk Mueller (dirkmueller)
committed
(revision 79)
- update to 4.9.2: * Fixed a bug that caused too many tags to be popped from the tag stack during tree building, when encountering a closing tag that had no matching opening tag. [bug=1880420] * Fixed a bug that inconsistently moved elements over when passing a Tag, rather than a list, into Tag.extend(). [bug=1885710] * Specify the soupsieve dependency in a way that complies with PEP 508. Patch by Mike Nerone. [bug=1893696] * Change the signatures for BeautifulSoup.insert_before and insert_after (which are not implemented) to match PageElement.insert_before and insert_after, quieting warnings in some IDEs. [bug=1897120]
buildservice-autocommit
accepted
request 811097
from
Dirk Mueller (dirkmueller)
(revision 78)
baserev update by copy to link target
Displaying revisions 1 - 20 of 97