As recommended, since version 3.2.0 tox switches pip invocations
to use the module -m pip instead of direct invocation.
We set min version to 3.2.1 [1] to also fix the behavior of
--parallel--safe-build
[1] https://tox.readthedocs.io/en/latest/changelog.html#v3-2-1-2018-08-10
Change-Id: I7a791c8239ae54b74e714145a69e9af00c96bc6f
Update docs building:
* Switch to sphinx-build
* Update requirements for Sphinx and openstackdocstheme for
python 3, create doc/requirements.txt file.
* Remove unneeded doc and translation sections from setup.cfg
* Remove install_command, it's unneeded, the default is fine.
* Use TOX_CONSTRAINTS instead of obsolete UPPER_CONSTRAINTS
Change-Id: I6ff4427014fc967a6f7b28fc6cbe5a0f4eca601c
Full py3 compatible version.
Add all Python3 modules to stdlib list.
Also includes fix to an enum34 dependency bug.
Change-Id: I0df965d62f2f431a145bcf16cdd7e3401f226f6f
The new version enables a lot of standard flake8 checks, so a few
fixes are required. W503 is disabled as it conflicts with W504
and the latter seems to be preferred nowadays.
Change-Id: I3b1e20193a2cb3d28046ad0f2008577a95aaaefd
- Removes py3 env since we don't run unit tests
- Update requirements to use stestr and coverage
- Update tox.ini to use stestr
Change-Id: Iecb18a3e616173217b7edb756dcaabd8df009629
Since removing support for Python 2, we changed the basepython
value to 3.
This means that all the tox tests run with the default python
version available in the system.
This is not quite correct when running on environment such as
py36, py37 or py38, since they imply running with different
Python versions based on the environment.
To enforce the correct version we need to add the option
ignore_basepython_conflict available since tox 3.1.0 [0].
[0] https://tox.readthedocs.io/en/latest/config.html#conf-ignore_basepython_conflict
Change-Id: Ifcf0cab0b3f6a828a756ca8e5efe6e262c20fe30
Add a script to extract the ironic_tempest_plugin/ directory from the
openstack/ironic repository. Then cherry-pick all of those commits
into this repository.
Also make ironic_tempest_plugins/__init__.py an empty file so 'diff'
will be correct.
Remove the following files, so 'diff' will be correct:
ironic_tempest_plugin/tests/base.py
ironic_tempest_plugin/tests/test_ironic_tempest_plugin.py
Ignore E129 errors in flake8, like we do in Ironic. As it will fail
pep8 when we import all the upcoming patches.
Change-Id: I1625128717c8a848c6d673314b09d0a6c9c96679