diff --git a/pyproject.toml b/pyproject.toml index 25625e96b..6a76bfbba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -137,9 +137,6 @@ DEP002 = [ # DEP001: `benchmarks` is the in-repo top-level package imported via the # pytest pythonpath shim; not a PyPI dependency. DEP001 = ["benchmarks"] -# DEP003: tomli is the Py 3.10 fallback for stdlib tomllib in -# src/aelfrice/deferred_feedback.py. Drops when Py 3.10 support drops. -DEP003 = ["tomli"] [dependency-groups] dev = [ diff --git a/src/aelfrice/deferred_feedback.py b/src/aelfrice/deferred_feedback.py index 12ca329e4..5b6c0cc9f 100644 --- a/src/aelfrice/deferred_feedback.py +++ b/src/aelfrice/deferred_feedback.py @@ -43,10 +43,7 @@ from pathlib import Path from typing import IO, Any, Final -try: - import tomllib -except ImportError: # pragma: no cover - py < 3.11 fallback path - import tomli as tomllib # type: ignore[no-redef] +import tomllib from aelfrice.store import MemoryStore