14
0
forked from pool/python-parsel
Commit Graph

15 Commits

Author SHA256 Message Date
017493a7f6 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parsel?expand=0&rev=29
2025-02-04 16:21:20 +00:00
ae82d0b008 - update to 1.9.1:
* Removed the dependency on ``pytest-runner``.
  * Removed the obsolete ``Makefile``.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parsel?expand=0&rev=27
2024-04-27 07:52:33 +00:00
2ba7bf361a - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parsel?expand=0&rev=25
2024-03-16 09:28:20 +00:00
6ea4a22652 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parsel?expand=0&rev=23
2023-12-20 21:54:39 +00:00
4d442dc0b3 - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parsel?expand=0&rev=21
2023-01-07 23:17:41 +00:00
b4c6486063 Accepting request 1026493 from home:pgajdos:python
- added patches
  fix ddb3708b9a
  + python-parsel-drop-python-2.patch

OBS-URL: https://build.opensuse.org/request/show/1026493
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parsel?expand=0&rev=19
2022-10-20 05:30:05 +00:00
50ff002688 Accepting request 914195 from home:glaubitz:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/914195
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parsel?expand=0&rev=18
2021-08-25 11:31:23 +00:00
9e3793dec5 - fix build requires syntax error on expanding multiple python flavors
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parsel?expand=0&rev=16
2021-03-15 08:18:34 +00:00
Tomáš Chvátal
a9539e9153 - Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parsel?expand=0&rev=14
2020-04-20 11:27:39 +00:00
Tomáš Chvátal
bda8f8e49b - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parsel?expand=0&rev=12
2019-09-11 08:28:47 +00:00
8fa21aeeb9 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parsel?expand=0&rev=10
2018-12-04 13:44:54 +00:00
Tomáš Chvátal
f3cdaeddf8 Accepting request 649807 from home:TheBlackCat:branches:devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/649807
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parsel?expand=0&rev=8
2018-11-17 16:05:58 +00:00
c9a717f3b3 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parsel?expand=0&rev=6
2018-04-06 08:40:04 +00:00
634d564fb5 Accepting request 559194 from home:pluskalm:branches:devel:languages:python
add me as maintainer, dependency of scrapy used for internal search

OBS-URL: https://build.opensuse.org/request/show/559194
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parsel?expand=0&rev=2
2017-12-21 23:26:17 +00:00
Thomas Bechtold
33de3229c3 Accepting request 399876 from home:winski:python
Library to extract data from HTML and XML. REQUIREMENT for newer versions of python-Scrapy, so we need this to update the now-very-outdated python-Scrapy to the newest version.

OBS-URL: https://build.opensuse.org/request/show/399876
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parsel?expand=0&rev=1
2016-06-03 06:50:25 +00:00