Skip to content

Commit

Permalink
update minimum requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism committed Apr 25, 2023
1 parent 73739a2 commit 79ebf6c
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 14 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Version 2.3.0
Unreleased

- Drop support for Python 3.7. :pr:`5072`
- Update minimum requirements to the latest versions: Werkzeug>=2.3.0, Jinja2>3.1.2,
itsdangerous>=2.1.2, click>=8.1.3.
- Remove previously deprecated code. :pr:`4995`

- The ``push`` and ``pop`` methods of the deprecated ``_app_ctx_stack`` and
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ classifiers = [
]
requires-python = ">=3.8"
dependencies = [
"Werkzeug>=2.2.2",
"Jinja2>=3.0",
"itsdangerous>=2.0",
"click>=8.0",
"Werkzeug>=2.3.0",
"Jinja2>=3.1.2",
"itsdangerous>=2.1.2",
"click>=8.1.3",
"blinker>=1.6.2",
"importlib-metadata>=3.6.0; python_version < '3.10'",
]
Expand Down
8 changes: 4 additions & 4 deletions requirements/tests-pallets-min.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Werkzeug==2.2.2
Jinja2==3.0.0
Werkzeug==2.3.0
Jinja2==3.1.2
MarkupSafe==2.1.1
itsdangerous==2.0.0
click==8.0.0
itsdangerous==2.1.2
click==8.1.3
blinker==1.6.2
10 changes: 5 additions & 5 deletions requirements/tests-pallets-min.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SHA1:3f343e92214ba64bc3fc9e3667c8a7d5a2d8ccd6
# SHA1:93a20a0c3518e8617dd501183caffc1364455d8d
#
# This file is autogenerated by pip-compile-multi
# To update, run:
Expand All @@ -7,16 +7,16 @@
#
blinker==1.6.2
# via -r requirements/tests-pallets-min.in
click==8.0.0
click==8.1.3
# via -r requirements/tests-pallets-min.in
itsdangerous==2.0.0
itsdangerous==2.1.2
# via -r requirements/tests-pallets-min.in
jinja2==3.0.0
jinja2==3.1.2
# via -r requirements/tests-pallets-min.in
markupsafe==2.1.1
# via
# -r requirements/tests-pallets-min.in
# jinja2
# werkzeug
werkzeug==2.2.2
werkzeug==2.3.0
# via -r requirements/tests-pallets-min.in
2 changes: 1 addition & 1 deletion src/flask/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1852,7 +1852,7 @@ def make_response(self, rv: ft.ResponseReturnValue) -> Response:

# extend existing headers with provided headers
if headers:
rv.headers.update(headers) # type: ignore[arg-type]
rv.headers.update(headers)

return rv

Expand Down

0 comments on commit 79ebf6c

Please sign in to comment.