File: fix-wrong-syspath-in-docs-conf.py.patch

package info (click to toggle)
tempest 1%3A45.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,876 kB
  • sloc: python: 86,749; sh: 174; makefile: 59
file content (17 lines) | stat: -rw-r--r-- 814 bytes parent folder | download
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 -----------------------------------------------------