]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
remove . in sys.path
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 8 Nov 2023 20:20:24 +0000 (15:20 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 8 Nov 2023 20:21:44 +0000 (15:21 -0500)
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

index 48b76a0bfc960de33ce9e69b72782eb5a982f604..a9ee46c4d12208841eeb0dc91c8d58e2bfaf56c6 100644 (file)
@@ -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 --------------------------------------------------