File python-parsel.changes of Package python-parsel
-------------------------------------------------------------------
Tue Feb 4 16:21:06 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 1.10.0:
* Removed support for Python 3.8.
* Added support for Python 3.13.
* Changed the default encoding name from ``"utf8"`` to
``"utf-8"`` everywhere.
-------------------------------------------------------------------
Sat Apr 27 07:51:57 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.9.1:
* Removed the dependency on ``pytest-runner``.
* Removed the obsolete ``Makefile``.
-------------------------------------------------------------------
Sat Mar 16 09:25:22 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.9.0:
* Now requires ``cssselect >= 1.2.0`` (this minimum version was
required since 1.8.0 but that wasn't properly recorded)
* Removed support for Python 3.7
* Added support for Python 3.12 and PyPy 3.10
* Fixed an exception when calling ``__str__`` or `__repr__`` on
some JSON selectors
* Code formatted with ``black``
* CI fixes and improvements
-------------------------------------------------------------------
Wed Dec 20 21:53:12 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.8.1:
* Remove a Sphinx reference from NEWS to fix the PyPI
description
* Add support for JMESPath: you can now create a selector for a
JSON document and call ``Selector.jmespath()``.
* Selectors can now be constructed from ``bytes`` (using the
``body`` and ``encoding`` arguments) instead of ``str``
(using the ``text`` argument), so that there is no internal
conversion from ``str`` to ``bytes`` and the memory
usage is lower.
* Typing improvements
* The ``pkg_resources`` module (which was absent from the
requirements) is no longer used
* New requirements:
* ``jmespath``
* ``typing_extensions`` (on Python 3.7)
-------------------------------------------------------------------
Sat Jan 7 23:13:46 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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 14:31:56 UTC 2022 - pgajdos@suse.com
- added patches
fix https://github.com/scrapy/parsel/commit/ddb3708b9a191ca02bd20e621f43c68cc92f5d6b
+ python-parsel-drop-python-2.patch
-------------------------------------------------------------------
Wed Aug 25 09:43:47 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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 08:18:14 UTC 2021 - Dirk Müller <dmueller@suse.com>
- fix build requires syntax error on expanding multiple python flavors
-------------------------------------------------------------------
Mon Apr 20 11:27:28 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix build without python2
-------------------------------------------------------------------
Wed Sep 11 08:27:22 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- 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 4 12:51:11 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Fri Nov 16 18:55:28 UTC 2018 - Todd R <toddrme2178@gmail.com>
- 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 6 08:38:41 UTC 2018 - mpluskal@suse.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 22:54:25 UTC 2017 - mpluskal@suse.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
-------------------------------------------------------------------
Thu Jun 2 17:42:59 UTC 2016 - jacobwinski@gmail.com
- Initial package build.