Commit Graph

12 Commits

Author SHA1 Message Date
Emilien Macchi d0e81c22ca Retire Paunch
Change-Id: I8b2e9e20e477f2f00ad922f03e82114ff13212fe
2020-06-15 10:07:12 -04:00
pengyuesheng c78160c652 Drop python 2.7 support and testing
Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Remove explicit listed jobs from check queue, they are in the templates.

- Update jobs
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg:
  * Wheel is not needed for python 3 only repo
  * Some other sections are obsolete
- Update classifiers
- Update requirements, no need for python_version anymore

Co-Authored-By: Andreas Jaeger <aj@suse.com>
Change-Id: I4a1976c78b0fe69cc1b423c516d557838cb6d59b
2020-04-23 08:40:02 +00:00
Wes Hayutin b2a8afb770 remove py27 in tox.ini from paunch
Remove python 2 from envlist parameter. Check the link:

https://etherpad.openstack.org/p/drop-python2-support
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

The plan is drop the python 2 support from OpenStack in Ussuri release.
Move the basepython parameter.

Change-Id: I78a9fa945fb8f680a62f68e4b10833e0be233ee6
2020-04-01 21:33:54 -06:00
Natal Ngétal b03bdce322 [Configuration] Switch to stestr.
According to OpenStack summit session, stestr is maintained project to
which all OpenStack projects should migrate.

Change-Id: I4532d02c7298b4e9e19ef079cfb1a365d4d56693
2019-08-23 13:19:26 +02:00
Corey Bryant 66000cfdf0 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: I7dae23ccd677652a05a89346c2dc8f8d9d2dfffc
Story: #2005924
Task: #34253
2019-07-19 14:38:25 -04:00
Alex Schultz 87ab8dc78b Add upper constraints for testing
Change-Id: Ib6fe3fc740f5244b97fe19dd7b52b14790257965
2019-06-14 08:36:47 -06:00
Cédric Jeanneret efb015c143 Fix doc build
* Ensure doc is built with python3
* Ensures we don't install sphinx outside of doc build

Fixes sphinx requiring python3 issue

Change-Id: I2ef4c3c02e6af8c8b9891b39b59eec1a73c9a1dd
2019-05-20 10:36:27 +02:00
Natal Ngétal a3da968c59 [Configuration] Add missing py37 and corrected default envlist.
Change order of default tox envlist in order of likeliness to fail on a
new change and add py37 and py36.

Change-Id: I45f8ce592e188ecffc09799f209a7c2e8b3edaca
2019-04-16 11:24:55 +02:00
Sorin Sbarnea 7dd3bca83a Allow paunch to be called as a python module
Includes a test that we can succesfully call it as a module in order
to avoid regressions.

This is essential fix related to python3 work as the only way to
enforce a specific python interpreter to be used.

Change-Id: If5c4bda5ddc708bfb3701800cea46e89a026fb6e
Story: https://tree.taiga.io/project/tripleo-ci-board/task/361
2018-11-16 03:01:51 +00:00
huang.zhiping 6d2ec11c43 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: I19d6549d9f9a24012419c440beca53ae97c59fdb
2018-08-07 10:07:04 +00:00
Steve Baker c4a016465b Fix testenv
Change-Id: Id366a7b47c9ae94a0272451ba2d2cd26926bb094
2017-05-23 09:54:08 +12:00
Steve Baker ceed164766 Initial Cookiecutter Commit. 2017-01-25 11:24:31 +13:00