Commit Graph

14 Commits

Author SHA1 Message Date
HeroicHitesh 896d04e842 Migrate from testr to stestr
* Replace .testr.conf by .stestr.conf for migration and update
  .gitignore and test-requirements.txt file accordingly
* Use py3 as the default runtime for tox
* Add a new job, openstack-cover-jobs, to run the coverage in Zuul

Signed-off-by: HeroicHitesh <email.hiteshkumar@gmail.com>
Change-Id: I72eebd8adfa2086b7d3a11eedbfe2e69cfd65bcc
2021-04-30 08:05:00 +05:30
Martin Kopec e894b6620a Switch testing to Xena testing runtime
Upating the tetsing template to Xena testing runtime:
https://governance.openstack.org/tc/reference/runtimes/xena.html

Change-Id: Iea244adb47907b688e52afbdfa301c4cfa602a5b
2021-04-29 14:54:30 +00:00
tushargite96 60fc831b64 Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 python 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: I1229f065abfcbbd7a8724c12c0597d6765be9bcd
2021-02-25 23:01:07 +05:30
Lukas Piwowarski 2381d9112d Create tox environment to build pdf documentation
This patch enables building .pdf documentation using new 'pdf-docs'
tox environment. The newly created tox environment creates latex
source codes using sphinx-build and then builds the pdf
documentation using make.

Story: 2006070
Task: 35460

Change-Id: I1f0ca39747e8ef95d2b93cd00214911d4a7408a9
2020-09-24 10:37:45 +02:00
Andreas Jaeger fb7843ec5a Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Update classifiers
- Remove install_command from tox.ini, the default is fine
- Remove babel.cfg, it's not needed anymore.
- Use TOX_CONSTRAINTS_FILE, UPPER_CONSTRAINTS_FILE is obsolete

Change-Id: I235cf10f6a619fa6c41e688a17337385a1034aa2
2020-05-31 16:46:56 +02:00
Masayuki Igawa 920ac73fcc
Add publish-openstack-docs-pti to .zuul.yaml
This commit adds publish-openstack-docs-pti job to .zuul.yaml to verify
the rst files. To build the document, this commit also updates doc
related things such as requirements.txt, conf.py and the docs task in
tox.ini.

Change-Id: I4d1378a1972cad6f965d5cac6567d56828f75fb7
2020-04-22 10:49:23 +09:00
Andreas Jaeger 22a7d65de8 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Change-Id: Ia1bbe6bd173435674075bee595001a7e8aa0d4ec
2020-03-31 02:57:23 +00:00
Ghanshyam Mann 58e562be3a [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

devstack-tools 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://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: Ib520e3e3b4c9eecd9a97112fabe455edb1ad1054
2020-02-03 12:41:30 -06:00
ZhongShengping ae6fb0ab2c Update python 3 unit test job
This is a mechanically generated patch to update unit test job running
under Python 3.

See ML discussion here [1] for context.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html

Change-Id: I67c3ee446195455e588e72aeebc54d54d8556d28
Story: #2004073
Task: #27445
2019-07-01 07:02:14 +00:00
Ghanshyam Mann 873311cd1c Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I25b69bcc166dc72cb25508d9dbb7e2e0af644b66
2019-04-22 03:37:04 +00:00
98k 52855b5c23 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: I15eb789db64c58865fc3dae99a7e83f90c971a60
Closes-Bug:  #1801657
2018-11-06 05:23:28 +00:00
Doug Hellmann 4f1ca7601f 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: I6faa7c3e39f02d765d7ceed4a69490b2092c6fee
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:47:51 -04:00
Sean Dague 36b1e0ff34 start adding parser, only support python3
python3 argparse adds native subparsers, which makes this much easier
to build without external dependencies (which improves load and run
time). 20ms for most operations means we can do 50 / sec. This will be
a slow down from the awk approach, but for larger gains in
readability.
2017-01-16 16:38:07 -05:00
Sean Dague 7955f99443 Initial Cookiecutter Commit. 2017-01-16 08:06:54 -05:00