remove runtime dep on sphinx

in rally/common/plugin/info replace sphinx prepare_docstring
with trim function from PEP-257 reference implementation

Also move Sphinx from requirements to test-requirements
Added several unittests for PEP-257 trim function

Change-Id: I9f13906cbb3ea9212a78b5bed178e15780001caf
This commit is contained in:
Jon Schlueter 2017-07-14 12:56:49 -04:00
parent 05b171c195
commit 54999fd5fd
2 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,6 @@ PyYAML>=3.10.0,<=3.12 # MIT
python-subunit>=0.0.18,<=1.2.0
requests>=2.14.2,<=2.18.1 # Apache License, Version 2.0
SQLAlchemy>=1.0.10,!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8,<=1.1.11 # MIT
sphinx>=1.6.2,<=1.6.3 # BSD
six>=1.9.0,<=1.10.0 # MIT
virtualenv>=13.1.0,<=15.1.0 # MIT

View File

@ -18,6 +18,7 @@ mock>=2.0,<=2.0.0
python-dateutil>=2.4.2,<=2.6.0 # Simplified BSD
testtools>=1.4.0,<=2.3.0
sphinx>=1.6.2,<=1.6.3 # BSD
oslosphinx>=4.7.0,<=4.15.0 # Apache Software License
oslotest>=1.10.0,<=2.16.0 # Apache Software License