Use `mrjob.compat.version_gte()` (see `mrjob.compat` for example usage).