diff mbox series

[meta-python,18/24] python3-soupsieve: Upgrade 4.0.1 -> 4.1

Message ID 20261116073532.880420-18-leon.anavi@konsulko.com
State New
Headers show
Series [meta-python,01/24] python3-coverage: Upgrade 7.17.2 -> 7.17.3 | expand

Commit Message

Leon Anavi Nov. 16, 2026, 7:35 a.m. UTC
Upgrade to release 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
".
- 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.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../{python3-soupsieve_4.0.1.bb => python3-soupsieve_4.1.bb}    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-soupsieve_4.0.1.bb => python3-soupsieve_4.1.bb} (85%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-soupsieve_4.0.1.bb b/meta-python/recipes-devtools/python/python3-soupsieve_4.1.bb
similarity index 85%
rename from meta-python/recipes-devtools/python/python3-soupsieve_4.0.1.bb
rename to meta-python/recipes-devtools/python/python3-soupsieve_4.1.bb
index bd7d6abce8..bd35cf8e41 100644
--- a/meta-python/recipes-devtools/python/python3-soupsieve_4.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-soupsieve_4.1.bb
@@ -4,7 +4,7 @@  HOMEPAGE = "https://github.com/facelessuser/soupsieve"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.md;md5=74851a2f1e5c07496dcb452af6a6bf54"
 
-SRC_URI[sha256sum] = "7621e3c5f6b371ed2c5eabaac5de300ac3d66d05e6d7f34783e31b63c4f90c75"
+SRC_URI[sha256sum] = "ca9abf7126667010d8f6e9b39bfc1bc3b23c8aed9bcb0f54a754dde969bb8aab"
 
 inherit pypi python_hatchling ptest-python-pytest