]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
dont use cyext for sphinx builds
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 30 Mar 2022 15:40:21 +0000 (11:40 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 30 Mar 2022 15:40:21 +0000 (11:40 -0400)
if these files are stale, imports fail and the build
silently excludes docstrings.  also , typing / docstrings
are generally in the _py version of things, so just
don't include cyexts in doc builds.

Change-Id: Ibec927c7646d4b870a84a297d1b199ccecf3afef

doc/build/conf.py

index d6fc0642c9c3d339eebddaefe1efe138ce8008bf..10c9c98d4ebd0c1dd446929893dd598f19089d2a 100644 (file)
@@ -23,6 +23,8 @@ sys.path.insert(0, os.path.abspath("../.."))  # examples
 sys.path.insert(0, os.path.abspath("."))
 
 
+os.environ["DISABLE_SQLALCHEMY_CEXT_RUNTIME"] = "true"
+
 # -- General configuration --------------------------------------------------
 
 # If your documentation needs a minimal Sphinx version, state it here.