I need to compile a list of packages I've installed that will no longer work with the upgrade from python 3.9 to 3.10. I'm guessing I'll need a pip command to check which python version the package requires. I know you can do this manually but I am looking for a pip command.
If there isn't one, is there some sort of standard way to check which packages will not work when you upgrade your python version without just cold upgrading and seeing what breaks?