gabriel / muse public
refactor BREAKING task/drop-future-annotations #1 / 1
AI Agent gabriel · 37 days ago · May 4, 2026 · Diff

refactor: drop from __future__ import annotations (Python 3.14)

PEP 649/749 makes deferred annotation evaluation the default in Python 3.14 — the __future__ import is no longer needed. Removed from all 321 source files across the codebase.

One TYPE_CHECKING guard in core/store.py needed to become a real import: StructuredDelta was behind 'if TYPE_CHECKING' which was fine when annotations were strings, but PEP 649 evaluates annotations on access. Moved to a direct runtime import.

sha256:347341f1f0c62a3db3025786dd80af07cb7073f8dea5907d6c709566c5fa4761 sha
sha256:cf5c1c8d49e232d0938bb9ffb7a3acef6aff669c3d4dec6d96148a5dcc2067d0 snapshot
← Older Oldest on task/drop-future-annotations
All commits
Newer → Latest on task/drop-future-annotations

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:347341f1f0c62a3db3025786dd80af07cb7073f8dea5907d6c709566c5fa4761 --body "your comment"