Changelog for
python310-parsel-1.7.0-22.12.noarch.rpm :
* Sat Jan 07 2023 Dirk Müller
- update to 1.7.0:
* Add PEP 561-style type information
* Support for Python 2.7, 3.5 and 3.6 is removed
* Support for Python 3.9-3.11 is added
* Very large documents (with deep nesting or long tag content) can now be parsed, and ``Selector`` now takes a new argument ``huge_tree`` to disable this
* Support for new features of cssselect 1.2.0 is added
* The ``Selector.remove()`` and ``SelectorList.remove()`` methods are deprecated and replaced with the new ``Selector.drop()`` and ``SelectorList.drop()`` methods which don\'t delete text after the dropped elements when used in the HTML mode.- drop python-parsel-drop-python-2.patch (upstream)
* Mon Oct 17 2022 pgajdosAATTsuse.com- added patches fix https://github.com/scrapy/parsel/commit/ddb3708b9a191ca02bd20e621f43c68cc92f5d6b + python-parsel-drop-python-2.patch
* Wed Aug 25 2021 John Paul Adrian Glaubitz - Update to 1.6.0:
* Python 3.4 is no longer supported
* New `Selector.remove()` and `SelectorList.remove()` methods to remove selected elements from the parsed document tree
* Improvements to error reporting, test coverage and documentation, and code cleanup
* Mon Mar 15 2021 Dirk Müller - fix build requires syntax error on expanding multiple python flavors
* Mon Apr 20 2020 Tomáš Chvátal - Fix build without python2
* Wed Sep 11 2019 Tomáš Chvátal - Update to 1.5.2:
* ``Selector.remove_namespaces`` received a significant performance improvement
* The value of ``data`` within the printable representation of a selector (``repr(selector)``) now ends in ``...`` when truncated, to make the truncation obvious.
* Tue Dec 04 2018 Matej Cepl - Remove superfluous devel dependency for noarch package
* Fri Nov 16 2018 Todd R - Update to version 1.5.1 (2018-10-25)
* ``has-class`` XPath function handles newlines and other separators in class names properly;
* fixed parsing of HTML documents with null bytes;
* documentation improvements;
* Python 3.7 tests are run on CI; other test improvements.- Update to version 1.5.0 (2018-07-04)
* New ``Selector.attrib`` and ``SelectorList.attrib`` properties which make it easier to get attributes of HTML elements.
* CSS selectors became faster: compilation results are cached (LRU cache is used for ``css2xpath``), so there is less overhead when the same CSS expression is used several times.
* ``.get()`` and ``.getall()`` selector methods are documented and recommended over ``.extract_first()`` and ``.extract()``.
* Various documentation tweaks and improvements.
* Fri Apr 06 2018 mpluskalAATTsuse.com- Update to version 1.4.0:
* has-class XPath extension function;
* parsel.xpathfuncs.set_xpathfunc is a simplified way to register XPath extensions;
* Selector.remove_namespaces now removes namespace declarations;
* Python 3.3 support is dropped;
* make htmlview command for easier Parsel docs development.
* Thu Dec 21 2017 mpluskalAATTsuse.com- Update to version 1.2.0:
* Add get() and getall() methods as aliases for extract_first and extract respectively
* Add default value parameter to SelectorList.re_first method
* Add Selector.re_first method
* Bug fix: detect None result from lxml parsing and fallback with an empty document
* Rearrange XML/HTML examples in the selectors usage docs- Convert to singlespec