- Update to 1.2.0
* Drop support for Python 2.7, 3.4-3.6, add support for Python 3.7-3.11.
* Add type annotations (PEP 484 and PEP 561).
* More features from the CSS Selectors Level 4:
* The ``:is()`` pseudo-class.
* The ``:where()`` pseudo-class.
* The ``:has()`` pseudo-class, with some limitations.
* Fix parsing ``:scope`` after a comma.
* Add parentheses to fix condition precedence in some cases.
* Private API changes related to the removal of the Python 2 support:
* Remove ``_unicode`` and ``_unichr`` aliases from ``csselect.parser``.
* Remove ``_basestring`` and ``_unicode`` aliases from ``csselect.xpath``.
* Deprecate ``csselect.xpath._unicode_safe_getattr()`` and change it to just
call ``getattr()``.
* Include tests in the PyPI tarball.
* Many CI additions and improvements.
* Improve the test coverage.
OBS-URL: https://build.opensuse.org/request/show/1034377
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssselect?expand=0&rev=22
I'd like to submit a new package python-cssselect, which was previously part
of lxml but became a stand alone package starting with lxml 3.0.
I want to get this into Factory as soon as possible in order to make it
available for 12.3 (it's already pretty late given the feature freeze and
upcoming beta) since Calibre's basic functionality is not working without this
(see bnc#788151 which was fixed with a workaround for 12.2 but Calibre is
broken again for 12.3 where the workaround is gone).
The package is building fine in my home project and installing it makes
Calibre work again. Thanks!
OBS-URL: https://build.opensuse.org/request/show/148308
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cssselect?expand=0&rev=1