]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
admin/build-doc: use python3 30663/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 12:50:19 +0000 (14:50 +0200)
commita5127318cf2feb12b5fd61aeed35b48bc31b4e34
tree5df74555bb2c7b393cd8117ea66295876e26c1b3
parentf54837635321a2b02d04789d620280f1c1840edf
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)

Conflicts:
admin/doc-requirements.txt
admin/build-doc
admin/doc-requirements.txt
doc_deps.deb.txt