Commit Graph

4 Commits

Author SHA1 Message Date
Ghanshyam Mann f9e75ab187 [ussuri][goal] Updates for python 2.7 drop
OpenStack is dropping the py2.7 support in ussuri cycle.

charm repos need few updates on either py2 drop or updating
ussuri python template, tox.ini etc.

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: I6c752f6302d0340dbecf2cb7fe4e2169139ea041
2020-02-27 22:30:28 -06:00
Camille Rodriguez 1d86353754 Avoid pollution and false positives with tox.ini
- updated the build testenv to build in a tmp directory outside src
- removing sitepackages in tox.ini to avoid test env pollution
- skip_missing_interpreters in tox.ini set to False to avoid false
positives by skipping missing interpreters.

Change-Id: I742a9d013a6ae40eccd6e2d83c20117f1e1a380f
2019-08-28 15:44:58 -04:00
Doug Hellmann 7d0aa4e9a3 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: Iccd9cdb9d1e8f59935ed43fa26826cb6f6d3636b
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:39:28 -04:00
Chris Holcombe 55208193c3 Testing
This adds a tox.ini and various pieces to allow the CI
infrastructure to test this repo.

Change-Id: Ic808064b0009c04e9aba18d6e909851ab7fec3d6
2017-04-06 15:23:45 -07:00