From fcafad1f70fb6cd949902d1956cc42547ebb59ee Mon Sep 17 00:00:00 2001 From: Catherine Date: Wed, 13 Sep 2023 14:55:23 +0000 Subject: [PATCH] hdl.ir: Elaboratable does not need ABCMeta as its metaclass. This was introduced in commit 44711b7d, and was never used within Amaranth itself. While technically a breaking change I think this will not cause enough breakage to warrant a deprecation cycle (nor can we make this a deprecation this without a lot of work). --- amaranth/hdl/ir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amaranth/hdl/ir.py b/amaranth/hdl/ir.py index bd1c54f..e12d271 100644 --- a/amaranth/hdl/ir.py +++ b/amaranth/hdl/ir.py @@ -20,7 +20,7 @@ class UnusedElaboratable(UnusedMustUse): _MustUse__silence = True -class Elaboratable(MustUse, metaclass=ABCMeta): +class Elaboratable(MustUse): _MustUse__warning = UnusedElaboratable