The GitHub Actions job "CI" on tvm-ffi.git/2026-03-02/type-schema-constructor has failed. Run started by GitHub user junrushao (triggered by junrushao).
Head commit for run: c082ec5444d8eebc8954d330e5d7432d7eddde51 / Junru Shao <[email protected]> feat(python)\!: add CAny owned-value wrapper and refactor TypeSchema.convert to return CAny BREAKING CHANGE: TypeSchema.convert() now returns CAny instead of plain Python objects. Callers must use .to_py() to obtain Python values. TypeSchema.try_check_value() and TypeSchema.try_convert() are removed; use the raising variants check_value() and convert() instead. Architecture: - New `cdef class CAny` in object.pxi that owns a TVMFFIAny struct and ref-counts objects in __dealloc__ - CAny.__init__(value) packs any Python value into owned TVMFFIAny via TVMFFIPyPyObjectToFFIAny + TVMFFIAnyViewToOwnedAny - CAny.to_py() converts back via make_ret(), promoting SmallStr/SmallBytes to tvm_ffi.String/Bytes Public interface changes: - TypeSchema.convert() returns CAny (was object) - TypeSchema.try_check_value() removed — use check_value() (raises TypeError) - TypeSchema.try_convert() removed — use convert() (raises TypeError) - New CAny class exported from tvm_ffi and tvm_ffi.core - New TypeSchema.from_annotation() static method - convert().to_py() guarantees FFI types: str -> tvm_ffi.String, bytes -> tvm_ffi.Bytes, containers -> ffi.Array/List/Map/Dict Report URL: https://github.com/apache/tvm-ffi/actions/runs/22613605751 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
