That was a helpful suggestion. I adjusted my travis.yml file to conditionally downgrade pip to the last working version (20.1):
before_install:
- if [[ $TRAVIS_PYTHON_VERSION == 3.7 ]]; then pip install pip==20.1; fi
This runs correctly but the job still fails with the same error. It appears to have something to do with the importlib_metadata package-- I tried pip install -U importlib_metadata and that solved it! see: Travis CI - Test and Deploy with Confidence
before_install:
- if [[ $TRAVIS_PYTHON_VERSION == 3.7 ]]; then pip install -U importlib_metadata; fi