From 3ace6470f72fb3feb60bf63c03188db9aafdce9a Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Sep 18 2018 12:46:04 +0000 Subject: Fix the regex used to retrieve the version when building the doc While running python-black on the sources the quotes have been changed leading to the regex no longer working as expected. This commit fixes this Signed-off-by: Karsten Hopp --- diff --git a/doc/conf.py b/doc/conf.py index 9af8e95..b683916 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -22,7 +22,7 @@ pagurefile = os.path.join( # https://github.com/zzzeek/sqlalchemy/blob/master/setup.py#L104 with open(pagurefile) as stream: VERSION = re.compile( - r".*__version__ = '(.*?)'", re.S + r".*__version__ = \"(.*?)\"", re.S ).match(stream.read()).group(1) # If extensions (or modules to document with autodoc) are in another