Currently all unit tests are running against python 3.6, because
the base testenv has python3 set (which points to 3.6). we need
to ignore the base python conflict and let tox chose the specific
version we're looking for testing.
Change-Id: Id5fa9404d27f537d6e4a4296d780f96841a5aca3
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove obsolete sections from setup.cfg
- Remove babel.cfg, this is not needed here at all
- Update requirements, no need for python_version anymore
- Switch to using sphinx-build
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.
- Remove install_command from tox.ini, the default is fine
- Use TOX_CONSTRAINTS_FILE, UPPER_CONSTRAINTS_FILE is obsolete
Change-Id: If3228ad42346d6f405e0c6b6580ecd48a7511525
The repo is Python 3 now, so update hacking to version 2.0 which
supports Python 3.
Fix problems found.
Change-Id: I4cebf81b32bdf285f0d412255984c176140329be
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: I8b0de082c1fa934dfcd6e6db0e28828291f9b667
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: Ie993e7ec39f8f4cb4d809b46122fb479a1dffe4d
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: Id9b20c3ddb141f5237b2a072d89b3ec0786a1dbd
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: Ic956031945091f588b79b344ec1b208dd979305f
murano-pkg-check is now present in upper-constraints.txt, so install command
should be replaced with tools/tox_install.sh
Change-Id: I9099b6c1751006a229a8400d2229daa0c6ea3652