* passenv fixed as space separated list is not allowed any more
* doc target uses requirements from requirements.txt as well as
doc/requirements
* skipsdist is not supported
Change-Id: Ib60d63499fd021d9ec25357d20685573b18ade3e
The oslotest package distributes a shell file that may be used to assist
in debugging python code. The shell file uses testtools, and supports
debugging with pdb.
To enable debugging, run tox with the debug environment. Below are the
following ways to run it.
* tox -e debug module
* tox -e debug module.test_class
* tox -e debug module.test_class.test_method
Signed-off-by: Yadnesh Kulkarni <ykulkarn@redhat.com>
Change-Id: I7015ab52ba3f5075b5e06992bb8d72f52104a24e
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Add release notes and update the python
classifier for the same.
[1] https://governance.openstack.org/tc/reference/runtimes/zed.html
Co-Authored-By: Ghanshyam Mann <gmann@ghanshyammann.com>
Change-Id: Ieec37d300bca0c78f9420657066b1c60a64911e9
Update the URL to the upper-constraints file to point to the redirect
rule on releases.openstack.org
Change-Id: If5ce1830aab844fa34ec375e474fa1651693cad9
Tox trying to install latest versions for building releasenotes,
which may not be supported by stable and lower branches,
so should be restricted by respective version's upper-constraints.txt
Change-Id: If0b3ecffaccff9512ec43b853a8a6eaa8088251e
hacking 3.0.1 fix the pinning of flake8 to avoid bringing in a new
version with new checks.
bumping the min version for hacking so that any older hacking versions
which auto adopt the new checks are not used.
Change-Id: I8189569f3f9f770bf623fabbdee2ef5dc0554d84
Tox trying to install latest versions for building docs which may
not be supported by stable and lower branches, so should be
restricted by respective version's upper-constraints.txt
Change-Id: Ica00ee97b12cc3074fbc6394923ed82309fe7466
The docs requirements migrated to doc/requirements.txt
we need not install things from requirements.txt.
Change-Id: Ia08415406b586145bb7c0d6b2fac7c5527032ee9
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Update local hacking checks for new flake8.
Change-Id: I129bc38e6663836e12610dd50a20c74dbc79891c
The commands used by constraints need at least tox 2.0.
Update to reflect reality, which should help with local running of
constraints targets.
Change-Id: Ic6e6b6922309829c7a311bc255a269bd8a458fb7
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: Ieeaf4f9abcb06fdb38fc91fb58d2a684acba7082
stestr is recommended by OpenStack Project Testing Interface for running tests
[1]. This change migrates to stestr for running unit tests and coverage
job. Modified `cover` env allows running it as Zuul job and visualising
its results in Gerrit.
[1] https://governance.openstack.org/tc/reference/pti/python.html#python-test-running
Change-Id: I9e8b79d7a18cd36946daff10abb1a2f43b1aa3a1
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: I6f1df527590d7b9ffdf7dd97c0fedf27f11b9e21
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This patch adds a doc8 check of .rst files to the current pep8 check.
It includes fixes to the .rst files that didn't pass the check.
Change-Id: If159ab37e2f59d7fe9ee1d7c3ebf0f62f030c87f
Co-authored-By: Hoang Trung Hieu <hieuht@vn.fujitsu.com>
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: Ic7ebd51a9a6eb21e9b695a873772a7bc476709e5
check to see we got compute.instance.create.end event.
Depends-On: I455419bd215c45ece19b27317bf10282b48b7a96
Change-Id: I322438f6af123a5c0aa32b181c6f8a4b6151d001
Currently functional tests pass in gate just because some calls are
done on real devstack, and passed by chance. We don't need dsvm at all
with pifpaf.
This change fixes this tests and add bindep.txt file for new gate jobs
without dsvm will be setup to ensure this doesn't happen again.
The tox targets pyXX-psql are renamed pyXX-postgresql to match all other jobs names.
Change-Id: I0e6cfb71cc53a47a11a12b5797fe262f9211ce22