Skip to content

Commit 6f2be6f

Browse files
committed
tomli is integrated as tomllib since Python 3.11
1 parent fbfc559 commit 6f2be6f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@
5454
# built documents.
5555
#
5656
# The short X.Y version.
57-
import tomli
57+
import tomllib
5858
with open("../../pyproject.toml", "rb") as f:
59-
toml_dict = tomli.load(f)
59+
toml_dict = tomllib.load(f)
6060
version = toml_dict['project']['version']
6161
# The full version, including alpha/beta/rc tags.
6262
release = version

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ wheel
44
Cython
55
Sphinx
66
flake8
7-
tomli
87
pytest>=8.0.0

0 commit comments

Comments
 (0)