]> 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:22:06 +0000 (15:22 -0500)
this should not be needed and is causing problems in python
3.12 due to the presence of the "changelog" directory

doc/build/conf.py

index dc85b616829cb784fe400e7863ab92d083eb0be8..afaa43ae28d25282836029ecf9844a989222bf22 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 --------------------------------------------------