31 Commits

Author SHA256 Message Date
f202932272 Accepting request 1243180 from devel:languages:python
- 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/request/show/1243180
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parsel?expand=0&rev=14
2025-02-04 18:35:02 +00:00
e79dd6f23a - 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
793b3c6db3 Accepting request 1170436 from devel:languages:python
- update to 1.9.1:
  * Removed the dependency on ``pytest-runner``.
  * Removed the obsolete ``Makefile``.

OBS-URL: https://build.opensuse.org/request/show/1170436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parsel?expand=0&rev=13
2024-04-28 19:49:28 +00:00
8fe80c1d7c - 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
6d135930d8 Accepting request 1158405 from devel:languages:python
- 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/request/show/1158405
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parsel?expand=0&rev=12
2024-03-17 21:14:43 +00:00
482c276a03 - 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
5b1fcf4f38 Accepting request 1134335 from devel:languages:python
- 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/request/show/1134335
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parsel?expand=0&rev=11
2023-12-21 22:38:29 +00:00
9b5930428c - 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
7980021663 Accepting request 1056833 from devel:languages:python
- 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/request/show/1056833
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parsel?expand=0&rev=10
2023-01-08 20:25:37 +00:00
213d5ae6d7 - 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
be3306a33b Accepting request 1030077 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1030077
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parsel?expand=0&rev=9
2022-10-20 09:11:41 +00:00
4a64d7706f 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
8641a95f5f Accepting request 914220 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/914220
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parsel?expand=0&rev=8
2021-08-25 18:58:27 +00:00
fbd8163de0 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
Richard Brown
bdd5360f48 Accepting request 879099 from devel:languages:python
- fix build requires syntax error on expanding multiple python flavors

OBS-URL: https://build.opensuse.org/request/show/879099
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parsel?expand=0&rev=7
2021-03-16 14:44:37 +00:00
0882b7b913 - 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
7423dc6941 Accepting request 795798 from devel:languages:python
- Fix build without python2

OBS-URL: https://build.opensuse.org/request/show/795798
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parsel?expand=0&rev=6
2020-04-21 11:10:19 +00:00
Tomáš Chvátal
3a1577089f - 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
Ludwig Nussel
d67a791876 Accepting request 730059 from devel:languages:python
- 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/request/show/730059
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parsel?expand=0&rev=5
2019-09-13 12:57:47 +00:00
Tomáš Chvátal
ad02cabfff - 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
44a58e97b2 Accepting request 659536 from devel:languages:python
Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659536
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parsel?expand=0&rev=4
2018-12-24 10:40:48 +00:00
31bac69d25 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
857f4f5645 Accepting request 649919 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/649919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parsel?expand=0&rev=3
2018-11-18 22:32:27 +00:00
Tomáš Chvátal
10774f57ec 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
74f91fa3ea Accepting request 593919 from devel:languages:python
- 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/request/show/593919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parsel?expand=0&rev=2
2018-04-19 13:28:31 +00:00
ed1015486a - 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
5c139d5fae Accepting request 559202 from devel:languages:python
new package, dependency of scrapy

OBS-URL: https://build.opensuse.org/request/show/559202
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parsel?expand=0&rev=1
2018-01-10 22:32:53 +00:00
0849be1330 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parsel?expand=0&rev=4 2017-12-21 23:36:20 +00:00
3fb498063e OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parsel?expand=0&rev=3 2017-12-21 23:34:57 +00:00
56cc6cd82d 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
bf89850de9 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