From 3b2004d0a0ebbe1ee6b85364a2db1e4480302894 Mon Sep 17 00:00:00 2001 From: Serge Koudoro Date: Wed, 13 Sep 2023 21:58:33 -0400 Subject: [PATCH] Update conf.py with tomli --- conf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/conf.py b/conf.py index 99b7457c..0397994b 100644 --- a/conf.py +++ b/conf.py @@ -13,7 +13,10 @@ import os import sys -import tomllib +try: + import tomllib +except ImportError: + import tomli as tomllib from packaging.version import Version