junrushao opened a new pull request, #718: URL: https://github.com/apache/tvm-ffi/pull/718
## Summary - use `typing_extensions.get_annotations` for class-local annotations across Python versions - preserve decorated enum subclass identity under static type checking - keep `converter` in dataclass-transform metadata without passing an unsupported decorator keyword - raise the minimum `typing-extensions` version to the release that provides `get_annotations` This branch contains only the content of commit `3c6003f0809174477004ccf900108e2b893ae126`, replayed independently onto current Apache `main`. ## Testing - `uv run pytest -q tests/python/test_dataclass_c_class.py::test_c_class_dataclass_transform_has_converter tests/python/test_dataclass_py_class.py::test_py_class_dataclass_transform_has_converter` - changed-file pre-commit hooks -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
