Skip to content

[BUG]: structured doesn't work with python 3.14 due to annotation changes. #67

@svirpridon

Description

@svirpridon

Reproducer

I don't have a minimal reproduction case, but I suspect lots of unit test failures happen if they're run under 3.14. I assume this is related to https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-deferred-annotations.

Removing the metaclass from structured/structured.py's Structured class seems to fix it for me, but I don't need the multiple anonymous _: pad[...] constructs that StructuredMeta attempts to support.

Operating System

Linux

Other

No response

Python Version

Other (specify)

Other

cPython 3.14

structured version

3.1.0

Additional Information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions