From 39bb20ab44203009ae392abe4627b22fc6dea520 Mon Sep 17 00:00:00 2001 From: Brian Koopman Date: Wed, 25 Sep 2024 11:03:19 -0400 Subject: [PATCH] Fix how readthedocs imports socs version --- docs/conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 40fc546cc..1f0752d7b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -16,7 +16,7 @@ import sys sys.path.insert(0, os.path.abspath('..')) -from socs._version import get_versions +from socs import __version__ as socs_version # -- Project information ----------------------------------------------------- @@ -25,9 +25,9 @@ author = 'Simons Observatory DAQ Group' # The short X.Y version. -version = get_versions()['version'] +version = socs_version # The full version, including alpha/beta/rc tags. -release = version +release = socs_version # -- General configuration ---------------------------------------------------