Skip to content

chore(pip): bump the python group across 1 directory with 2 updates - #112

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python-9170c7caeb
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python-9170c7caeb

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps the python group with 2 updates in the / directory: markdown-it-py and soupsieve.

Updates markdown-it-py from 4.2.0 to 4.3.0

Release notes

Sourced from markdown-it-py's releases.

v4.3.0

This release fixes two quadratic-time parsing paths that let crafted input stall rendering for minutes (security), aligns several parsing rules with CommonMark 0.31.2 and markdown-it 15.0.x, turns parser rules that never advance into a RuntimeError instead of an infinite loop, makes rendering linear on PyPy and free-threaded CPython, and adds support for Python 3.14. Python 3.10 is still supported. If you write plugins or render rules, or edit SyntaxTreeNode trees, please read the upgrade notes at the end.

🔒 Security

  • 👌 Fix quadratic-time inline parsing of long runs of characters that start an inline rule without completing one (such as &, <, ~ or incomplete entities), which let a few hundred kilobytes of input stall rendering for seconds to minutes, in #423, thanks to @​hdimer (#411)
  • 👌 Reject unterminated inline HTML (<!--, <?, <![CDATA[, <!X) in constant time when html is enabled (as in the default commonmark preset), instead of rescanning to the end of the input for every opener, in #428

✨ New

👌 Improved

  • 👌 Raise RuntimeError instead of looping forever when a block or inline rule reports a match without advancing (or moves backwards), or when no block rule matches a line, as markdown-it does, in #444, thanks to @​rupayon123, @​hukkin (#336) and @​inchang-ing (#443); requested by @​acaprino in #441
  • 👌 Fix quadratic-time HTML rendering on PyPy, GraalPy and free-threaded CPython by joining the rendered fragments once, in #458, thanks to @​DicksonWu654
  • 👌 Make StateBase.src a plain attribute, for about 4–11% faster parsing on CPython, in #450, thanks to @​deadstrobe5
  • 👌 Build block line markers with one scan per line instead of one step per character in #449, thanks to @​John-Cusack
  • 👌 Name the Windows end-of-input keys (Ctrl-Z then Enter) in the CLI's interactive prompt and -h text in #463

🐛 Fixed

  • 🐛 Fix HTML blocks of types 1–5 (comments, processing instructions, declarations, CDATA, script/pre/style/textarea) ending at a blank line inside a list item or blockquote, porting markdown-it 14.2.0, in #406, thanks to @​binggao1230; reported by @​Jayman2000 in #377
  • 🐛 Fix HTML block starts per CommonMark 0.31.2: lowercase declarations such as <!doctype html> start a block and interrupt a paragraph, and tag names match case-insensitively in ASCII only, in #440, thanks to @​rupayon123; reported by @​p5ych0 in #437
  • 🐛 Fix code spans rendered as literal backticks after an unclosed link or image label, and count only U+0020 spaces (not tabs or no-break spaces) when deciding whether to strip a code span's padding, porting markdown-it 15.0.1, in #439, thanks to @​SparkUiX; reported by @​felzab in #438
  • 🐛 Trim and split with the CommonMark whitespace set instead of Python's, so U+001C–U+001F and U+0085 are no longer dropped from paragraphs, headings, table cells and fence info strings, and distinct reference labels no longer match each other, in #433, thanks to @​Nexory (#418)
  • 🐛 Preserve IPv6 host brackets (e.g. http://[::1]:8000/) in normalized link and image URLs, porting markdown-it 15.0.1, in #459, thanks to @​Jinyong-Li
  • 🐛 Fix task-list detection consuming a literal [ ]/[x] at the start of an indented code block in a list item in #451, thanks to @​AryanRG
  • 🐛 Fix an IndexError in the html_block and heading rules at the end of the input (a table in a blockquote that ends on >) in #416, thanks to @​saket3395; reported by @​WilcoPancras in #415
  • 🐛 Keep backslash escapes and entities in image alt text (![a \* b](https://github.com/executablebooks/markdown-it-py/blob/HEAD/u) gives alt="a * b"), porting markdown-it 15.0.0, in #446, thanks to @​gyanu2507; reported by @​kdeldycke in #445
  • 🐛 Keep code span text in image alt text, porting markdown-it 15.0.0, in #460, thanks to @​jayhemnani9910
  • 🐛 Keep hard breaks and inline HTML in image alt text in #409, thanks to @​chuenchen309
  • 🐛 Keep edits to the children of inline and image nodes in SyntaxTreeNode.to_tokens() in #453, thanks to @​KennyMcSimpson; edited tokens are copied, so the token stream the tree was built from is left unchanged (#464)
  • 🐛 Fix rule chains staying stale after Ruler.enable, disable or enableOnly raised on an unknown rule name in #457, thanks to @​IlyaKhalafi; reported in #456
  • 🐛 Fix MarkdownIt.enable() and disable() applying a generator of rule names only to the core chain in #447, thanks to @​muneikh
  • 🐛 Fix the CLI's interactive mode joining input lines with an extra newline, which split every line into its own paragraph and broke hard line breaks, in #425; reported by @​jamesquilty in #172
  • 🐛 CLI helpers create a default parser only when none is given in #455, thanks to @​Quinnod345

📚 Documentation

  • 📚 Add a "Third-party renderers" section (mdformat, mdit_plain, MyST-Parser) and document RendererProtocol for writing your own renderer, in #463
  • 📚 Document that MarkdownIt passes itself to renderer_cls, unlike markdown-it's renderer constructor, in #421, thanks to @​user01010111
  • 📚 Clarify that the name given to add_render_rule must match a token type in #432, thanks to @​hikmetba-bit
  • 📚 Fix typos and use HTTPS for the CommonMark spec links in #402, #407 and #408, thanks to @​nikolas, @​maxtaran2010 and @​deeferentleeg

... (truncated)

Changelog

Sourced from markdown-it-py's changelog.

4.3.0 - 2026-11-10

This release fixes two quadratic-time parsing paths that let crafted input stall rendering for minutes (security), aligns several parsing rules with CommonMark 0.31.2 and markdown-it 15.0.x, turns parser rules that never advance into a RuntimeError instead of an infinite loop, makes rendering linear on PyPy and free-threaded CPython, and adds support for Python 3.14. Python 3.10 is still supported. If you write plugins or render rules, or edit SyntaxTreeNode trees, please read the upgrade notes at the end.

🔒 Security

  • 👌 Fix quadratic-time inline parsing of long runs of characters that start an inline rule without completing one (such as &, <, ~ or incomplete entities), which let a few hundred kilobytes of input stall rendering for seconds to minutes, in #423, thanks to @​hdimer (#411)
  • 👌 Reject unterminated inline HTML (<!--, <?, <![CDATA[, <!X) in constant time when html is enabled (as in the default commonmark preset), instead of rescanning to the end of the input for every opener, in #428

✨ New

👌 Improved

  • 👌 Raise RuntimeError instead of looping forever when a block or inline rule reports a match without advancing (or moves backwards), or when no block rule matches a line, as markdown-it does, in #444, thanks to @​rupayon123, @​hukkin (#336) and @​inchang-ing (#443); requested by @​acaprino in #441
  • 👌 Fix quadratic-time HTML rendering on PyPy, GraalPy and free-threaded CPython by joining the rendered fragments once, in #458, thanks to @​DicksonWu654
  • 👌 Make StateBase.src a plain attribute, for about 4–11% faster parsing on CPython, in #450, thanks to @​deadstrobe5
  • 👌 Build block line markers with one scan per line instead of one step per character in #449, thanks to @​John-Cusack
  • 👌 Name the Windows end-of-input keys (Ctrl-Z then Enter) in the CLI's interactive prompt and -h text in #463

🐛 Fixed

  • 🐛 Fix HTML blocks of types 1–5 (comments, processing instructions, declarations, CDATA, script/pre/style/textarea) ending at a blank line inside a list item or blockquote, porting markdown-it 14.2.0, in #406, thanks to @​binggao1230; reported by @​Jayman2000 in #377
  • 🐛 Fix HTML block starts per CommonMark 0.31.2: lowercase declarations such as <!doctype html> start a block and interrupt a paragraph, and tag names match case-insensitively in ASCII only, in #440, thanks to @​rupayon123; reported by @​p5ych0 in #437
  • 🐛 Fix code spans rendered as literal backticks after an unclosed link or image label, and count only U+0020 spaces (not tabs or no-break spaces) when deciding whether to strip a code span's padding, porting markdown-it 15.0.1, in #439, thanks to @​SparkUiX; reported by @​felzab in #438
  • 🐛 Trim and split with the CommonMark whitespace set instead of Python's, so U+001C–U+001F and U+0085 are no longer dropped from paragraphs, headings, table cells and fence info strings, and distinct reference labels no longer match each other, in #433, thanks to @​Nexory (#418)
  • 🐛 Preserve IPv6 host brackets (e.g. http://[::1]:8000/) in normalized link and image URLs, porting markdown-it 15.0.1, in #459, thanks to @​Jinyong-Li
  • 🐛 Fix task-list detection consuming a literal [ ]/[x] at the start of an indented code block in a list item in #451, thanks to @​AryanRG
  • 🐛 Fix an IndexError in the html_block and heading rules at the end of the input (a table in a blockquote that ends on >) in #416, thanks to @​saket3395; reported by @​WilcoPancras in #415
  • 🐛 Keep backslash escapes and entities in image alt text (![a \* b](https://github.com/executablebooks/markdown-it-py/blob/master/u) gives alt="a * b"), porting markdown-it 15.0.0, in #446, thanks to @​gyanu2507; reported by @​kdeldycke in #445
  • 🐛 Keep code span text in image alt text, porting markdown-it 15.0.0, in #460, thanks to @​jayhemnani9910
  • 🐛 Keep hard breaks and inline HTML in image alt text in #409, thanks to @​chuenchen309
  • 🐛 Keep edits to the children of inline and image nodes in SyntaxTreeNode.to_tokens() in #453, thanks to @​KennyMcSimpson; edited tokens are copied, so the token stream the tree was built from is left unchanged (#464)
  • 🐛 Fix rule chains staying stale after Ruler.enable, disable or enableOnly raised on an unknown rule name in #457, thanks to @​IlyaKhalafi; reported in #456
  • 🐛 Fix MarkdownIt.enable() and disable() applying a generator of rule names only to the core chain in #447, thanks to @​muneikh
  • 🐛 Fix the CLI's interactive mode joining input lines with an extra newline, which split every line into its own paragraph and broke hard line breaks, in #425; reported by @​jamesquilty in #172
  • 🐛 CLI helpers create a default parser only when none is given in #455, thanks to @​Quinnod345

📚 Documentation

  • 📚 Add a "Third-party renderers" section (mdformat, mdit_plain, MyST-Parser) and document RendererProtocol for writing your own renderer, in #463
  • 📚 Document that MarkdownIt passes itself to renderer_cls, unlike markdown-it's renderer constructor, in #421, thanks to @​user01010111
  • 📚 Clarify that the name given to add_render_rule must match a token type in #432, thanks to @​hikmetba-bit

... (truncated)

Commits
  • d504583 🚀 RELEASE: v4.3.0 (#466)
  • 9aa1aae 👌 Fix quadratic-time rendering on PyPy and other interpreters (#458)
  • 17b7227 👌 Copy edited tokens in SyntaxTreeNode.to_tokens instead of writing in place ...
  • 2542e66 🐛 Fix HTML block start conditions per CommonMark 0.31.2 (#440)
  • cb36d3a 🐛 FIX: HTML block types 1–5 ending at a blank line inside a container (#406)
  • f5af61f 🐛 FIX: Preserve code spans after unclosed link and image labels (#439)
  • 1c70dce 👌 Make StateBase.src a plain attribute (#450)
  • 2787da1 🐛 Keep code span text in image alt text (#460)
  • 01d077a 🐛 FIX: Keep literal task markers in indented code blocks in list items (#451)
  • 2fcca3a 🐛 Keep backslash escapes and entities in image alt text (#446)
  • Additional commits viewable in compare view

Updates soupsieve from 4.1 to 4.1.1

Release notes

Sourced from soupsieve's releases.

4.1.1

  • FIX: Improve performance of tag name matching, which runs for every element and selector.
  • FIX: Fix nth selectors taking polynomial time when nested inside the of S of other nth selectors, such as :nth-last-child(n of :nth-last-child(n of li)), as each level of nesting multiplied the work by the number of siblings. nth selectors inside :has() with a subsequent-sibling combinator, such as :has(~ :nth-child(n of li)), were also quadratic. Each sibling is now evaluated against an nth selector at most once per parent.
  • FIX: A range input's value is clamped to its minimum and maximum, 0 and 100 by default, so it now matches :out-of-range only when its maximum is less than its minimum, and :in-range otherwise, including without min or max. A range input that is disabled, readonly or in a datalist matches neither.
  • FIX: :in-range and :out-of-range no longer match an input of any type that is disabled, readonly or in a datalist, as it is barred from constraint validation.
  • FIX: :in-range and :out-of-range treat a date, month, week or datetime-local value after 275760-09-13T00:00:00Z as invalid, as browsers do.
  • FIX: :placeholder-shown sanitizes an input's value before checking it, as browsers do, so it matches when the value is only line breaks, only whitespace for url and email, or, for number, not a valid floating-point number or one that overflows a double, such as 1e9999.
  • FIX: Fix :placeholder-shown taking time quadratic in the depth of the document, as it got the text of every element before checking that it is a textarea.
Commits
  • 7d028fd Bump version
  • 0ce8e58 Fix quadratic time in :placeholder-shown (#364)
  • 7b0f637 Fix nth selectors polynomial time cases
  • af2f49b Sanitize the value of an input in :placeholder-shown (#363)
  • e7af79d Fix more inconsistencies with :in-range and :out-of-range
  • 29af965 Fix :in-range and :out-of-range for range inputs (#362)
  • eb8b3a5 Add explicit warning about poor performance so there is no doubt
  • 2d696d2 Match tag names without the get_tag call (#361)
  • See full diff 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 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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the python group with 2 updates in the / directory: [markdown-it-py](https://github.com/executablebooks/markdown-it-py) and [soupsieve](https://github.com/facelessuser/soupsieve).


Updates `markdown-it-py` from 4.2.0 to 4.3.0
- [Release notes](https://github.com/executablebooks/markdown-it-py/releases)
- [Changelog](https://github.com/executablebooks/markdown-it-py/blob/master/CHANGELOG.md)
- [Commits](executablebooks/markdown-it-py@v4.2.0...v4.3.0)

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

---
updated-dependencies:
- dependency-name: markdown-it-py
  dependency-version: 4.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python
- dependency-name: soupsieve
  dependency-version: 4.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Nov 21, 2026
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedsoupsieve@​4.1.199100100100100
Addedmarkdown-it-py@​4.3.0100100100100100

View full report

This branch has not been deployed

No deployments
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.

0 participants