From 060c35ac8505e814fde88c57a853f6006a3aa732ce860adb0f662a3739533801 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 8 Nov 2022 09:36:39 +0000 Subject: [PATCH] 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 --- python-cssselect.changes | 21 +++++++++++++++++++++ python-cssselect.spec | 6 +++--- v1.1.0.tar.gz | 3 --- v1.2.0.tar.gz | 3 +++ 4 files changed, 27 insertions(+), 6 deletions(-) delete mode 100644 v1.1.0.tar.gz create mode 100644 v1.2.0.tar.gz diff --git a/python-cssselect.changes b/python-cssselect.changes index 356dcea..1f8f251 100644 --- a/python-cssselect.changes +++ b/python-cssselect.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Mon Nov 7 21:05:46 UTC 2022 - Yogalakshmi Arunachalam + +- 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 diff --git a/python-cssselect.spec b/python-cssselect.spec index a5153a3..bcbf414 100644 --- a/python-cssselect.spec +++ b/python-cssselect.spec @@ -1,7 +1,7 @@ # -# spec file for package python-cssselect +# spec file # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,7 +26,7 @@ %bcond_with test %endif Name: python-cssselect%{psuffix} -Version: 1.1.0 +Version: 1.2.0 Release: 0 Summary: CSS3 selectors for Python License: BSD-3-Clause diff --git a/v1.1.0.tar.gz b/v1.1.0.tar.gz deleted file mode 100644 index a3b638f..0000000 --- a/v1.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dde8c1d4a2c82de6889a3af1c1adbce1a6f3ec08b07a854d873f3f3da92960af -size 35516 diff --git a/v1.2.0.tar.gz b/v1.2.0.tar.gz new file mode 100644 index 0000000..7760461 --- /dev/null +++ b/v1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a5d17fc420dad4d70ff63a585ad315caf9c5868f750551362b5dbb6e8307c66c +size 40878