Usually a python library depends on multiple other dependencies and it does specify these dependences using a range like foobar>=2.0.1
I am looking for a way to check if newer versions of the dependencies do introduce incompatibilities or not, and eventually to safe this information.
If they break something is very easy to ban those versions by adding something like !=2.0.2.
More difficile is to mark validations, like annotating the fact that it passed testing with a version.
Please note that I am looking for a way to automate this process. Also, note that upgrading dependencies to the latest version that passed the tests is not an acceptable option because it could introduce dependency deadlocks.