cinder/releasenotes/notes/drop-py2-377a91a5b66165ab.yaml
Brian Rosmaita c93000b2cd Remove Python 2 support from testing and gate jobs
tox:
- bumped tox minversion to 3.1.0 to get 'ignore_basepython_conflict'
- tox 'ignore_basepython_conflict' allows us to factor basepython=
  python3 to the [testenv] but override it when using '-e py37'
  (that way you actually get python 3.7 instead of whatever the system
  has for python3)
gate:
- adjusted tempest-dsvm-lvm-lio-barbican to use python 3 for devstack
- removed openstack-python-jobs template as these tests are covered
  in py3 by openstack-python3-ussuri-jobs
- dropped integrated-gate template as these tests are covered by the
  integrated-gate-storage template, which is already python3
- dropped tempest-full jobs as these are covered in py3 by tempest-
  integrated-storage
- changed openstack-tox-functional to openstack-tox-functional-py37
  and made it voting

The legacy-grenade-dsvm-cinder-mn-sub-* jobs are converted to py3
in a different patch, https://review.opendev.org/#/c/695787/

Left py2 requirements and did not adjust setup.cfg to require py3.
This prevents breakage for any projects still installing cinder under
py2.  These can be changed by a follow up patch in January.

Co-authored-by: Sean McGinnis <sean.mcginnis@gmail.com>
Co-authored-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>

Closes-bug: #1853372

Change-Id: I376bd708ecc864f29c35b7225f875bb20a98cd3c
2019-11-25 13:31:32 -05:00

7 lines
201 B
YAML

---
upgrade:
- |
Python 2.7 support has been dropped. The last release of Cinder to support
py2.7 is OpenStack Train. The minimum version of Python now supported by
Cinder is Python 3.6.