The mock package is a backport of the latest `unittest.mock` module for all supported Python versions, making version checks unnecessary. Also update the package version. The latest version doesn't support Python 2 anymore.
See discussion in #2491 Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>