Skip to content

Commit

Permalink
Bump markupsafe from 2.1.5 to 3.0.1 (#1636)
Browse files Browse the repository at this point in the history
Bumps [markupsafe](https://github.com/pallets/markupsafe) from 2.1.5 to
3.0.1.
<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.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:
<code>https://markupsafe.palletsprojects.com/page/changes/#version-3-0-1</code>
(pending a fix to the docs build)
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:
<code>https://markupsafe.palletsprojects.com/page/changes/#version-3-0-0</code>
(pending a fix to the docs build)
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.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/ef0b95e2544ea0d09230a57dc01ac91e3bab9689"><code>ef0b95e</code></a>
release version 3.0.1</li>
<li><a
href="https://github.com/pallets/markupsafe/commit/54bb00bfafe57582bc196ac92eda32cb942f0025"><code>54bb00b</code></a>
fix exact str check (<a
href="https://redirect.github.com/pallets/markupsafe/issues/469">#469</a>)</li>
<li><a
href="https://github.com/pallets/markupsafe/commit/7add29c77b088299841e1017a7cd2f96133a6659"><code>7add29c</code></a>
fix exact str check</li>
<li><a
href="https://github.com/pallets/markupsafe/commit/b5291646cbabf945069db07c34b08fb1f623134d"><code>b529164</code></a>
cast to PyUnicodeObject (<a
href="https://redirect.github.com/pallets/markupsafe/issues/468">#468</a>)</li>
<li><a
href="https://github.com/pallets/markupsafe/commit/cf4fc43f989ac587e2799598cbf71931cd05ca6e"><code>cf4fc43</code></a>
cast to PyUnicodeObject</li>
<li><a
href="https://github.com/pallets/markupsafe/commit/2c6093042275eae2a68455f4af0342fc300d12c7"><code>2c60930</code></a>
start version 3.0.1</li>
<li><a
href="https://github.com/pallets/markupsafe/commit/85813f1876e885a39737509ac9590c42ad9a2789"><code>85813f1</code></a>
release version 3.0.0 (<a
href="https://redirect.github.com/pallets/markupsafe/issues/465">#465</a>)</li>
<li><a
href="https://github.com/pallets/markupsafe/commit/7643710ef05e9d3bfe48325f29f671679d39aaab"><code>7643710</code></a>
release version 3.0.0</li>
<li><a
href="https://github.com/pallets/markupsafe/commit/44a54cde1cd04b0a9ac0ae49b1111559ef0c4cc8"><code>44a54cd</code></a>
Build Python 3.13 wheels (<a
href="https://redirect.github.com/pallets/markupsafe/issues/461">#461</a>)</li>
<li><a
href="https://github.com/pallets/markupsafe/commit/0a00cfe3947266c9ed38bc01ea67ba1a6ad9f1f1"><code>0a00cfe</code></a>
style changes</li>
<li>Additional commits viewable in <a
href="https://github.com/pallets/markupsafe/compare/2.1.5...3.0.1">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.1)](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>
  • Loading branch information
dependabot[bot] authored Oct 11, 2024
1 parent 3dc6afb commit 5f647da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
opencv-python-headless==4.10.0.84

# docs
markupsafe==2.1.5
markupsafe==3.0.1
nbconvert>=7.2.3
ipython==8.28.0
sphinx==7.2.6
Expand Down

0 comments on commit 5f647da

Please sign in to comment.