16 Commits

Author SHA1 Message Date
Dantali0n
869e107bb9 Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 in order to
replace tox's whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23

Change-Id: Ibcec688515a595b016f2832e49343b9053821304
2021-07-06 12:53:45 +02:00
Zuul
a2e2b36086 Merge "Manage constraints with testenv install_command" 2021-07-06 07:24:59 +00:00
Dantali0n
f50fe604ac Manage constraints with testenv install_command
This prevents having to duplicate the -c{} deps argument
across all environments in tox.ini

In addition this switches to stestr instead of testing
through setup.py

Change-Id: I3d0b6ca81be88660dcbbbeed0c3705771b258cb2
2021-07-02 12:03:00 +02:00
liyou01
1346d3e237 Use py3 as the default runtime for tox
Moving on py3 as the default runtime for tox to avoid to update this at each new cycle.

Wallaby support officially the following runtimes [1]:
- Python 3.8

During Victoria Python 3.7 was used as the default runtime [2] however this version isn't longer officially supported.

Change-Id: Ia5ab41670c8f341126a730af54f7ece9b6b79f73
2021-06-30 17:09:38 +00:00
Dantali0n
f66397a3cc Fix zuul builds with dependencies and pep8 rules
This updates hacking to 3.2 thereby removing the pyflakes
dependency. In addition pep8 rules W503 is disabled in
favor of the more recent W504.

Co-authored-by: limin.lc <limin.lc@inspur.com>
Change-Id: Id274b1b577b12a7dc1e659949b08b05ddfc661e8
2021-06-30 17:08:40 +00:00
root
95a6f9568c Bump py37 to py38 in tox.ini
In 'victoria' cycle, we should test py38 by default.

ref:
  https://governance.openstack.org/tc/reference/runtimes/victoria.html

Change-Id: I6daf6b8ec46baf0a0a87d20df29cf29f57d3d086
2020-10-12 07:32:09 +00:00
zhangbailin
4ebf571aad Cleanup py27 support
Make a few cleanups:
- 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
- Update classifiers
- Update requirements, no need for python_version anymore
- Use modern sphinx-build for docs building, update openstackdocstheme

Change-Id: I627fdb0db6a673f382916097a47cad7066ccd10a
2020-04-05 14:56:26 +08:00
Ghanshyam Mann
2758cfd305 Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

watcher-tempest-plugin is ready with python 3 and ok to drop the
python 2.7 support.

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://review.opendev.org/#/c/691178/

Change-Id: I9673003311450847c2ba2321cda93353898e6469
2020-01-22 22:20:22 +00:00
licanwei
569bf8541b Build pdf docs
Add a new pdf-docs environment to enable PDF build.

Change-Id: I8de5b3eb32532cd95b9ee50b982030147efad107
2019-09-17 01:25:32 -07:00
Vieri
ecd3714bcf 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

Co-Authored-By: qingszhao <zhao.daqing@99cloud.net>

Change-Id: I2b447c801291c78a70a6c9e362c7e63a2890986b
2019-08-14 09:12:07 +00:00
chenke
046df8b8f9 Switch to the new canonical constraints URL on master
Reference:
1. http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html
2. https://review.opendev.org/#/c/601188

Change-Id: I8d0760ce4c44cafb004deb88b15185f140b9cb5d
2019-06-14 19:51:12 +08:00
zhulingjie
8fcb9a1ad2 Replace git.openstack.org URLs with opendev.org URLs
Thorough replacement of git.openstack.org URLs with their opendev.org
counterparts.

Change-Id: Ic77d56c85cd1130610809d833f7c5f9e5e34d8a2
2019-04-25 08:36:54 +02:00
98k
565c253a30 Add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I7afa904c2cc3b736d966de6c08a3acac91460cf3
2018-11-09 04:29:18 +00:00
qingszhao
2533803d56 Removed older version of python added 3.5
In setup.cfg file the python 3.5 is added
In tox.ini the python 3.5 is added

Change-Id: If707a85d05fdf998955e364a3e6f03f665d88e57
Closes-Bug:  #1801855
2018-11-06 06:35:00 +00:00
qingszhao
8572abf0bc 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: I9e3ac24554b288f2df394cdf2262cc181af9a82b
2018-06-12 14:04:33 +08:00
Alexander Chadin
5ce0ada604 Apply cookiecutter
This patch set is one of the steps to split up watcher and
its tempest tests.
2017-08-04 16:46:20 +03:00