WebEdge
WebEdge copied to clipboard
Bump soupsieve from 2.0.1 to 2.4
Bumps soupsieve from 2.0.1 to 2.4.
Release notes
Sourced from soupsieve's releases.
2.4
- NEW: Update to support changes related to
:lang()in the official CSS spec.:lang("")should match unspecified languages, e.g.lang="", but notlang=und.- NEW: 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).- NEW: Formally drop Python 3.6.
- NEW: Formally declare support for Python 3.11.
2.3.2.post1
- FIX: Documentation for installation from source is outdated.
2.3.2
- FIX: Fix some typos in error messages.
2.3.1
- FIX: Ensure attribute selectors match tags that have new lines characters in attributes. (#233)
2.3
- NEW: Officially support Python 3.10.
- NEW: Add static typing.
- NEW:
:has(),:is(), and:where()now use use a forgiving selector list. While not as forgiving as CSS might be, it will forgive such things as empty sets and empty slots due to multiple consecutive commas, leading commas, or trailing commas. Essentially, these pseudo-classes will match all non-empty selectors and ignore empty ones. As the scraping environment is different than a browser environment, it was chosen not to aggressively forgive bad syntax and invalid features to ensure the user is alerted that their program may not perform as expected.- NEW: Add support to output a pretty print format of a compiled
SelectorListfor debug purposes.- FIX: Some small corner cases discovered with static typing.
2.2.1
- FIX: Fix an issue with namespaces when one of the keys is
self.2.2
- NEW:
:linkand:any-linkno longer include<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)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
bs4globally instead of in local functions as it appears there are no adverse affects due to circular imports asbs4does not immediately referencesoupsievefunctions andsoupsievedoes not immediately referencebs4functions. This should give a performance boost to functions that had previously includedbs4locally.
Commits
8305a0fUpdate changelogd08dc3bMerge pull request #260 from facelessuser/chore/lxml-winb4a9fbdRe-enable windows testing of lxml7f73fc6Reduce overhead if passed a compiled object72af948Merge pull request #259 from facelessuser/enhance/has-forgive02ca817:has() should not have any kind of forgiving behavior792d566Fix lint1cc494aMerge pull request #256 from facelessuser/enhance/lang9c02bb8Changes to:lang()as defined in recent CSS spec updatef38a93aMerge pull request #254 from facelessuser/chore/py311- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)