Browse Source

[ussuri][goal] Drop python 2.7 support and testing

OpenStack is dropping the py2.7 support in ussuri cycle.

I5377cd516f85b538e89761e3e3b8966d62ae50cd dropped the py27 job, but it
did not clean up the package metadata noted in the goal.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: I7a8dec1e15177e801ed65ed02010bf6b169de000
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
changes/05/717405/1
Sean McGinnis 3 months ago
parent
commit
8bac392178
No known key found for this signature in database GPG Key ID: CE7EE4BFAF8D70C8
2 changed files with 3 additions and 7 deletions
  1. +0
    -2
      setup.cfg
  2. +3
    -5
      tox.ini

+ 0
- 2
setup.cfg View File

@@ -13,8 +13,6 @@ classifier =
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7


+ 3
- 5
tox.ini View File

@@ -1,10 +1,11 @@
[tox]
minversion = 2.0
minversion = 3.1.1
skipsdist = True
envlist = py27,py37,pep8
envlist = py37,pep8

[testenv]
usedevelop = True
basepython = python3
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
@@ -12,7 +13,6 @@ deps = -r{toxinidir}/test-requirements.txt
commands = stestr run --slowest {posargs}

[testenv:venv]
basepython = python3
commands = {posargs}

[testenv:docs]
@@ -24,12 +24,10 @@ commands =
sphinx-build -W --keep-going -b html doc/source doc/build/html

[testenv:pep8]
basepython = python3
deps = flake8
commands = flake8

[testenv:cover]
basepython = python3
setenv =
PYTHON=coverage run --source tripleo_repos --parallel-mode
commands =


Loading…
Cancel
Save