]> 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:20:24 +0000 (15:20 -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 89f531bdc802a0dd0614d4d9a020c7945cb10b8e..e8a4b57a5e57ec042295fe9ed65c5a7c25bcd5a4 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("."))
 
 
 os.environ["DISABLE_SQLALCHEMY_CEXT_RUNTIME"] = "true"