We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54d203e commit 0954e4bCopy full SHA for 0954e4b
scripts/check_version_match.py
@@ -3,7 +3,10 @@
3
from pathlib import Path
4
import subprocess
5
import sys
6
-import tomli
+if sys.version_info >= (3, 11):
7
+ import tomllib as tomli
8
+else:
9
+ import tomli
10
11
12
ROOT = Path(__file__).resolve().parents[1]
0 commit comments