neutron/doc
Elod Illes 34239888eb Use constraints for docs tox target and cap hacking
This patch fixes 3 problems to fix gate jobs in Stein.

1. In Stein the docs target started to fail when new release of
   neutron-lib appeared. This is because tox installs neutron and its
   requirements without any constraints. To fix this both the upper
   constraints and neutron requirements needs to be added to
   dependencies of docs target.

2. Patch adjusted to stable/stein and by using upper constraints in
   Stein another sphinx error comes up:

   ../config-services-agent.rst:70:Error in "code-block" directive:
   1 argument(s) required, 0 supplied.

   This also makes the docs build fail so a 'none' argument is added to
   the code-block.

3. Cap hacking in test-requirements.txt

   hacking as a linter is in global requirements blacklist and so is
   not in constraints. Recent release introduced new rules that
   required fix on master, on stable branches we should rather cap to
   the version that was in use during this release development.

Closes-Bug: #1856156
Change-Id: Iea61238f37fdf24c0264f96d104ee0b3b6aec8e2
(cherry picked from commit 07be793435)
(cherry picked from commit d1c4ba5810)
2019-12-18 19:29:04 +01:00
..
source Use constraints for docs tox target and cap hacking 2019-12-18 19:29:04 +01:00
Makefile Merge from launchpad quantum/diablo branch: 2011-09-23 20:17:44 -07:00
requirements.txt Fix bandit and sphinx requirements for stable/stein 2019-05-16 11:33:48 +02:00