It is backward compatible if you do this:
Code:
try:
from calibre.ebooks.metadata.book.formatter import SafeFormat
except ImportError:
from calibre.ebooks.metadata.book.base import SafeFormat
This will work on all versions of calibre. Otherwise you have to mark it as requiring 0.9.29