[fix] clean up and update python requirements (#5899)

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser
2026-03-24 21:41:39 +01:00
committed by GitHub
parent ae4b73039f
commit c52d23f262
5 changed files with 5 additions and 37 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ import copy
import logging
import pathlib
from ..compat import tomllib
import tomllib
__all__ = ['Config', 'UNSET', 'SchemaIssue', 'set_global_cfg', 'get_global_cfg']
-16
View File
@@ -1,25 +1,9 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
"""Compatibility with older versions"""
# pylint: disable=unused-import
__all__ = [
"tomllib",
]
import sys
import warnings
# TOML (lib) compatibility
# ------------------------
if sys.version_info >= (3, 11):
import tomllib
else:
import tomli as tomllib
# limiter backward compatibility
# ------------------------------