drop Python 3.6

This commit is contained in:
David Lord 2021-11-11 16:11:43 -08:00
parent 3c36d043e5
commit e609dddd60
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
9 changed files with 11 additions and 33 deletions

View file

@ -112,10 +112,9 @@ shell with the :func:`shell <cli.shell_command>` command. An application
context will be active, and the app instance will be imported. ::
$ flask shell
Python 3.6.2 (default, Jul 20 2017, 03:52:27)
[GCC 7.1.1 20170630] on linux
App: example
Instance: /home/user/Projects/hello/instance
Python 3.10.0 (default, Oct 27 2021, 06:59:51) [GCC 11.1.0] on linux
App: example [production]
Instance: /home/david/Projects/pallets/flask/instance
>>>
Use :meth:`~Flask.shell_context_processor` to add other automatic imports.

View file

@ -322,9 +322,9 @@ ecosystem remain consistent and compatible.
`Official Pallets Themes`_. A link to the documentation or project
website must be in the PyPI metadata or the readme.
7. For maximum compatibility, the extension should support the same
versions of Python that Flask supports. 3.6+ is recommended as of
2020. Use ``python_requires=">= 3.6"`` in ``setup.py`` to indicate
supported versions.
versions of Python that Flask supports. 3.7+ is recommended as of
December 2021. Use ``python_requires=">= 3.7"`` in ``setup.py`` to
indicate supported versions.
.. _PyPI: https://pypi.org/search/?c=Framework+%3A%3A+Flask
.. _mailinglist: https://mail.python.org/mailman/listinfo/flask

View file

@ -6,9 +6,7 @@ Python Version
--------------
We recommend using the latest version of Python. Flask supports Python
3.6 and newer.
``async`` support in Flask requires Python 3.7+ for ``contextvars.ContextVar``.
3.7 and newer.
Dependencies