UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.
Change-Id: I1d14ad2649aa65a74876809b7e3e448adb1ce3dc
In Ib226cbf9fc1fb7d3146083d65c44d8e0b80e2a7b we were introduced the doc8
check, but the configuration in cyborg/tox.ini is incorrect. This patch
will combine the doc8 check in [testenv:docs] to fix 'tox -e doc8' error.
Story: 2008084
Task: 40785
Change-Id: I9eb30de1407022a31086caab265e5e51e3d06bf9
1.Sync sphinx dependency with global requirements. It caps python 2
since sphinx 2.0 no longer supports Python 2.7.
2. Switch to using modern sphinx-build.
3. Remove oslotest, testtools packages from test-requirements.txt,
their not used.
Change-Id: Ia25e4a06ca2ec4e0018d5763e0946ded704b521b
In tox.ini, while we add a new test class, we need default
depends on python3, this patch move 'basepython = python3'
to the [testenv] as the default configuration.
The py35,py27 in envlist are unused in this project, so I
was also removed that in this patch.
Change-Id: Ib226cbf9fc1fb7d3146083d65c33d9e0b90e4d5b
Current cyborg-specs has no check for trailing whitespace, which is
found in patch[0]. Trailing whitespace is a big deal,we should avoid
that. This patch:
1. added doc8 check
2. fixed doc8 failures caused by previous merged specs
[0]:https://review.opendev.org/#/c/699099/7/specs/ussuri/policy-defaults-refresh.rst
Change-Id: Ib226cbf9fc1fb7d3146083d65c44d8e0b80e2a7b
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: I3ef38d70bfa66fdb210f68175f3b4c361d292a4e