Versions of hacking from 3.1.0 until 4.0.0 NOT included are supposed
to require a safe version of flake8, so besides normale issues related
to minor version upgrades, we can safely use those versions.
Also forcing pycodestyle versions to be compatible with flake8 installed
by hacking.
Change-Id: Idb66f2ae0105308747cdf3046b09a22bdf691ea3
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.
Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.
To avoid similar gate break in future, we need to bump the hacking min
version.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: I90fa5ab8085a07c3f19b32cfdbbeb6bfe3953087
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
Following recent changes to global requirements [1], we need
to update sphinx requirements locally.
[1] If558f184c959e4b63b56dec3ca1571d1034cfe5c
Change-Id: I9bd0ab95e425fbfd108f4805d3a223147591d822
Removing oslosphinx from docs requirements.
If any extensions is needed for building docs we should rely on
the openstackdocstheme or directly on sphinx modules.
Change-Id: I1d9e9f856b28686de1f65c5c4fc951d83dba6b7a
* Removed unnecessary test-requirements since tempest plugin
contains integration tests not unit tests.
Change-Id: If1c32967b5aafc70840861b28639fee3e9a03561