Skip to content

Commit d228182

Browse files
committed
fix: dolve import issue in conf doc
1 parent ee7990e commit d228182

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import re
1010
import sys
1111
from pathlib import Path
12-
import importlib
12+
from importlib import metadata
1313

1414
DOCS_DIR = Path(__file__).resolve().parent
1515
ROOT_DIR = DOCS_DIR.parent
@@ -21,7 +21,7 @@
2121
copyright = '2026, The Khiops Team'
2222
author = 'The Khiops Team'
2323
# We want to make sure the docs are built on an installed package only
24-
release = importlib.metadata.version("khisto")
24+
release = metadata.version("khisto")
2525

2626
# -- General configuration ---------------------------------------------------
2727
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

0 commit comments

Comments
 (0)