15
0

Accepting request 1034377 from home:yarunachalam:branches:devel:languages:python

- 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
This commit is contained in:
2022-11-08 09:36:39 +00:00
committed by Git OBS Bridge
parent 3ccbce2de9
commit 060c35ac85
4 changed files with 27 additions and 6 deletions

View File

@@ -1,3 +1,24 @@
-------------------------------------------------------------------
Mon Nov 7 21:05:46 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- 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.
-------------------------------------------------------------------
Fri Sep 20 08:39:42 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>