`nose` no longer works with Python 3.11 so we need to move to `nose2` if we want to support Python 3.11