Skip to content

Commit 9bd0fb1

Browse files
Bump markupsafe from 2.1.5 to 3.0.2 (#10233)
Bumps [markupsafe](https://github.com/pallets/markupsafe) from 2.1.5 to 3.0.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pallets/markupsafe/releases">markupsafe's releases</a>.</em></p> <blockquote> <h2>3.0.2</h2> <p>This is the MarkupSafe 3.0.2 fix release, which fixes bugs but does not otherwise change behavior and should not result in breaking changes.</p> <p>PyPI: <a href="https://pypi.org/project/MarkupSafe/3.0.2/">https://pypi.org/project/MarkupSafe/3.0.2/</a> Changes: <a href="https://markupsafe.palletsprojects.com/en/stable/changes/#version-3-0-2">https://markupsafe.palletsprojects.com/en/stable/changes/#version-3-0-2</a> Milestone: <a href="https://github.com/pallets/markupsafe/milestone/14?closed=1">https://github.com/pallets/markupsafe/milestone/14?closed=1</a></p> <ul> <li>Fix compatibility when <code>__str__</code> returns a <code>str</code> subclass. <a href="https://redirect.github.com/pallets/markupsafe/issues/472">#472</a></li> <li>Build requires setuptools &gt;= 70.1. <a href="https://redirect.github.com/pallets/markupsafe/issues/475">#475</a></li> </ul> <h2>3.0.1</h2> <p>This is the MarkupSafe 3.0.1 fix release, which fixes bugs but does not otherwise change behavior and should not result in breaking changes.</p> <p>PyPI: <a href="https://pypi.org/project/MarkupSafe/3.0.1/">https://pypi.org/project/MarkupSafe/3.0.1/</a> Changes: <a href="https://markupsafe.palletsprojects.com/en/stable/changes/#version-3-0-1">https://markupsafe.palletsprojects.com/en/stable/changes/#version-3-0-1</a> Milestone: <a href="https://github.com/pallets/markupsafe/milestone/13?closed=1">https://github.com/pallets/markupsafe/milestone/13?closed=1</a></p> <ul> <li>Address compiler warnings that became errors in GCC 14. <a href="https://redirect.github.com/pallets/markupsafe/issues/466">#466</a></li> <li>Fix compatibility with proxy objects. <a href="https://redirect.github.com/pallets/markupsafe/issues/467">#467</a></li> </ul> <h2>3.0.0</h2> <p>This is the MarkupSafe 3.0.0 feature release. A feature release may include new features, remove previously deprecated code, add new deprecations, or introduce potentially breaking changes. The 3.0.x branch is now the supported fix branch, the 2.1.x branch will become a tag marking the end of support for that branch. We encourage everyone to upgrade, and to use a tool such as <a href="https://pypi.org/project/pip-tools/">pip-tools</a> to pin all dependencies and control upgrades. Test with warnings treated as errors to be able to adapt to deprecation warnings early.</p> <p>PyPI: <a href="https://pypi.org/project/MarkupSafe/3.0.0/">https://pypi.org/project/MarkupSafe/3.0.0/</a> Changes: <a href="https://markupsafe.palletsprojects.com/en/stable/changes/#version-3-0-0">https://markupsafe.palletsprojects.com/en/stable/changes/#version-3-0-0</a> Milestone: <a href="https://github.com/pallets/markupsafe/milestone/10?closed=1">https://github.com/pallets/markupsafe/milestone/10?closed=1</a></p> <ul> <li>Support Python 3.13 and its experimental free-threaded build. <a href="https://redirect.github.com/pallets/markupsafe/issues/461">#461</a></li> <li>Drop support for Python 3.7 and 3.8.</li> <li>Use modern packaging metadata with <code>pyproject.toml</code> instead of <code>setup.cfg</code>. <a href="https://redirect.github.com/pallets/markupsafe/issues/348">#348</a></li> <li>Change <code>distutils</code> imports to <code>setuptools</code>. <a href="https://redirect.github.com/pallets/markupsafe/issues/399">#399</a></li> <li>Use deferred evaluation of annotations. <a href="https://redirect.github.com/pallets/markupsafe/issues/400">#400</a></li> <li>Update signatures for <code>Markup</code> methods to match <code>str</code> signatures. Use positional-only arguments. <a href="https://redirect.github.com/pallets/markupsafe/issues/400">#400</a></li> <li>Some <code>str</code> methods on <code>Markup</code> no longer escape their argument: <code>strip</code>, <code>lstrip</code>, <code>rstrip</code>, <code>removeprefix</code>, <code>removesuffix</code>, <code>partition</code>, and <code>rpartition</code>; <code>replace</code> only escapes its <code>new</code> argument. These methods are conceptually linked to search methods such as <code>in</code>, <code>find</code>, and <code>index</code>, which already do not escape their argument. <a href="https://redirect.github.com/pallets/markupsafe/issues/401">#401</a></li> <li>The <code>__version__</code> attribute is deprecated. Use feature detection, or <code>importlib.metadata.version(&quot;markupsafe&quot;)</code>, instead. <a href="https://redirect.github.com/pallets/markupsafe/issues/402">#402</a></li> <li>Speed up escaping plain strings by 40%. <a href="https://redirect.github.com/pallets/markupsafe/issues/434">#434</a></li> <li>Simplify speedups implementation. <a href="https://redirect.github.com/pallets/markupsafe/issues/437">#437</a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pallets/markupsafe/blob/main/CHANGES.rst">markupsafe's changelog</a>.</em></p> <blockquote> <h2>Version 3.0.2</h2> <p>Released 2024-10-18</p> <ul> <li>Fix compatibility when <code>__str__</code> returns a <code>str</code> subclass. :issue:<code>472</code></li> <li>Build requires setuptools &gt;= 70.1. :issue:<code>475</code></li> </ul> <h2>Version 3.0.1</h2> <p>Released 2024-10-08</p> <ul> <li>Address compiler warnings that became errors in GCC 14. :issue:<code>466</code></li> <li>Fix compatibility with proxy objects. :issue:<code>467</code></li> </ul> <h2>Version 3.0.0</h2> <p>Released 2024-10-07</p> <ul> <li>Support Python 3.13 and its experimental free-threaded build. :pr:<code>461</code></li> <li>Drop support for Python 3.7 and 3.8.</li> <li>Use modern packaging metadata with <code>pyproject.toml</code> instead of <code>setup.cfg</code>. :pr:<code>348</code></li> <li>Change <code>distutils</code> imports to <code>setuptools</code>. :pr:<code>399</code></li> <li>Use deferred evaluation of annotations. :pr:<code>400</code></li> <li>Update signatures for <code>Markup</code> methods to match <code>str</code> signatures. Use positional-only arguments. :pr:<code>400</code></li> <li>Some <code>str</code> methods on <code>Markup</code> no longer escape their argument: <code>strip</code>, <code>lstrip</code>, <code>rstrip</code>, <code>removeprefix</code>, <code>removesuffix</code>, <code>partition</code>, and <code>rpartition</code>; <code>replace</code> only escapes its <code>new</code> argument. These methods are conceptually linked to search methods such as <code>in</code>, <code>find</code>, and <code>index</code>, which already do not escape their argument. :issue:<code>401</code></li> <li>The <code>__version__</code> attribute is deprecated. Use feature detection, or <code>importlib.metadata.version(&quot;markupsafe&quot;)</code>, instead. :pr:<code>402</code></li> <li>Speed up escaping plain strings by 40%. :pr:<code>434</code></li> <li>Simplify speedups implementation. :pr:<code>437</code></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pallets/markupsafe/commit/28ace20b140d15c083e1cbc163ee6b7778ba098c"><code>28ace20</code></a> release version 3.0.2</li> <li><a href="https://github.com/pallets/markupsafe/commit/6b51fd8f7386983b7038ad973557367cbd48579a"><code>6b51fd8</code></a> build requires at least setuptools 70.1 (<a href="https://redirect.github.com/pallets/markupsafe/issues/478">#478</a>)</li> <li><a href="https://github.com/pallets/markupsafe/commit/99dda9fd708432bd07d02327b2668661aa3cdaa0"><code>99dda9f</code></a> build requires at least setuptools 70.1</li> <li><a href="https://github.com/pallets/markupsafe/commit/3d8fd8cc006124a49ce2f4268b4d1739e301583e"><code>3d8fd8c</code></a> fix version</li> <li><a href="https://github.com/pallets/markupsafe/commit/1933c4be9c2c88613f7660840cde27a1bb7567e0"><code>1933c4b</code></a> fix version</li> <li><a href="https://github.com/pallets/markupsafe/commit/e85aff4d878aa458d5c1e879bf475d8483647f71"><code>e85aff4</code></a> relax speedups str check (<a href="https://redirect.github.com/pallets/markupsafe/issues/477">#477</a>)</li> <li><a href="https://github.com/pallets/markupsafe/commit/8cb1691ca038ca39942e088b956f5b94d8f636bf"><code>8cb1691</code></a> relax speedups str check</li> <li><a href="https://github.com/pallets/markupsafe/commit/4dafb7c36f1f654f1edd85228d346252b0065d45"><code>4dafb7c</code></a> start version 3.1.0</li> <li><a href="https://github.com/pallets/markupsafe/commit/9c44ecf45141f691d373a66ce664c43b5a6cc761"><code>9c44ecf</code></a> update docs build</li> <li><a href="https://github.com/pallets/markupsafe/commit/275c76905617c3f0e34de14e8794fcf4dfb0f937"><code>275c769</code></a> Merge branch '2.1.x' into 3.0.x</li> <li>Additional commits viewable in <a href="https://github.com/pallets/markupsafe/compare/2.1.5...3.0.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=markupsafe&package-manager=pip&previous-version=2.1.5&new-version=3.0.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-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 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) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 62497e4 commit 9bd0fb1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

requirements/constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jinja2==3.1.4
103103
# towncrier
104104
markdown-it-py==3.0.0
105105
# via rich
106-
markupsafe==2.1.5
106+
markupsafe==3.0.2
107107
# via jinja2
108108
mdurl==0.1.2
109109
# via markdown-it-py

requirements/dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jinja2==3.1.4
101101
# towncrier
102102
markdown-it-py==3.0.0
103103
# via rich
104-
markupsafe==2.1.5
104+
markupsafe==3.0.2
105105
# via jinja2
106106
mdurl==0.1.2
107107
# via markdown-it-py

requirements/doc-spelling.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jinja2==3.1.4
2828
# via
2929
# sphinx
3030
# towncrier
31-
markupsafe==2.1.5
31+
markupsafe==3.0.2
3232
# via jinja2
3333
packaging==24.2
3434
# via sphinx

requirements/doc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jinja2==3.1.4
2828
# via
2929
# sphinx
3030
# towncrier
31-
markupsafe==2.1.5
31+
markupsafe==3.0.2
3232
# via jinja2
3333
packaging==24.2
3434
# via sphinx

0 commit comments

Comments
 (0)