Revisions of python-parsel
- update to 1.9.1: * Removed the dependency on ``pytest-runner``. * Removed the obsolete ``Makefile``.
- 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
- 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) - Initial package build.
- 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)
- fix build requires syntax error on expanding multiple python flavors
- Fix build without python2
- 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.
Remove superfluous devel dependency for noarch package
- 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.
new package, dependency of scrapy
Displaying all 13 revisions