Skip to content
Myr

Require Python 3.3 and higher for extensions

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

Flask and several extensions already supports Python 3.3 and higher. By requiring approved extensions to support Python 3.3 as well we can quickly achieve better Python 3 adoption and make using Python 3 easier for users. The effort of supporting both Python 2.7 and Python 3.3 is small enough that it shouldn't be a problem to require this from extension authors.

authored by Daniel Neuhäuser · committed by Markus Unterwaditzer · parent 3185f44 · Browse files · 1 file+1 added−1 removed
This commit

State

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

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/extensiondev.rst+1 added-1 removed
384 unmodified lines
3857. The extension must have documentation that uses one of the two Flask386 themes for Sphinx documentation.3878. The ``zip_safe`` flag in the setup script must be set to ``False``,388 even if the extension would be safe for zipping.3899. An extension currently has to support Python 2.7.3899. An extension currently has to support Python 2.7, Python 3.3 and higher.390391392.. _ext-import-transition:393
22 unmodified lines