Browse Source

Drop unsupported Python 3.3

pull/2486/head
hugovk 7 years ago
parent
commit
d25618953c
  1. 2
      .travis.yml
  2. 4
      CONTRIBUTING.rst
  3. 2
      docs/extensiondev.rst
  4. 2
      docs/installation.rst
  5. 2
      docs/python3.rst
  6. 1
      setup.py
  7. 6
      tox.ini

2
.travis.yml

@ -9,8 +9,6 @@ matrix:
env: TOXENV=py,codecov env: TOXENV=py,codecov
- python: 3.4 - python: 3.4
env: TOXENV=py,codecov env: TOXENV=py,codecov
- python: 3.3
env: TOXENV=py,codecov
- python: 2.7 - python: 2.7
env: TOXENV=py,codecov env: TOXENV=py,codecov
- python: pypy - python: pypy

4
CONTRIBUTING.rst

@ -109,8 +109,8 @@ depends on which part of Flask you're working on. Travis-CI will run the full
suite when you submit your pull request. suite when you submit your pull request.
The full test suite takes a long time to run because it tests multiple The full test suite takes a long time to run because it tests multiple
combinations of Python and dependencies. You need to have Python 2.7, 3.3, combinations of Python and dependencies. You need to have Python 2.7,
3.4, 3.5 3.6, and PyPy 2.7 installed to run all of the environments. Then run:: 3.4, 3.5, 3.6, and PyPy 2.7 installed to run all of the environments. Then run::
tox tox

2
docs/extensiondev.rst

@ -383,7 +383,7 @@ extension to be approved you have to follow these guidelines:
(``PackageName==dev``). (``PackageName==dev``).
9. The ``zip_safe`` flag in the setup script must be set to ``False``, 9. The ``zip_safe`` flag in the setup script must be set to ``False``,
even if the extension would be safe for zipping. even if the extension would be safe for zipping.
10. An extension currently has to support Python 2.7, Python 3.3 and higher. 10. An extension currently has to support Python 2.7, Python 3.4 and higher.

2
docs/installation.rst

@ -6,7 +6,7 @@ Installation
Python Version Python Version
-------------- --------------
We recommend using the latest version of Python 3. Flask supports Python 3.3 We recommend using the latest version of Python 3. Flask supports Python 3.4
and newer, Python 2.7 and PyPy. and newer, Python 2.7 and PyPy.
Dependencies Dependencies

2
docs/python3.rst

@ -7,7 +7,7 @@ Flask, its dependencies, and most Flask extensions support Python 3.
You should start using Python 3 for your next project, You should start using Python 3 for your next project,
but there are a few things to be aware of. but there are a few things to be aware of.
You need to use Python 3.3 or higher. 3.2 and older are *not* supported. You need to use Python 3.4 or higher. 3.3 and older are *not* supported.
You should use the latest versions of all Flask-related packages. You should use the latest versions of all Flask-related packages.
Flask 0.10 and Werkzeug 0.9 were the first versions to introduce Python 3 support. Flask 0.10 and Werkzeug 0.9 were the first versions to introduce Python 3 support.

1
setup.py

@ -97,7 +97,6 @@ setup(
'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',

6
tox.ini

@ -1,9 +1,9 @@
[tox] [tox]
envlist = envlist =
py{36,35,34,33,27,py} py{36,35,34,27,py}
py{36,27,py}-simplejson py{36,27,py}-simplejson
py{36,33,27,py}-devel py{36,27,py}-devel
py{36,33,27,py}-lowest py{36,27,py}-lowest
docs-html docs-html
coverage-report coverage-report

Loading…
Cancel
Save