Skip to content
Myr

Merge branch '2.1.x'

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parents 67310ab, 187d717 · Browse files · 9 files+35 added−26 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

9 files+35 added−26 removed

  • other:+35 added−26 removed

9 files+35 added−26 removed

modified:docs/async-await.rst+1 added-1 removed
89 unmodified lines
90``await`` and ASGI use standard, modern Python capabilities. Deciding91whether you should use Flask, Quart, or something else is ultimately up92to understanding the specific needs of your project.9394.. _Quart: https://gitlab.com/pgjones/quart94.. _Quart: https://github.com/pallets/quart95.. _ASGI: https://asgi.readthedocs.io/en/latest/969798Extensions
33 unmodified lines
modified:requirements/dev.txt+8 added-6 removed
6 unmodified lines
7#8-r docs.txt9-r tests.txt10-r typing.txt11build==0.8.012 # via pip-tools13cfgv==3.3.114 # via pre-commit15click==8.1.316 # via
8 unmodified lines
25greenlet==1.1.2 ; python_version < "3.11"26 # via -r requirements/tests.in27identify==2.5.128 # via pre-commit27nodeenv==1.6.029nodeenv==1.7.030 # via pre-commit31pep517==0.12.030 # via pip-tools32 # via build33pip-compile-multi==2.4.534 # via -r requirements/dev.in33pip-tools==6.6.235pip-tools==6.8.036 # via pip-compile-multi37platformdirs==2.5.238 # via virtualenv37pre-commit==2.19.039pre-commit==2.20.040 # via -r requirements/dev.in41pyyaml==6.042 # via pre-commit43six==1.16.0
5 unmodified lines
49 # pre-commit50 # tox51toposort==1.752 # via pip-compile-multi51tox==3.25.053tox==3.25.154 # via -r requirements/dev.in53virtualenv==20.14.155virtualenv==20.15.156 # via57 # pre-commit58 # tox59wheel==0.37.1
5 unmodified lines
modified:requirements/docs.in+4 added-2 removed
1Pallets-Sphinx-Themes2# sphinx 5 introduced error in references from werkzeug in docstrings2Sphinx3Sphinx < 54sphinx-issues5sphinxcontrib-log-cabinet6# sphinx-tabs 3.4 requires docutils 0.18, sphinx < 5 requires < 0.185sphinx-tabs7sphinx-tabs < 3.4
modified:requirements/docs.txt+7 added-7 removed
1# SHA1:34fd4ca6516e97c7348e6facdd9c4ebb68209d1c1# SHA1:323f1c1134d78952ea63131c187303def63b56bd2#3# This file is autogenerated by pip-compile-multi4# To update, run:5#6# pip-compile-multi7#8alabaster==0.7.129 # via sphinx10babel==2.10.110babel==2.10.311 # via sphinx12certifi==2022.5.18.112certifi==2022.6.1513 # via requests14charset-normalizer==2.0.1214charset-normalizer==2.1.015 # via requests16docutils==0.17.117 # via18 # sphinx19 # sphinx-tabs20idna==3.321 # via requests22imagesize==1.3.022imagesize==1.4.123 # via sphinx24jinja2==3.1.225 # via sphinx26markupsafe==2.1.1
11 unmodified lines
38pyparsing==3.0.939 # via packaging40pytz==2022.141 # via babel42requests==2.27.142requests==2.28.143 # via sphinx44snowballstemmer==2.2.045 # via sphinx46sphinx==4.5.0
20 unmodified lines
67sphinxcontrib-qthelp==1.0.368 # via sphinx69sphinxcontrib-serializinghtml==1.1.570 # via sphinx71urllib3==1.26.971urllib3==1.26.1072 # via requests
modified:requirements/tests-pallets-dev.txt+1 added
13 unmodified lines
14markupsafe @ https://github.com/pallets/markupsafe/archive/refs/heads/main.tar.gz15 # via16 # -r requirements/tests-pallets-dev.in17 # jinja218 # werkzeug19werkzeug @ https://github.com/pallets/werkzeug/archive/refs/heads/main.tar.gz20 # via -r requirements/tests-pallets-dev.in
modified:requirements/typing.txt+7 added-7 removed
3 unmodified lines
4# To update, run:5#6# pip-compile-multi7#8cffi==1.15.08cffi==1.15.19 # via cryptography10cryptography==37.0.210cryptography==37.0.411 # via -r requirements/typing.in12mypy==0.96012mypy==0.96113 # via -r requirements/typing.in14mypy-extensions==0.4.315 # via mypy16pycparser==2.2117 # via cffi18tomli==2.0.119 # via mypy20types-contextvars==2.4.620types-contextvars==2.4.721 # via -r requirements/typing.in22types-dataclasses==0.6.522types-dataclasses==0.6.623 # via -r requirements/typing.in24types-setuptools==57.4.1724types-setuptools==62.6.125 # via -r requirements/typing.in26typing-extensions==4.2.026typing-extensions==4.3.027 # via mypy
modified:src/flask/json/__init__.py+1 added
18 unmodified lines
1920 - :class:`datetime.datetime` and :class:`datetime.date` are21 serialized to :rfc:`822` strings. This is the same as the HTTP22 date format.23 - :class:`decimal.Decimal` is serialized to a string.24 - :class:`uuid.UUID` is serialized to a string.25 - :class:`dataclasses.dataclass` is passed to26 :func:`dataclasses.asdict`.27 - :class:`~markupsafe.Markup` (or any object with a ``__html__``
315 unmodified lines
modified:.pre-commit-config.yaml+2 added-2 removed
modified:CHANGES.rst+4 added-1 removed
94 unmodified lines
9596Version 2.1.397-------------9899Unreleased99Released 2022-07-13100101- Inline some optional imports that are only used for certain CLI102 commands. :pr:`4606`103- Relax type annotation for ``after_request`` functions. :issue:`4600`104- ``instance_path`` for namespace packages uses the path closest to105 the imported submodule. :issue:`4600`106- Clearer error message when ``render_template`` and107 ``render_template_string`` are used outside an application context.108 :pr:`4693`109110111Version 2.1.2112-------------
1279 unmodified lines