Skip to content

build(deps): bump soupsieve from 4.0.1 to 4.1 - #8778

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps soupsieve from 4.0.1 to 4.1.

Release notes

Sourced from soupsieve's releases.

4.1

  • NEW: Soup Sieve is now thread safe, and this is now tested, including on free-threaded Python. This is assuming read only operations on a document. Check out our documentation for more details.
  • FIX: Fix a race where compiling selectors in multiple threads at the same time could fail with a bogus syntax error or silently parse a selector incorrectly.
  • FIX: Fix issue where trailing whitespace and comments can sometimes fail to be consumed properly.
  • FIX: Fix a selector that starts with a comment followed by whitespace, such as /* comment */ div, failing with a syntax error.
  • FIX: Custom selector names should be checked with ASCII only lowercase.
  • FIX: Fix [attr=value], [attr$=value], [attr|=value], and [attr!=value] ignoring a trailing newline in the attribute value, so [type=hidden] no longer matches type="hidden&[#10](https://github.com/facelessuser/soupsieve/issues/10);".
  • FIX: Cache the language, the contenteditable state, the select of an option, and the tree that an element is in, as found from its ancestors, when matching :lang(), :read-write, :read-only, :checked, :default, and :indeterminate to avoid quadratic time on deeply nested documents.
  • FIX: Fix :lang('') not matching every element without any language information, which per the HTML spec has an empty language tag. It missed the first such element checked, or all of them when there was no head.
  • FIX: :lang() no longer matches an element whose language tag is not well-formed BCP 47 syntax, such as -, en-, en_US, or a subtag longer than 8 characters, and a language range that is not well-formed matches nothing. Previously, lang="-" matched :lang(''), and ill-formed tags matched :lang('*').
  • FIX: Fix :lang() ranges that end in a wildcard, such as en-* or *-*, never matching. As RFC 4647 extended filtering specifies, wildcards after the first subtag are ignored, so en-* matches the same as en.
  • FIX: Fix [attr*=value] and [attr$=value] taking time quadratic in the length of the value when it nearly matches a long attribute value, including when matching case insensitive.
Commits
  • f779580 Fix quadratic time with attribute matching
  • 074f5bb Fixes for ill-formed tags and wildcard ranges (#360)
  • cb33de6 Cache ancestor lookups in :lang(), :read-write and form matching (#357)
  • 911819e Update changelog
  • d6b9f5f Fix more comment/white space related issues
  • 21970f4 Make SoupSieve thread safe (#359)
  • 7146233 Fix attribute selectors ignoring a trailing newline in the value (#358)
  • 8338547 Fix regression regarding comment parsing
  • b5fa4d1 Use format strings
  • c5c2179 Custom CSS names should be check for ASCII lower case only
  • 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.0.1 to 4.1.
- [Release notes](https://github.com/facelessuser/soupsieve/releases)
- [Commits](facelessuser/soupsieve@4.0.1...4.1)

---
updated-dependencies:
- dependency-name: soupsieve
  dependency-version: '4.1'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

codecov Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.70%. Comparing base (4ad3e84) to head (c09a174).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8778   +/-   ##
=======================================
  Coverage   75.70%   75.70%           
=======================================
  Files         308      308           
  Lines       32767    32767           
=======================================
  Hits        24806    24806           
  Misses       7961     7961           

☔ 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 75c771d Nov 17, 2026
19 checks passed
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