Opened 6 weeks ago
Closed 4 weeks ago
#5576 closed enhancement (fixed)
MarkupSafe-3.0.2
Reported by: | Bruce Dubbs | Owned by: | lfs-book |
---|---|---|---|
Priority: | normal | Milestone: | 12.3 |
Component: | Book | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description
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.
- Drop support for Python 3.7 and 3.8.
- Use modern packaging metadata with pyproject.toml instead of setup.cfg.
- Change distutils imports to setuptools.
- Use deferred evaluation of annotations.
- Update signatures for Markup methods to match str signatures. Use positional-only arguments.
- 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.
- The version attribute is deprecated. Use feature detection, or importlib.metadata.version("markupsafe"), instead. #402
- Speed up escaping plain strings by 40%.
- Simplify speedups implementation.
3.0.1
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.
PyPI: https://pypi.org/project/MarkupSafe/3.0.1/
Changes:
- https://markupsafe.palletsprojects.com/page/changes/#version-3-0-1 (pending a fix to the docs build)
Milestone: https://github.com/pallets/markupsafe/milestone/13?closed=1
- Address compiler warnings that became errors in GCC 14.
- Fix compatibility with proxy objects.
Change History (3)
comment:1 by , 5 weeks ago
Summary: | MarkupSafe-3.0.1 → MarkupSafe-3.0.2 |
---|
comment:2 by , 4 weeks ago
Version 3.0.2 - Released 2024-10-18
- Fix compatibility when
str
returns a
str
subclass.
- Build requires setuptools >= 70.1
The tarball name is now all lowercase -> markupsafe-3.0.2.tar.gz
comment:3 by , 4 weeks ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed at commit 52104e05f0 :
Update to iana-etc-20241015. Update to vim-9.1.0813. Update to xz-5.6.3. Update to sysvinit-3.11. Update to setuptools-75.2.0. Update to Python3-3.13.0. Update to openssl-3.4.0. Update to meson-1.6.0. Update to markupsafe-3.0.2. Update to linux-6.11.5. Update to less-668. Update to elfutils-0.192.
Now version 3.0.2.