Commit Graph

7 Commits

Author SHA1 Message Date
Andreas Jaeger 80aa69fb76 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.

Disable openstackdocs_auto_name to use 'project' variable as name.

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.

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

Change-Id: Ib09fb7435a88f15147befd4448279d5b82bd3fcc
2020-05-31 19:46:42 +02:00
Andreas Jaeger 7b6b0535b0 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
- Update classifiers
- Update requirements, no need for python_version anymore

Change-Id: Ic79312278978ecb5d93386fa9f4261be037611ed
2020-04-05 09:57:16 +02:00
Ghanshyam Mann fc8c53f221 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

monasca-notification 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: Ic69f559bc0bcd791fa33a978cd27cf1de10dba2d
2019-11-16 16:58:11 +00:00
pengyuesheng f062546cba Blacklist sphinx 2.1.0 (autodoc bug)
See https://github.com/sphinx-doc/sphinx/issues/6440 for upstream details

Change-Id: Id834a962ea869aa0d60295fbb6d45e0895400e96
2019-10-25 09:38:24 +08:00
pengyuesheng f92e2100fc Bump the openstackdocstheme extension to 1.20
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.

Change-Id: Ia8c60dfacd03a3e1aa983ae8ea9ca2eeb452a463
2019-10-11 16:57:32 +08:00
Witek Bedyk 1837192534 Blacklist bandit and update sphinx requirement
The change blacklists the buggy version of bandit (1.6.0) and syncs
sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.

Change-Id: I21c8a7ef793874a5ab7a4d277c9c3eb13896503d
Story: 2005676
Task: 30990
2019-05-15 15:56:49 +02:00
Witek Bedyk 0f316afc87 Configure releasenotes job
Change-Id: Iedd229fa9669d0b6d6d59eb111a44bdf1d0bc80e
2019-02-01 09:40:26 +01:00