Commit Graph

6 Commits

Author SHA1 Message Date
Alex Kavanagh fec2ad600a Migrate unit tests from testr to stestr
Note the interface doesn't actually have tests yet.  This is just to
remove/migrate from the deprecated testr module.

Change-Id: Ide277e2b2675dc147ecb7e434c595a176e2b58ee
2021-02-10 12:01:36 +00:00
Ghanshyam Mann 47e50853a2 [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: Iebfc4ed12032f5b400ce8e7112f9d429285c5d36
2020-02-27 21:04:42 -06:00
Camille Rodriguez aa58e3ba37 Avoid pollution and false positives with tox.ini
- 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: I211c099fd7ef29024bb650d405332107a9998c4e
2019-08-27 08:59:15 -04:00
Doug Hellmann fc6178f57c 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: I5c830302c4ec1641e72427fa725cf8dfb30696ba
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-10-04 12:42:59 +00:00
Andreas Jaeger fd44f9c73a Update tox to remove deprecated pip option
The job --allow-unverified is obsolete, also python-apt cannot be
installed and is unneeded for current jobs.

Remove so that python installation works.

Change-Id: I0adff13bbf91f324de5762e04d75488ca47f1f36
2018-10-04 12:19:32 +02:00
James Page 8672c63475 Initial cut of interface 2017-01-27 11:10:44 +00:00