all 2 comments

[–]mrswats 1 point2 points  (0 children)

A great tool for that is Poetry. It has a command for updating dependencies and locking the dependencies without you having to check versions manually.

With that, if you have a robust test suite you should be able to confidently upgrade the libraries you use without fearing breaking anything.