1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Description: Fix wrong PYTHONPATH syspath in doc's conf.py
Adding /tempest in syspath makes tempest.cmd clash with system's
"cmd" module, imported by Sphinx 8.2.3.
Author: Thomas Goirand <zigo@debian.org>
Forwarded: https://review.opendev.org/c/openstack/tempest/+/959390
Last-Update: 2025-09-03
--- tempest-44.0.0.orig/doc/source/conf.py
+++ tempest-44.0.0/doc/source/conf.py
@@ -44,7 +44,6 @@ def setup(app):
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
# sys.path.insert(0, os.path.abspath('.'))
-sys.path.insert(0, os.path.abspath('../../tempest'))
sys.path.insert(0, os.path.abspath('../../tempest/api'))
# -- General configuration -----------------------------------------------------
|