9 Commits

Author SHA1 Message Date
Andreas Jaeger
64d0a2a0de Cleanup docs building
a few cleanups:
- Remove obsolete sections from setup.cfg
- Switch to using sphinx-build
- Remove install_command from tox.ini, the default is fine
- Update pbr requirement
- Fix build problems
- Switch to py38 for testing following Victoria testing platforms

Change-Id: I1ff3853020d69aeceb8b81c21ce608b269015ece
2020-06-10 07:49:15 +02:00
Ghanshyam Mann
7aa078296c Fix doc job, pep8 error and remove py27
This commit does multiple fix
1. Doc building still use deprcated oslosphinx and incompatible
version of yasfb which lead to error-

sphinx.errors.ExtensionError: Could not import extension yasfb (exception: cannot import name 'logging')

Replace oslosphinx with openstackdocstheme to fix the error.

2. Switch py27 job with py37
3. fix the pep8 error

Change-Id: I33ad4d0a2924082b7c56ac7c7973ad02ac6e9df5
2019-12-17 18:47:52 +00:00
Zuul
85e7309865 Merge "fix tox python3 overrides" 2018-11-07 07:12:50 +00:00
98k
b736c7cf0d Don't quote {posargs} in tox.ini
Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')

Change-Id: Ie3379b54b354984348a10ec32bf6d245d1c04847
Closes-Bug: #1801816
2018-11-07 06:58:03 +00:00
Doug Hellmann
f8f1f87efa 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: Ife18281cb3f1a28d1ccc52196ca708e7ace14395
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-11-07 06:57:38 +00:00
Vu Cong Tuan
0eacde7e30 Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: I47130ea63d4427074bf51957032c89c55f7a8dcf
2018-07-10 11:18:36 +07:00
xhzhf
1c6a908734 H803 hacking have been deprecated
H803 hacking have been removed since hacking 0.10.
https://github.com/openstack-dev/hacking/blob/master/setup.cfg.
zaqar have remove ignore statement, but don't remove comment
Closes-Bug: #1651112

Change-Id: I4c6ead91e21e36d776b858935f87b61cdee83b6b
2016-12-19 20:03:41 +08:00
wangxiyuan
d2714f739e Fix py27 CI failure
the py27 CI failed due to tox 2.5.0 release. The command
in tox.ini is required now[1].

This patch refactored the code tree to make CI work.

[1]:
1e888ce9b8/CHANGELOG (L40)

Change-Id: Icd90598367e3b529e64d184e78b144e4d075b9a3
2016-11-24 16:28:03 +13:00
Flavio Percoco
b3f450790f Create repo from cookiecutter 2014-06-17 19:18:34 +02:00