After T67306, the old version of mwclient no longer for wmf wikis.
Traceback (most recent call last): File "/data/project/yifeibot/o/toolserver/bryan/flickr/bots/flickreviewr.py", line 414, in <module> fr = FlickreviewR() File "/data/project/yifeibot/o/toolserver/bryan/flickr/bots/flickreviewr.py", line 69, in __init__ FlickrBotBase.__init__(self) File "/data/project/yifeibot/o/toolserver/bryan/flickr/bots/botbase.py", line 42, in __init__ self.site = mwclient.ex.ConfiguredSite(os.path.join(os.path.dirname(sys.argv[0]), '../.config')) File "/usr/lib/pymodules/python2.7/mwclient/ex.py", line 50, in __init__ self.config['password']) File "/usr/lib/pymodules/python2.7/mwclient/client.py", line 351, in login self.site_init() File "/usr/lib/pymodules/python2.7/mwclient/client.py", line 128, in site_init raise errors.MediaWikiVersionError('Unknown MediaWiki %s' % '.'.join(version)) mwclient.errors.MediaWikiVersionError: Unknown MediaWiki 1.27.0-wmf.1
Upgrading may cause incompatibilities, but it's better than not upgrading at all.