Update dependency MarkupSafe to v3 #23

Open
renovate wants to merge 1 commit from renovate/markupsafe-3.x into master
Collaborator

This PR contains the following updates:

Package Change Age Confidence
MarkupSafe (changelog) ==1.0 → ==3.0.4 age confidence

Release Notes

pallets/markupsafe (MarkupSafe)

v3.0.4

Compare Source

Released 2026-10-02

  • Build Python 3.15, armv7l, ppc64le, Android, and iOS wheels.
  • Improve performance of striptags. :issue:521

v3.0.3

Compare Source

Released 2025-09-27

  • __version__ raises DeprecationWarning instead of UserWarning.
    :issue:487
  • Adopt multi-phase initialisation (:pep:489) for the C extension.
    :issue:494
  • Build Windows ARM64 wheels. :issue:485
  • Build Python 3.14 wheels. :issue:503
  • Build riscv64 wheels. :issue:505

v3.0.2

Compare Source

Released 2024-10-18

  • Fix compatibility when __str__ returns a str subclass. :issue:472
  • Build requires setuptools >= 70.1. :issue:475

v3.0.1

Compare Source

Released 2024-10-08

  • Address compiler warnings that became errors in GCC 14. :issue:466
  • Fix compatibility with proxy objects. :issue:467

v3.0.0

Compare Source

Released 2024-10-07

  • Support Python 3.13 and its experimental free-threaded build. :pr:461
  • Drop support for Python 3.7 and 3.8.
  • Use modern packaging metadata with pyproject.toml instead of setup.cfg.
    :pr:348
  • Change distutils imports to setuptools. :pr:399
  • Use deferred evaluation of annotations. :pr:400
  • Update signatures for Markup methods to match str signatures. Use
    positional-only arguments. :pr:400
  • Some str methods on Markup no longer escape their argument:
    strip, lstrip, rstrip, removeprefix, removesuffix,
    partition, and rpartition; replace only escapes its new
    argument. These methods are conceptually linked to search methods such as
    in, find, and index, which already do not escape their argument.
    :issue:401
  • The __version__ attribute is deprecated. Use feature detection, or
    importlib.metadata.version("markupsafe"), instead. :pr:402
  • Speed up escaping plain strings by 40%. :pr:434
  • Simplify speedups implementation. :pr:437

v2.1.5

Compare Source

Released 2024-02-02

  • Fix striptags not collapsing spaces. :issue:417

v2.1.4

Compare Source

Released 2024-01-19

  • Don't use regular expressions for striptags, avoiding a performance
    issue. :pr:413

v2.1.3

Compare Source

Released 2023-06-02

  • Implement format_map, casefold, removeprefix, and removesuffix
    methods. :issue:370
  • Fix static typing for basic str methods on Markup. :issue:358
  • Use Self for annotating return types. :pr:379

v2.1.2

Compare Source

Released 2023-01-17

  • Fix striptags not stripping tags containing newlines.
    :issue:310

v2.1.1

Compare Source

Released 2022-03-14

  • Avoid ambiguous regex matches in striptags. :pr:293

v2.1.0

Compare Source

Released 2022-02-17

  • Drop support for Python 3.6. :pr:262
  • Remove soft_unicode, which was previously deprecated. Use
    soft_str instead. :pr:261
  • Raise error on missing single placeholder during string
    interpolation. :issue:225
  • Disable speedups module for GraalPython. :issue:277

v2.0.1

Compare Source

Released 2021-05-18

  • Mark top-level names as exported so type checking understands
    imports in user projects. :pr:215
  • Fix some types that weren't available in Python 3.6.0. :pr:215

v2.0.0

Compare Source

Released 2021-05-11

  • Drop Python 2.7, 3.4, and 3.5 support.
  • Markup.unescape uses :func:html.unescape to support HTML5
    character references. :pr:117
  • Add type annotations for static typing tools. :pr:149

v1.1.1

Compare Source

Released 2019-02-23

  • Fix segfault when __html__ method raises an exception when using
    the C speedups. The exception is now propagated correctly. :pr:109

v1.1.0

Compare Source

Released 2018-11-05

  • Drop support for Python 2.6 and 3.3.
  • Build wheels for Linux, Mac, and Windows, allowing systems without
    a compiler to take advantage of the C extension speedups. :pr:104
  • Use newer CPython API on Python 3, resulting in a 1.5x speedup.
    :pr:64
  • escape wraps __html__ result in Markup, consistent with
    documented behavior. :pr:69

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [MarkupSafe](https://github.com/pallets/markupsafe) ([changelog](https://markupsafe.palletsprojects.com/page/changes/)) | `==1.0` → `==3.0.4` | ![age](https://developer.mend.io/api/mc/badges/age/pypi/markupsafe/3.0.4?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/markupsafe/1.0/3.0.4?slim=true) | --- ### Release Notes <details> <summary>pallets/markupsafe (MarkupSafe)</summary> ### [`v3.0.4`](https://github.com/pallets/markupsafe/blob/HEAD/CHANGES.rst#Version-304) [Compare Source](https://github.com/pallets/markupsafe/compare/3.0.3...3.0.4) Released 2026-10-02 - Build Python 3.15, armv7l, ppc64le, Android, and iOS wheels. - Improve performance of `striptags`. :issue:`521` ### [`v3.0.3`](https://github.com/pallets/markupsafe/blob/HEAD/CHANGES.rst#Version-303) [Compare Source](https://github.com/pallets/markupsafe/compare/3.0.2...3.0.3) Released 2025-09-27 - `__version__` raises `DeprecationWarning` instead of `UserWarning`. :issue:`487` - Adopt multi-phase initialisation (:pep:`489`) for the C extension. :issue:`494` - Build Windows ARM64 wheels. :issue:`485` - Build Python 3.14 wheels. :issue:`503` - Build riscv64 wheels. :issue:`505` ### [`v3.0.2`](https://github.com/pallets/markupsafe/blob/HEAD/CHANGES.rst#Version-302) [Compare Source](https://github.com/pallets/markupsafe/compare/3.0.1...3.0.2) Released 2024-10-18 - Fix compatibility when `__str__` returns a `str` subclass. :issue:`472` - Build requires setuptools >= 70.1. :issue:`475` ### [`v3.0.1`](https://github.com/pallets/markupsafe/blob/HEAD/CHANGES.rst#Version-301) [Compare Source](https://github.com/pallets/markupsafe/compare/3.0.0...3.0.1) Released 2024-10-08 - Address compiler warnings that became errors in GCC 14. :issue:`466` - Fix compatibility with proxy objects. :issue:`467` ### [`v3.0.0`](https://github.com/pallets/markupsafe/blob/HEAD/CHANGES.rst#Version-300) [Compare Source](https://github.com/pallets/markupsafe/compare/2.1.5...3.0.0) Released 2024-10-07 - Support Python 3.13 and its experimental free-threaded build. :pr:`461` - Drop support for Python 3.7 and 3.8. - Use modern packaging metadata with `pyproject.toml` instead of `setup.cfg`. :pr:`348` - Change `distutils` imports to `setuptools`. :pr:`399` - Use deferred evaluation of annotations. :pr:`400` - Update signatures for `Markup` methods to match `str` signatures. Use positional-only arguments. :pr:`400` - Some `str` methods on `Markup` no longer escape their argument: `strip`, `lstrip`, `rstrip`, `removeprefix`, `removesuffix`, `partition`, and `rpartition`; `replace` only escapes its `new` argument. These methods are conceptually linked to search methods such as `in`, `find`, and `index`, which already do not escape their argument. :issue:`401` - The `__version__` attribute is deprecated. Use feature detection, or `importlib.metadata.version("markupsafe")`, instead. :pr:`402` - Speed up escaping plain strings by 40%. :pr:`434` - Simplify speedups implementation. :pr:`437` ### [`v2.1.5`](https://github.com/pallets/markupsafe/blob/HEAD/CHANGES.rst#Version-215) [Compare Source](https://github.com/pallets/markupsafe/compare/2.1.4...2.1.5) Released 2024-02-02 - Fix `striptags` not collapsing spaces. :issue:`417` ### [`v2.1.4`](https://github.com/pallets/markupsafe/blob/HEAD/CHANGES.rst#Version-214) [Compare Source](https://github.com/pallets/markupsafe/compare/2.1.3...2.1.4) Released 2024-01-19 - Don't use regular expressions for `striptags`, avoiding a performance issue. :pr:`413` ### [`v2.1.3`](https://github.com/pallets/markupsafe/blob/HEAD/CHANGES.rst#Version-213) [Compare Source](https://github.com/pallets/markupsafe/compare/2.1.2...2.1.3) Released 2023-06-02 - Implement `format_map`, `casefold`, `removeprefix`, and `removesuffix` methods. :issue:`370` - Fix static typing for basic `str` methods on `Markup`. :issue:`358` - Use `Self` for annotating return types. :pr:`379` ### [`v2.1.2`](https://github.com/pallets/markupsafe/blob/HEAD/CHANGES.rst#Version-212) [Compare Source](https://github.com/pallets/markupsafe/compare/2.1.1...2.1.2) Released 2023-01-17 - Fix `striptags` not stripping tags containing newlines. :issue:`310` ### [`v2.1.1`](https://github.com/pallets/markupsafe/blob/HEAD/CHANGES.rst#Version-211) [Compare Source](https://github.com/pallets/markupsafe/compare/2.1.0...2.1.1) Released 2022-03-14 - Avoid ambiguous regex matches in `striptags`. :pr:`293` ### [`v2.1.0`](https://github.com/pallets/markupsafe/blob/HEAD/CHANGES.rst#Version-210) [Compare Source](https://github.com/pallets/markupsafe/compare/2.0.1...2.1.0) Released 2022-02-17 - Drop support for Python 3.6. :pr:`262` - Remove `soft_unicode`, which was previously deprecated. Use `soft_str` instead. :pr:`261` - Raise error on missing single placeholder during string interpolation. :issue:`225` - Disable speedups module for GraalPython. :issue:`277` ### [`v2.0.1`](https://github.com/pallets/markupsafe/blob/HEAD/CHANGES.rst#Version-201) [Compare Source](https://github.com/pallets/markupsafe/compare/2.0.0...2.0.1) Released 2021-05-18 - Mark top-level names as exported so type checking understands imports in user projects. :pr:`215` - Fix some types that weren't available in Python 3.6.0. :pr:`215` ### [`v2.0.0`](https://github.com/pallets/markupsafe/blob/HEAD/CHANGES.rst#Version-200) [Compare Source](https://github.com/pallets/markupsafe/compare/1.1.1...2.0.0) Released 2021-05-11 - Drop Python 2.7, 3.4, and 3.5 support. - `Markup.unescape` uses :func:`html.unescape` to support HTML5 character references. :pr:`117` - Add type annotations for static typing tools. :pr:`149` ### [`v1.1.1`](https://github.com/pallets/markupsafe/blob/HEAD/CHANGES.rst#Version-111) [Compare Source](https://github.com/pallets/markupsafe/compare/1.1.0...1.1.1) Released 2019-02-23 - Fix segfault when `__html__` method raises an exception when using the C speedups. The exception is now propagated correctly. :pr:`109` ### [`v1.1.0`](https://github.com/pallets/markupsafe/blob/HEAD/CHANGES.rst#Version-110) [Compare Source](https://github.com/pallets/markupsafe/compare/1.0...1.1.0) Released 2018-11-05 - Drop support for Python 2.6 and 3.3. - Build wheels for Linux, Mac, and Windows, allowing systems without a compiler to take advantage of the C extension speedups. :pr:`104` - Use newer CPython API on Python 3, resulting in a 1.5x speedup. :pr:`64` - `escape` wraps `__html__` result in `Markup`, consistent with documented behavior. :pr:`69` </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xODYuNCIsInVwZGF0ZWRJblZlciI6IjQ0LjE4Ni40IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin "renovate/markupsafe-3.x:renovate/markupsafe-3.x"
git switch "renovate/markupsafe-3.x"

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch "master"
git merge --no-ff "renovate/markupsafe-3.x"
git switch "renovate/markupsafe-3.x"
git rebase "master"
git switch "master"
git merge --ff-only "renovate/markupsafe-3.x"
git switch "renovate/markupsafe-3.x"
git rebase "master"
git switch "master"
git merge --no-ff "renovate/markupsafe-3.x"
git switch "master"
git merge --squash "renovate/markupsafe-3.x"
git switch "master"
git merge --ff-only "renovate/markupsafe-3.x"
git switch "master"
git merge "renovate/markupsafe-3.x"
git push origin "master"
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
andylockran/parkrun-hackapi!23
No description provided.