]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
admin/build-doc: use python3 30664/head
authorKefu Chai <kchai@redhat.com>
Wed, 7 Aug 2019 09:46:13 +0000 (17:46 +0800)
committerNathan Cutler <ncutler@suse.com>
Tue, 1 Oct 2019 13:00:03 +0000 (15:00 +0200)
commitee9e350275a4e9a965ebc3647b8c6b016b6346be
tree210fee7ad420a896eb3546daed70e7092034bcbc
parentf3d0921081b2e3569ec65e0df6a4853b2b405917
admin/build-doc: use python3

to address https://github.com/sphinx-doc/sphinx/issues/3620, we need to
use sphinx with its fix at
https://github.com/sphinx-doc/sphinx/commit/e049f86b2de1cfdf8a74c88dc9593d047c85d5cb
in other words, we need to use sphinx v2.0.0 and up. but sphinx 2.0
requires python >= 3.5, so we have to use python3 for building the
documents.

in this change:

* doc-requirements.txt: install python3 packages on debian derivatives
* build-doc: install python3.6 packages from EPEL7, and use python3
  venv for using sphinx2
* doc-requirements.txt: bump up all python packages to latest
  stable.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit ace8cb15a600daf5261c0ab349b43010a238a1d9)
admin/build-doc
admin/doc-requirements.txt
doc_deps.deb.txt