diff mbox series

[meta-python,16/18] python3-soupsieve: Upgrade 4.1.3 -> 4.1.4

Message ID 20261201203145.3954930-16-leon.anavi@konsulko.com
State Under Review
Headers show
Series [meta-python,01/18] python3-astroid: Upgrade 4.3.4 -> 4.4.0 | expand

Commit Message

Leon Anavi Dec. 1, 2026, 8:31 p.m. UTC
Upgrade to release 4.1.4:

- FIX: Names and values from a document, such as tag names,
  attribute names, and the values of dir, type, and
  contenteditable, are no longer held in memory after the document
  is released. They were lowered for comparison through a cache
  shared by every call, which limited the number of strings but not
  their size, so a long running process matching untrusted
  documents could hold many large strings. Names are now cached
  only for the life of a single select(), match(), filter(), or
  closest() call, and values are not cached. A value that is only
  compared to keywords, such as dir="rtl", is not lowered when it
  is longer than any keyword, as it can't match one, so a long
  value adds nothing to the cost of matching.
- FIX: :defined now follows the HTML specification's custom element
  names in HTML documents, as Chrome and Firefox do. Names reserved
  by HTML, such as font-face, are not custom element names and are
  matched, while a hyphenated name with a colon, such as
  prefix:my-element, is one and is no longer matched. When the
  parser records namespaces, as html5lib does, hyphenated SVG and
  MathML elements are matched too, as they can't be custom elements.
- FIX: :defined in XHTML documents now follows the element's
  namespace instead of its prefix, as browsers do. Previously, an
  element in the default namespace was treated as prefixed, so
  custom elements such as <x-foo> were matched. Now only elements
  in the XHTML namespace can be undefined, whatever their prefix.
  Names with an uppercase ASCII letter, and names reserved by HTML,
  such as font-face, are not custom element names and are matched.
- FIX: :root no longer matches an element that has a top level text
  sibling made only of non-ASCII white space, such as a
  non-breaking space, as such text was treated as white space. Only
  HTML white space is ignored, as with :empty.
- FIX: [*|attr] now matches the attribute in any namespace, such as
  xlink:href for [*|href], and not only the attribute without a
  namespace. When an element has several, such as href and
  xlink:href, [*|attr=value] matches if any of them has the value,
  and [*|attr!=value] only if none of them does.
- FIX: Attribute names are only matched without case sensitivity on
  HTML elements in HTML documents, as the HTML specification says
  and Firefox and Safari do. On SVG and MathML elements in an HTML
  document, the name must now match exactly, so [viewbox] no longer
  matches an SVG element's viewBox. A document parsed without
  namespaces, such as with html.parser, only has HTML elements, so
  it is unaffected.
- FIX: Element names are only matched without case sensitivity on
  HTML elements in HTML documents, as the HTML specification says
  and Firefox and Safari do. On SVG and MathML elements in an HTML
  document, the name must now match exactly, so lineargradient no
  longer matches an SVG element's linearGradient. A document parsed
  without namespaces, such as with html.parser, only has HTML
  elements, so it is unaffected.

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

Patch

diff --git a/meta-python/recipes-devtools/python/python3-soupsieve_4.1.3.bb b/meta-python/recipes-devtools/python/python3-soupsieve_4.1.4.bb
similarity index 85%
rename from meta-python/recipes-devtools/python/python3-soupsieve_4.1.3.bb
rename to meta-python/recipes-devtools/python/python3-soupsieve_4.1.4.bb
index ad230bc948..29e92501b0 100644
--- a/meta-python/recipes-devtools/python/python3-soupsieve_4.1.3.bb
+++ b/meta-python/recipes-devtools/python/python3-soupsieve_4.1.4.bb
@@ -4,7 +4,7 @@  HOMEPAGE = "https://github.com/facelessuser/soupsieve"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.md;md5=74851a2f1e5c07496dcb452af6a6bf54"
 
-SRC_URI[sha256sum] = "13f70186c8f40bf8d0ff7bbab09a18fb149600b465269207b5e5b588f55fda08"
+SRC_URI[sha256sum] = "9f12cb9fabef3bbde8eea07539412512960fe2320d67834b3c5be71d9aea522f"
 
 inherit pypi python_hatchling ptest-python-pytest