From 6d8b4ce9d037937ef8694067ab5754666240d097 Mon Sep 17 00:00:00 2001 From: David Lord Date: Thu, 13 May 2021 16:16:04 -0700 Subject: [PATCH] set maximum versions of pallets dependencies --- CHANGES.rst | 10 ++++++---- setup.py | 8 ++++---- src/flask/__init__.py | 2 +- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 7fa83f76..510a5475 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -2,13 +2,15 @@ -Version 1.1.x +Version 1.1.3 ------------- -Not yet released. +Unreleased -- Officially support passing a :class:`pathlib.Path` for - ``static_folder`` which stopped working in 1.1.2. :pr:`3579` +- Set maximum versions of Werkzeug, Jinja, Click, and ItsDangerous. + :issue:`4043` +- Re-add support for passing a ``pathlib.Path`` for ``static_folder``. + :pr:`3579` Version 1.1.2 diff --git a/setup.py b/setup.py index 71c2338e..33ab0b21 100644 --- a/setup.py +++ b/setup.py @@ -53,10 +53,10 @@ setup( include_package_data=True, python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", install_requires=[ - "Werkzeug>=0.15", - "Jinja2>=2.10.1", - "itsdangerous>=0.24", - "click>=5.1", + "Werkzeug >= 0.15, < 2.0", + "Jinja2 >= 2.10.1, < 3.0", + "itsdangerous >= 0.24, < 2.0", + "click >= 5.1, < 8.0", ], extras_require={ "dotenv": ["python-dotenv"], diff --git a/src/flask/__init__.py b/src/flask/__init__.py index 1a487e18..97fdfaa9 100644 --- a/src/flask/__init__.py +++ b/src/flask/__init__.py @@ -57,4 +57,4 @@ from .signals import template_rendered from .templating import render_template from .templating import render_template_string -__version__ = "1.1.2" +__version__ = "1.1.3.dev0"