diff --git a/docs/source/conf.py b/docs/source/conf.py index bda9b3b..e803448 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -54,9 +54,9 @@ # built documents. # # The short X.Y version. -import tomli +import tomllib with open("../../pyproject.toml", "rb") as f: - toml_dict = tomli.load(f) + toml_dict = tomllib.load(f) version = toml_dict['project']['version'] # The full version, including alpha/beta/rc tags. release = version diff --git a/requirements.txt b/requirements.txt index 5901c35..f7e33c7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,5 +4,4 @@ wheel Cython Sphinx flake8 -tomli pytest>=8.0.0