The error says such type of implicit imports are no longer supported.
Cant we just do
from . import frame
__all__.extend(frame.__all__)?