When pbr is imported to handle writing the egg_info file because of
the entry point, it's causing sphinx to get imported. This has a
cascading effect once docutils is trying to be installed on a
system with pbr installed. If some of the imports fail along the way,
allow pbr to continue usefully but without the Sphinx extensions
available. Eventually, when everything is installed, those extensions
will work again when the commands for build_sphinx, etc. are run
separately.
Also slip in a change to reorder the default list of environments run by
tox so the testr database is created using a dbm format available to all
python versions.
Reviewed: https:/ /review. openstack. org/142561 /git.openstack. org/cgit/ openstack- dev/pbr/ commit/ ?id=65f4fafd907 a16ea1952ab7072 676db2e9e0c51d
Committed: https:/
Submitter: Jenkins
Branch: feature/0.10
commit 65f4fafd907a16e a1952ab7072676d b2e9e0c51d
Author: Doug Hellmann <email address hidden>
Date: Wed Dec 17 14:26:03 2014 -0500
Only import sphinx during hook processing
When pbr is imported to handle writing the egg_info file because of
the entry point, it's causing sphinx to get imported. This has a
cascading effect once docutils is trying to be installed on a
system with pbr installed. If some of the imports fail along the way,
allow pbr to continue usefully but without the Sphinx extensions
available. Eventually, when everything is installed, those extensions
will work again when the commands for build_sphinx, etc. are run
separately.
Also slip in a change to reorder the default list of environments run by
tox so the testr database is created using a dbm format available to all
python versions.
Change-Id: I79d67bf41a09d7 e5aad8ed32eaf10 7f139167eb8
Closes-bug: #1403510