Version bumped to 4.2.2
Inheritance changed. Removes Py3 deprecation.
Merge branch 'remove-deprecation-warning'