Skip to content

Commit acc36f8

Browse files
committed
fix: solve name conflict in doc conf on version var
1 parent 620aa6f commit acc36f8

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-
from importlib.metadata import version
12+
import importlib
1313

1414
DOCS_DIR = Path(__file__).resolve().parent
1515
ROOT_DIR = DOCS_DIR.parent
@@ -20,7 +20,7 @@
2020
project = 'khisto-python'
2121
copyright = '2026, The Khiops Team'
2222
author = 'The Khiops Team'
23-
release = version("khisto")
23+
release = importlib.metadata.version("khisto")
2424

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

0 commit comments

Comments
 (0)