From: Mike Bayer Date: Wed, 30 Mar 2022 15:40:21 +0000 (-0400) Subject: dont use cyext for sphinx builds X-Git-Tag: rel_2_0_0b1~392 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85a4c7f3d5c6f5a71a705b198e3eaa9affc11ae9;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git dont use cyext for sphinx builds 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 --- diff --git a/doc/build/conf.py b/doc/build/conf.py index d6fc0642c9..10c9c98d4e 100644 --- a/doc/build/conf.py +++ b/doc/build/conf.py @@ -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.