From: David Lord Date: Wed, 28 May 2025 18:17:40 +0000 (-0700) Subject: bump minimum versions of dependencies X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2097%2Fhead;p=thirdparty%2Fjinja.git bump minimum versions of dependencies --- 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"]