Remove Python 2.6 support

OpenStack dropped Python 2.6 support, so let's remove it from setup.cfg
and drop the argparse requirement as it is native in Python >2.7.

Change-Id: I76be413c00bfc64f6f125d7264ee8b4fbe31a5a5
This commit is contained in:
Julien Danjou 2015-01-23 12:29:37 +01:00
parent 299b1c1ccf
commit 55e49af291
5 changed files with 3 additions and 10 deletions

View File

@ -152,6 +152,6 @@ You can run tests using Tox:
$ tox $ tox
This will run tests under Python 2.6, 2.7 and verify `PEP 8 This will run tests under Python 2.7 and verify `PEP 8
<http://www.python.org/dev/peps/pep-0008/>`_ compliance. The identical test <http://www.python.org/dev/peps/pep-0008/>`_ compliance. The identical test
suite is run by OpenStack's Jenkins whenever you send a patch. suite is run by OpenStack's Jenkins whenever you send a patch.

View File

@ -60,18 +60,13 @@ Now create your virtualenv.
$ sudo pip install --upgrade setuptools $ sudo pip install --upgrade setuptools
To run the test suite use the following command. This will run To run the test suite use the following command. This will run
against Python 2.6, Python 2.7 and run the `flake8 against Python 2.7 and run the `flake8
<https://flake8.readthedocs.org>`_ code linting. <https://flake8.readthedocs.org>`_ code linting.
.. code-block:: bash .. code-block:: bash
$ tox $ tox
.. note::
If you only have access to Python 2.6 or 2.7 locally pass
in `-e py26` or `-e py27` respectively.
Configuration Configuration
------------- -------------

View File

@ -4,7 +4,6 @@
pbr>=0.6,!=0.7,<1.0 pbr>=0.6,!=0.7,<1.0
anyjson>=0.3.3 anyjson>=0.3.3
argparse
Babel>=1.3 Babel>=1.3
# The egg=tripleo-heat-templates suffix is needed by pbr's requirements # The egg=tripleo-heat-templates suffix is needed by pbr's requirements
# processing code # processing code

View File

@ -16,7 +16,6 @@ classifier =
Programming Language :: Python Programming Language :: Python
Programming Language :: Python :: 2 Programming Language :: Python :: 2
Programming Language :: Python :: 2.7 Programming Language :: Python :: 2.7
Programming Language :: Python :: 2.6
[files] [files]
packages = packages =

View File

@ -1,7 +1,7 @@
[tox] [tox]
minversion = 1.6 minversion = 1.6
skipsdist = True skipsdist = True
envlist = py26,py27,pep8 envlist = py27,pep8
[testenv] [testenv]
usedevelop = True usedevelop = True