Python 3.9 to 3.10 validation and cleanup

the question about ‘pip’ results was raised in testing