From 82cda05d2edae60e99bfc1df6becdd7fe90656d9 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 8 Nov 2023 15:20:24 -0500 Subject: [PATCH] remove . in sys.path this should not be needed and is causing problems in python 3.12 due to the presence of the "changelog" directory (cherry picked from commit 8faa17d4316772340295a677c54eccf647a221c9) --- doc/build/conf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/build/conf.py b/doc/build/conf.py index 48b76a0bfc..a9ee46c4d1 100644 --- a/doc/build/conf.py +++ b/doc/build/conf.py @@ -20,7 +20,9 @@ import sys # documentation root, use os.path.abspath to make it absolute, like shown here. sys.path.insert(0, os.path.abspath("../../lib")) sys.path.insert(0, os.path.abspath("../..")) # examples -sys.path.insert(0, os.path.abspath(".")) + +# was never needed, does not work as of python 3.12 due to conflicts +#sys.path.insert(0, os.path.abspath(".")) # -- General configuration -------------------------------------------------- -- 2.47.2