Revisions of python-soupsieve
- update to 2.4.1: * Attribute syntax for case insensitive flag optionally allows a space, it does not require one. * Update to support changes related to `:lang()` in the official CSS spec. `:lang("")` should match unspecified * languages, e.g. `lang=""`, but not `lang=und`. * Only `:is()` and `:where()` should allow forgiving selector lists according to latest CSS (as far as Soup * Sieve supports "forgiving" which is limited to empty selectors). * Formally drop Python 3.6. * Formally declare support for Python 3.11.
- update to 2.3.2.post1: Fix Documentation for installation from source is outdated. Fix some typos in error messages.
- update to 2.3.1: * Ensure attribute selectors match tags that have new lines characters in attributes
- update to 2.3: * Officially support Python 3.10. * Add static typing. * `:has()`, `:is()`, and `:where()` now use use a forgiving selector list. * Add support to output a pretty print format of a compiled `SelectorList` for debug purposes. * Some small corner cases discovered with static typing.
- udpate to 2.2.1: - **FIX**: Fix an issue with namespaces when one of the keys is `self`.
- update to 2.2.0: - **NEW**: `:link` and `:any-link` no longer include `#!html <link>` due to a change in the level 4 selector specification. This actually yields more sane results. - **FIX**: BeautifulSoup, when using `find`, is quite forgiving of odd types that a user may place in an element's attribute value. Soup Sieve will also now be more forgiving and attempt to match these unexpected values in a sane manner by normalizing them before compare. (#212)
- update to 2.1.0: - **NEW**: Officially support Python 3.9. - **NEW**: Drop official support for Python 3.5. - **NEW**: In order to avoid conflicts with future CSS specification changes, non-standard pseudo classes will now start with the `:-soup-` prefix. As a consequence, `:contains()` will now be known as `:-soup-contains()`, though for a time the deprecated form of `:contains()` will still be allowed with a warning that users should migrate over to `:-soup-contains()`. - **NEW**: Added new non-standard pseudo class `:-soup-contains-own()` which operates similar to `:-soup-contains()` except that it only looks at text nodes directly associated with the currently scoped element and not its descendants. - **FIX**: Import `bs4` globally instead of in local functions as it appears there are no adverse affects due to circular imports as `bs4` does not immediately reference `soupsieve` functions and `soupsieve` does not immediately reference `bs4` functions. This should give a performance boost to functions that had previously included `bs4` locally.
- update to 2.0.1: - **FIX**: Remove unused code.
Automatic submission by obs-autosubmit
The 2.0 breaks beautifulsoup itself... - Fix build without python2
- update to 1.9.5: * **FIX**: `:placeholder-shown` should not match if the element has content that overrides the pl aceholder. * **FIX**: `:checked` rule was too strict with `option` elements. The specification for `:checked ` does not require an `option` element to be under a `select` element. * **FIX**: Fix level 4 `:lang()` wildcard match handling with singletons. Implicit wildcard match ing should not match any singleton. Explicit wildcard matching (`*` in the language range: `*-US`) is allowed to match singletons.
- Update to 1.9.2: * FIX: [attr!=value] pattern was mistakenly using :not([attr|=value]) logic instead of :not([attr=value]). * FIX: Remove undocumented _QUIRKS mode flag
- Update to 1.9.2: * FIX: Shortcut last descendant calculation if possible for performance. * FIX: Fix issue where Doctype strings can be mistaken for a normal text node in some cases. * FIX: A top level tag is not a :root tag if it has sibling text nodes or tag nodes. This is an issue that mostly manifests when using html.parser as the parser will allow multiple root nodes.
- Fix test macro expansion
Displaying all 20 revisions