Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump markdown-it-py from 2.2.0 to 3.0.0 #126

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 12, 2023

Bumps markdown-it-py from 2.2.0 to 3.0.0.

Release notes

Sourced from markdown-it-py's releases.

v3.0.0 Release

⚠️ This release contains some minor breaking changes in the internal API and improvements to the parsing strictness.

Full Changelog: executablebooks/markdown-it-py@v2.2.0...v3.0.0

⬆️ UPGRADE: Drop support for Python 3.7

Also add testing for Python 3.11

⬆️ UPGRADE: Update from upstream markdown-it 12.2.0 to 13.0.0

A key change is the addition of a new Token type, text_special, which is used to represent HTML entities and backslash escaped characters. This ensures that (core) typographic transformation rules are not incorrectly applied to these texts. The final core rule is now the new text_join rule, which joins adjacent text/text_special tokens, and so no text_special tokens should be present in the final token stream. Any custom typographic rules should be inserted before text_join.

A new linkify rule has also been added to the inline chain, which will linkify full URLs (e.g. https://example.com), and fixes collision of emphasis and linkifier (so http://example.org/foo._bar_-_baz is now a single link, not emphasized). Emails and fuzzy links are not affected by this.

  • ♻️ Refactor backslash escape logic, add text_special #276
  • ♻️ Parse entities to text_special token #280
  • ♻️ Refactor: Add linkifier rule to inline chain for full links #279
  • ‼️ Remove (p) => § replacement in typographer #281
  • ‼️ Remove unused silent arg in ParserBlock.tokenize #284
  • 🐛 FIX: numeric character reference passing #272
  • 🐛 Fix: tab preventing paragraph continuation in lists #274
  • 👌 Improve nested emphasis parsing #273
  • 👌 fix possible ReDOS in newline rule #275
  • 👌 Improve performance of skipSpaces/skipChars #271
  • 👌 Show text of text_special in tree.pretty #282

♻️ REFACTOR: Replace most character code use with strings

The use of StateBase.srcCharCode is deprecated (with backward-compatibility), and all core uses are replaced by StateBase.src.

Conversion of source string characters to an integer representing the Unicode character is prevalent in the upstream JavaScript implementation, to improve performance. However, it is unnecessary in Python and leads to harder to read code and performance deprecations (during the conversion in the StateBase initialisation).

See #270, thanks to @​hukkinj1.

♻️ Centralise indented code block tests

For CommonMark, the presence of indented code blocks prevent any other block element from having an indent of greater than 4 spaces. Certain Markdown flavors and derivatives, such as mdx and djot, disable these code blocks though, since it is more common to use code fences and/or arbitrary indenting is desirable. Previously, disabling code blocks did not remove the indent limitation, since most block elements had the 3 space limitation hard-coded. This change centralised the logic of applying this limitation (in StateBlock.is_code_block), and only applies it when indented code blocks are enabled.

... (truncated)

Changelog

Sourced from markdown-it-py's changelog.

3.0.0 - 2023-06-03

⚠️ This release contains some minor breaking changes in the internal API and improvements to the parsing strictness.

Full Changelog: executablebooks/markdown-it-py@v2.2.0...v3.0.0

⬆️ UPGRADE: Drop support for Python 3.7

Also add testing for Python 3.11

Commits
  • bee6d19 🚀 RELEASE: v3.0.0 (#286)
  • e146728 📚 Update docs (#285)
  • 4c3a34d ‼️ Remove unused silent arg in ParserBlock.tokenize (#284)
  • 90b367d 🔧 Add typing of rule functions (#283)
  • 64965cf 👌 Show text of text_special in tree.pretty (#282)
  • dd51f62 ‼️ Remove (p) => § replacement in typographer (#281)
  • d5b3874 ♻️ Parse entities to text_special token (#280)
  • ea27cc8 ♻️ Refactor: Add linkifier rule to inline chain for full links (#279)
  • ba96f34 ♻️ Refactor backslash escape logic (#276)
  • 500e69e 👌 fix possible ReDOS in newline rule (#275)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 12, 2023
Bumps [markdown-it-py](https://github.com/executablebooks/markdown-it-py) from 2.2.0 to 3.0.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@v2.2.0...v3.0.0)

---
updated-dependencies:
- dependency-name: markdown-it-py
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/dependabot-updates/markdown-it-py-3.0.0 branch from 6b76924 to f8e6ce4 Compare June 13, 2023 03:07
@gignsky gignsky merged commit f467916 into dependabot-updates Jun 13, 2023
@gignsky gignsky deleted the dependabot/pip/dependabot-updates/markdown-it-py-3.0.0 branch June 13, 2023 03:08
gignsky added a commit that referenced this pull request Jun 13, 2023
Bumps [resolvelib](https://github.com/sarugaku/resolvelib) from 0.8.1 to
1.0.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/sarugaku/resolvelib/blob/main/CHANGELOG.rst">resolvelib's
changelog</a>.</em></p>
<blockquote>
<h1>1.0.1 (2023-03-09)</h1>
<h2>Bug Fixes</h2>
<ul>
<li>Fix calls to opaque objects and use provider interface calls
instead. <code>[#126](sarugaku/resolvelib#126)
&lt;https://github.com/sarugaku/resolvelib/issues/126&gt;</code>_</li>
</ul>
<h1>1.0.0 (2023-03-08)</h1>
<h2>Features</h2>
<ul>
<li>Implement backjumping to significantly speed up the resolution
process by skipping over irrelevant parts of the resolution search
space. <code>[#113](sarugaku/resolvelib#113)
&lt;https://github.com/sarugaku/resolvelib/issues/113&gt;</code>_</li>
</ul>
<h1>0.9.0 (2022-11-17)</h1>
<h2>Features</h2>
<ul>
<li>A new reporter hook <code>rejecting_candidate</code> is added,
replacing <code>backtracking</code>.
The hook is called every time the resolver rejects a conflicting
candidate before
trying out the next one in line.
<code>[#101](sarugaku/resolvelib#101)
&lt;https://github.com/sarugaku/resolvelib/issues/101&gt;</code>_</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li>Some valid states that were previously rejected are now accepted.
This affects
states where multiple candidates for the same dependency conflict with
each
other. The <code>information</code> argument passed to
<code>AbstractProvider.get_preference</code> may now contain empty
iterators. This has
always been allowed by the method definition but it was previously not
possible
in practice.
<code>[#91](sarugaku/resolvelib#91)
&lt;https://github.com/sarugaku/resolvelib/issues/91&gt;</code>_</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/sarugaku/resolvelib/commit/c9ef371ad96e698bf3e0bb09acc682bd43e39bd7"><code>c9ef371</code></a>
Release 1.0.1</li>
<li><a
href="https://github.com/sarugaku/resolvelib/commit/fb97e4c71fe520ae6d1704b7be8bd742430cd6e6"><code>fb97e4c</code></a>
Add missing news fragment for patch release</li>
<li><a
href="https://github.com/sarugaku/resolvelib/commit/34bb1a7474e6a45103eeb08d9bbfd1a48e1b1cd3"><code>34bb1a7</code></a>
Merge pull request <a
href="https://redirect.github.com/sarugaku/resolvelib/issues/127">#127</a>
from sarugaku/avoid-intermediate-set</li>
<li><a
href="https://github.com/sarugaku/resolvelib/commit/409bcf753074ba5b03ffd259511bf12b5d181fde"><code>409bcf7</code></a>
Use itertools.chain to avoid intermediate set</li>
<li><a
href="https://github.com/sarugaku/resolvelib/commit/e8fecf776aafab9104eb0d101c4de08ce3c37eaf"><code>e8fecf7</code></a>
Merge pull request <a
href="https://redirect.github.com/sarugaku/resolvelib/issues/126">#126</a>
from sarugaku/fix-</li>
<li><a
href="https://github.com/sarugaku/resolvelib/commit/5ede4c4bd205e5c61d339ba957deb44c4f5400f9"><code>5ede4c4</code></a>
use set comprehension</li>
<li><a
href="https://github.com/sarugaku/resolvelib/commit/7e8adca961b96c159d3391049e6a6a37e25ed525"><code>7e8adca</code></a>
fix: use the protocol method instead of .name attribute</li>
<li><a
href="https://github.com/sarugaku/resolvelib/commit/02fb73619d536b14b621ecddb98ad24ccd6093d2"><code>02fb736</code></a>
Merge pull request <a
href="https://redirect.github.com/sarugaku/resolvelib/issues/125">#125</a>
from sarugaku/release/1.0</li>
<li><a
href="https://github.com/sarugaku/resolvelib/commit/69ae3253545a1da31a0096686693eed5c2dee08c"><code>69ae325</code></a>
Update release process</li>
<li><a
href="https://github.com/sarugaku/resolvelib/commit/40c867a2b7d12e3736ccf6c621a44a1b0dbefbc7"><code>40c867a</code></a>
Prebump to 1.0.1.dev0</li>
<li>Additional commits viewable in <a
href="https://github.com/sarugaku/resolvelib/compare/0.8.1...1.0.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=resolvelib&package-manager=pip&previous-version=0.8.1&new-version=1.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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)


</details>> **Note**
> Automatic rebases have been disabled on this pull request as it has
been open for over 30 days.
gignsky added a commit that referenced this pull request Jun 13, 2023
Bumps [resolvelib](https://github.com/sarugaku/resolvelib) from 0.8.1 to
1.0.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a

href="https://github.com/sarugaku/resolvelib/blob/main/CHANGELOG.rst">resolvelib's
changelog</a>.</em></p>
<blockquote>
<h1>1.0.1 (2023-03-09)</h1>
<h2>Bug Fixes</h2>
<ul>
<li>Fix calls to opaque objects and use provider interface calls
instead. <code>[#126](sarugaku/resolvelib#126)
&lt;https://github.com/sarugaku/resolvelib/issues/126&gt;</code>_</li>
</ul>
<h1>1.0.0 (2023-03-08)</h1>
<h2>Features</h2>
<ul>
<li>Implement backjumping to significantly speed up the resolution
process by skipping over irrelevant parts of the resolution search
space. <code>[#113](sarugaku/resolvelib#113)
&lt;https://github.com/sarugaku/resolvelib/issues/113&gt;</code>_</li>
</ul>
<h1>0.9.0 (2022-11-17)</h1>
<h2>Features</h2>
<ul>
<li>A new reporter hook <code>rejecting_candidate</code> is added,
replacing <code>backtracking</code>.
The hook is called every time the resolver rejects a conflicting
candidate before
trying out the next one in line.
<code>[#101](sarugaku/resolvelib#101)
&lt;https://github.com/sarugaku/resolvelib/issues/101&gt;</code>_</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li>Some valid states that were previously rejected are now accepted.
This affects
states where multiple candidates for the same dependency conflict with
each
other. The <code>information</code> argument passed to
<code>AbstractProvider.get_preference</code> may now contain empty
iterators. This has
always been allowed by the method definition but it was previously not
possible
in practice.
<code>[#91](sarugaku/resolvelib#91)
&lt;https://github.com/sarugaku/resolvelib/issues/91&gt;</code>_</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a

href="https://github.com/sarugaku/resolvelib/commit/c9ef371ad96e698bf3e0bb09acc682bd43e39bd7"><code>c9ef371</code></a>
Release 1.0.1</li>
<li><a

href="https://github.com/sarugaku/resolvelib/commit/fb97e4c71fe520ae6d1704b7be8bd742430cd6e6"><code>fb97e4c</code></a>
Add missing news fragment for patch release</li>
<li><a

href="https://github.com/sarugaku/resolvelib/commit/34bb1a7474e6a45103eeb08d9bbfd1a48e1b1cd3"><code>34bb1a7</code></a>
Merge pull request <a

href="https://redirect.github.com/sarugaku/resolvelib/issues/127">#127</a>
from sarugaku/avoid-intermediate-set</li>
<li><a

href="https://github.com/sarugaku/resolvelib/commit/409bcf753074ba5b03ffd259511bf12b5d181fde"><code>409bcf7</code></a>
Use itertools.chain to avoid intermediate set</li>
<li><a

href="https://github.com/sarugaku/resolvelib/commit/e8fecf776aafab9104eb0d101c4de08ce3c37eaf"><code>e8fecf7</code></a>
Merge pull request <a

href="https://redirect.github.com/sarugaku/resolvelib/issues/126">#126</a>
from sarugaku/fix-</li>
<li><a

href="https://github.com/sarugaku/resolvelib/commit/5ede4c4bd205e5c61d339ba957deb44c4f5400f9"><code>5ede4c4</code></a>
use set comprehension</li>
<li><a

href="https://github.com/sarugaku/resolvelib/commit/7e8adca961b96c159d3391049e6a6a37e25ed525"><code>7e8adca</code></a>
fix: use the protocol method instead of .name attribute</li>
<li><a

href="https://github.com/sarugaku/resolvelib/commit/02fb73619d536b14b621ecddb98ad24ccd6093d2"><code>02fb736</code></a>
Merge pull request <a

href="https://redirect.github.com/sarugaku/resolvelib/issues/125">#125</a>
from sarugaku/release/1.0</li>
<li><a

href="https://github.com/sarugaku/resolvelib/commit/69ae3253545a1da31a0096686693eed5c2dee08c"><code>69ae325</code></a>
Update release process</li>
<li><a

href="https://github.com/sarugaku/resolvelib/commit/40c867a2b7d12e3736ccf6c621a44a1b0dbefbc7"><code>40c867a</code></a>
Prebump to 1.0.1.dev0</li>
<li>Additional commits viewable in <a

href="https://github.com/sarugaku/resolvelib/compare/0.8.1...1.0.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility

score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=resolvelib&package-manager=pip&previous-version=0.8.1&new-version=1.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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)


</details>> **Note**
> Automatic rebases have been disabled on this pull request as it has
been open for over 30 days.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant