Skip to content

build(deps): bump soupsieve from 4.1.1 to 4.1.2 - #8804

Merged
Jens Hedegaard Nielsen (jenshnielsen) merged 1 commit into
mainfrom
dependabot/pip/soupsieve-4.1.2
Nov 26, 2026
Merged

Jens Hedegaard Nielsen (jenshnielsen) merged 1 commit into
mainfrom
dependabot/pip/soupsieve-4.1.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 26, 2026

Copy link
Copy Markdown
Contributor

Bumps soupsieve from 4.1.1 to 4.1.2.

Release notes

Sourced from soupsieve's releases.

4.1.2

  • FIX: Fix :lang() taking time quadratic in the number of top level elements of a fragment that have an html or head child, such as many documents concatenated and parsed with html.parser, as the content language found in the header of each one was cached in a list that was searched for every new top level element.
  • FIX: Fix :lang() taking time quadratic in the size of the document when many elements share a long language tag, such as one inherited from <html lang>, as the tag was checked and matched again for every element.
  • FIX: Fix :-soup-contains() taking time quadratic in the depth of the document, such as a long list of unclosed <li> parsed with html.parser, as the text of every element, which includes that of all its descendants, was gathered and searched again for every element.
  • FIX: NOCACHE now turns off the caches of the content language in a document's header, of the forms of a document, and of the selected options of a select, so :lang(), :default, :indeterminate and :checked see changes made to the tree during a lazy iteration such as iselect().
  • FIX: Slimmed relation caches so they now take roughly half the memory.
  • FIX: Fix nth selectors with very large An+B values raising an OverflowError when matching, and matching the wrong elements when a value is larger than 2^53, as the position of an element was checked with a float division. A value with more digits than Python will convert to an integer now raises a SelectorSyntaxError instead of a ValueError.
  • FIX: filter() given a list of tags now matches the tags under the same top level element together, sharing the caches that keep matching linear, instead of matching each tag separately, which took time quadratic in the depth of a nested document for any selector. A selector that uses :scope or & still matches each tag separately, as each tag is its own scope.
  • FIX: The ignore option now disallows a pseudo-class however its name is written, as names were compared without resolving CSS escapes, so a name written with an escape, such as :h\61 s(), was not disallowed. Document that each alias of a pseudo-class, such as :contains() for :-soup-contains(), must be listed as well.
Commits
  • 98b3116 Bump version
  • 446e898 Ignore should not match selectors with CSS escapes
  • 8bc0b6f Share caches in filter when tag is under the same top level element
  • 201706a Fix very large nth values raising an overflow error
  • 71ce53b Improve security notice
  • e26b979 Further improve soup contains performance
  • 02bcc73 Remove dead code
  • 16f89a9 Slim relation caches such that they consume approx half the memory
  • bab23ee Update comments with caching conventions
  • eae8fab Provide a fix for :--soup-contains performance and update perf notes
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [soupsieve](https://github.com/facelessuser/soupsieve) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/facelessuser/soupsieve/releases)
- [Commits](facelessuser/soupsieve@4.1.1...4.1.2)

---
updated-dependencies:
- dependency-name: soupsieve
  dependency-version: 4.1.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner November 26, 2026 04:43
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 26, 2026
@codecov

codecov Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.30%. Comparing base (065ec9c) to head (60d3fc0).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8804   +/-   ##
=======================================
  Coverage   78.30%   78.30%           
=======================================
  Files         311      311           
  Lines       33153    33153           
=======================================
  Hits        25960    25960           
  Misses       7193     7193           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Merged via the queue into main with commit b96aee4 Nov 26, 2026
19 checks passed
@dependabot
dependabot Bot deleted the dependabot/pip/soupsieve-4.1.2 branch November 26, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant