Commit Graph

10 Commits

Author SHA1 Message Date
Andreas Jaeger d0f1a574d5 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

Remove docs requirements from lower-constraints, they are not needed
during install or test but only for docs building.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Fix gitpython requirement to unbreak requirements-check job.

Change-Id: I59215a9cf2efbe4125c33766a791cbc3c6cdf068
2020-05-31 20:03:24 +02:00
zhurong b908aa8a87 Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg:
  * Wheel is not needed for python 3 only repo
  * Some other sections are obsolete
- Update classifiers
- Update requirements, no need for python_version anymore

Change-Id: Ied76eaab93663d66a2d8255e7cab22ad0c46d81b
2020-04-07 01:46:46 -07:00
Ghanshyam Mann 2b2cc45bce [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

murano-agent is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Depends-On: https://review.opendev.org/#/c/693631/
Change-Id: I343c7e7bde76f086e00756be63de48204dcdb0a9
2019-11-25 08:11:31 +00:00
zhurong 46dadfbedd Fix sphinx requirements
Change-Id: I74172aa566b91a627b35bfe68b79fd579490e8b7
2019-05-28 19:28:06 +08:00
zhurong f69ddf31e3 murano-aget PTI docs build
Change-Id: I1959abc012d9d3bb55cd79adc8fee7976fc48041
2018-07-30 10:40:13 +08:00
zhurong 47559e98c5 Fix murano agent docs generate error
Change-Id: I54f547dcb9b8083296e6d7c035ab4ae37103a97e
Closes-Bug: #1781860
2018-07-27 12:01:45 +08:00
zhurong 34c1757f75 switch to openstackdocstheme
Change-Id: I2175582357c86f461b0f1f940915e9306f67ee67
2017-07-07 14:53:19 +03:00
M V P Nitesh 63475f6f63 Fix doc generation for Python3
Fix the Sphinx html_last_updated_fmt for Python3.
The html_last_updated_fmt option is interpeted as a
byte string in python3, causing Sphinx build to break.
This patch makes it utf-8 string.

Change-Id: If22500e42b43f92c44cc2742d946b04a9d6c982f
2017-04-18 18:16:29 +05:30
ting.wang ed07cb345f Replace deprecated library function os.popen() with subprocess
os.popen() is deprecated since python 2.6.
Resolved with use of subprocess module.

Change-Id: Ibf06c3ba8dfd4f2aa3504e891e662337c2fc3d84
Closes-Bug: #1529836
2016-01-13 23:16:13 +08:00
Ruslan Kamaldinov a13ee11cd0 Setup doc build and test infrastructure
This patch adds empty test case to pass the gates of jenkins :)

Change-Id: Ie7be61819229ebfd091fdf578b193bb10a0290ea
2014-06-27 19:04:24 +04:00