Skip to content

Update cssselect to 1.3.0 #353

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pyup-bot
Copy link
Collaborator

This PR updates cssselect from 1.0.3 to 1.3.0.

Changelog

1.3.0

-------------

Released on 2025-03-10.

*   Dropped support for Python 3.7-3.8, added support for Python 3.12-3.13 and
 PyPy 3.10.

*   Removed ``_unicode_safe_getattr()``, deprecated in 1.2.0.

*   Added ``pre-commit`` and formatted the code with ``ruff``.

*   Many CI additions and improvements.

1.2.0

-------------

Released on 2022-10-27.

*   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.

1.1.0

-------------

Released on 2019-08-09.

*   Support for the ``:scope`` selector, which allows to access immediate
 children of a selector.

*   Support for the ``|E`` syntax for type selectors without a namespace.

*   A new selector method, ``canonical``, returns the CSS expression of the
 selector, as a string.
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant