update to 3.10.1

  • Remove dead format_environ code in watchthread.py app
  • Remove remainder of Python 2 code
  • Correct packaging and testing when not in a clean virtualenv