According to commit, the import path for GenerationMixin changed after version 4.25.1.
GenerationMixin