From 9508c57faabb5c1d799bb5f67732048bed5602bb Mon Sep 17 00:00:00 2001 From: David Lord Date: Wed, 28 May 2025 11:17:40 -0700 Subject: [PATCH] bump minimum versions of dependencies --- CHANGES.rst | 2 ++ pyproject.toml | 6 ++---- uv.lock | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 97d3d09e..2b384103 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -6,6 +6,8 @@ Version 3.2.0 Unreleased - Drop support for Python 3.7, 3.8, and 3.9. +- Update minimum MarkupSafe version to >= 3.0. +- Update minimum Babel version to >= 2.17. - Use modern packaging metadata with ``pyproject.toml`` instead of ``setup.cfg``. :pr:`1793` - Use ``flit_core`` instead of ``setuptools`` as build backend. diff --git a/pyproject.toml b/pyproject.toml index 26253eab..04cf89aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,9 +16,7 @@ classifiers = [ "Typing :: Typed", ] requires-python = ">=3.10" -dependencies = [ - "MarkupSafe>=2.0" -] +dependencies = ["MarkupSafe>=3.0"] dynamic = ["version"] [project.urls] @@ -29,7 +27,7 @@ Source = "https://github.com/pallets/jinja/" Chat = "https://discord.gg/pallets" [project.optional-dependencies] -i18n = ["Babel>=2.7"] +i18n = ["Babel>=2.17"] [dependency-groups] dev = [ diff --git a/uv.lock b/uv.lock index ab07109e..49096020 100644 --- a/uv.lock +++ b/uv.lock @@ -358,8 +358,8 @@ typing = [ [package.metadata] requires-dist = [ - { name = "babel", marker = "extra == 'i18n'", specifier = ">=2.7" }, - { name = "markupsafe", specifier = ">=2.0" }, + { name = "babel", marker = "extra == 'i18n'", specifier = ">=2.17" }, + { name = "markupsafe", specifier = ">=3.0" }, ] provides-extras = ["i18n"] -- 2.47.2