Bump markupsafe from 2.1.5 to 3.0.0
Bumps markupsafe from 2.1.5 to 3.0.0.
Release notes
Sourced from markupsafe's releases.
3.0.0
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 pip-tools to pin all dependencies and control upgrades. Test with warnings treated as errors to be able to adapt to deprecation warnings early.
PyPI: https://pypi.org/project/MarkupSafe/3.0.0/ Changes:
https://markupsafe.palletsprojects.com/page/changes/#version-3-0-0
(pending a fix to the docs build) Milestone: https://github.com/pallets/markupsafe/milestone/10?closed=1
- Support Python 3.13 and its experimental free-threaded build. #461
- Drop support for Python 3.7 and 3.8.
- Use modern packaging metadata with
pyproject.toml
instead ofsetup.cfg
. #348- Change
distutils
imports tosetuptools
. #399- Use deferred evaluation of annotations. #400
- Update signatures for
Markup
methods to matchstr
signatures. Use positional-only arguments. #400- Some
str
methods onMarkup
no longer escape their argument:strip
,lstrip
,rstrip
,removeprefix
,removesuffix
,partition
, andrpartition
;replace
only escapes itsnew
argument. These methods are conceptually linked to search methods such asin
,find
, andindex
, which already do not escape their argument. #401- The
__version__
attribute is deprecated. Use feature detection, orimportlib.metadata.version("markupsafe")
, instead. #402- Speed up escaping plain strings by 40%. #434
- Simplify speedups implementation. #437
Changelog
Sourced from markupsafe's changelog.
Version 3.0.0
Released 2024-08-07
- Support Python 3.13 and its experimental free-threaded build.
🇵🇷 461
- Drop support for Python 3.7 and 3.8.
- Use modern packaging metadata with
pyproject.toml
instead ofsetup.cfg
.🇵🇷 348
- Change
distutils
imports tosetuptools
.🇵🇷 399
- Use deferred evaluation of annotations.
🇵🇷 400
- Update signatures for
Markup
methods to matchstr
signatures. Use positional-only arguments.🇵🇷 400
- Some
str
methods onMarkup
no longer escape their argument:strip
,lstrip
,rstrip
,removeprefix
,removesuffix
,partition
, andrpartition
;replace
only escapes itsnew
argument. These methods are conceptually linked to search methods such asin
,find
, andindex
, which already do not escape their argument. :issue:401
- The
__version__
attribute is deprecated. Use feature detection, orimportlib.metadata.version("markupsafe")
, instead.🇵🇷 402
- Speed up escaping plain strings by 40%.
🇵🇷 434
- Simplify speedups implementation.
🇵🇷 437
Commits
-
7643710
release version 3.0.0 -
44a54cd
Build Python 3.13 wheels (#461) -
0a00cfe
style changes -
b6ff4ad
update CHANGES.rst -
9f8bcee
Merge branch 'main' into cp313 -
402311d
update dev dependencies -
f56c105
drop support for python 3.8 (#464) -
9372f38
drop support for python 3.8 -
27a2e43
Usesys._is_gil_enabled()
-
cefaed9
Report Py_GIL_DISABLED config in pytest output - Additional commits viewable in compare view