The docs requirements migrated to doc/requirements.txt
we need not install things from requirements.txt.
Change-Id: Ifea731db4ddeef1dc2216bc10182d273e5aceef0
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Change-Id: I9855d7ad0787a0ad456718cafa97044fddc67ac1
Python 3.8 is now our highest level supported python runtime.
This updates the default tox target environments to swap out
py37 for py38 to make sure local development testing is
covering this version.
This does not impact zuul jobs in any way, nor prevent local
tests against py37. It just changes the default if none is
explicitly provided.
Change-Id: I3f05b92adc97ca150157fff0be8649e97f89db99
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
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: I519f191381b4eb423cdec72bda2a62106a99c236
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: I81ec9b4271d40036f0c680d10c481cabfd2245e8
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: If58f9473978c6dd66834cc10e86a1cefc5c34cd2
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.
Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.
Add openstack-tox-lower-constraints job to the zuul configuration.
See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.
Change-Id: Ib0e088b93c0588c8d083d32e398c3a4b1b7186cf
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
We do not need tox_install.sh, pip can handle constraints itself
and install the project correctly. Thus update tox.ini and remove
the now obsolete tools/tox_install.sh file.
This follows https://review.openstack.org/#/c/508061 to remove
tools/tox_install.sh.
Change-Id: I960a7906e78b804cbda60ccf5a8a932a0af66aea
Some of the available checks are disabled by default, like:
[H106] Don’t put vim configuration in source files
[H203] Use assertIs(Not)None to check for None
Change-Id: Ie447f14aed895d58eb27701e55febf548292f63d
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.
Change-Id: I1a3537f2e07e2e3c1172cb4e0353f9ea859942f9
Adding constraints support to libraries is slightly more complex than
services as the libraries themselves are listed in upper-constraints.txt
which leads to errors that you can't install a specific version and a
constrained version.
This change adds constraints support by also adding a helper script to
edit the constraints to remove python-senlinclient.
Change-Id: I4bd58470b786d92fa39feb0d7623037ab2489cf1
The *openstack/common* was used to keep codes from oslo-incubator,
but oslo-incubator was ignore in oslo3.11.0. So I think we needn't
use it any more. Here is the oslo.utils CHANGES link:
http://docs.openstack.org/developer/oslo.utils/history.html
Change-Id: I828fbf5b1ee1435a85ffe5eb2295064b36064295
This patch fixes problem found after sdk version 0.9.1 which includes a
new implementation of senlin cluster resources.
Change-Id: I67b265731f34080df85233dac09c1256f43aecdb
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv.
Change-Id: I130c613af2ecba8015ef8326b53d9cd8719c33c4
Add py34 to tox.ini.
if encounter with error 'db type could not be determined',
please remove .testrepository/ and .tox/ first, then run
'tox -e py34'
Change-Id: Ia1ef4464d0c8ac4cae5af0ef608ea1852599c1b3
as of mitaka, the infra team won't have the resources available to
reasonably test py26, also the oslo team is dropping py26 support
from their libraries. sine we rely on oslo for a lot of our work,
and depend on infra for our CI, we should drop py26 support too.
Change-Id: I31bb7a18a1793b2664cc924777801e16e4105192
Closes-Bug: 1519510