From acb21de967635289a56b1d691998883f72850d8d Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 14 Jun 2026 07:36:00 +0000 Subject: [PATCH] Remove stray mypy.fastparse import in EDSD parser MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit edsd.py imported `Match` from `mypy.fastparse`, which made importing the module fail at runtime (`mypy` is a dev-only dependency, and the symbol isn't even exported there). The name was never used — all `match` references are local `re.match` results / walrus assignments — so the import is simply removed. This unblocks importing pydifact.generator.runner. --- pydifact/generator/edsd.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pydifact/generator/edsd.py b/pydifact/generator/edsd.py index 968e111..b3ac93d 100644 --- a/pydifact/generator/edsd.py +++ b/pydifact/generator/edsd.py @@ -4,8 +4,6 @@ from pathlib import Path from typing import List, Dict, Any -from mypy.fastparse import Match - from pydifact.generator.base import UntidBaseParser