There probably isn't one "right answer" to this question. I'm interested in thoughts and opinions. We have a couple hundred RHEL7/Centos7/Rocky8 nodes. Many of them have python modules installed via pip/pip3.
I've been searching for a best practices on routine/monthly patching these modules...so I far haven't found any. Obviously things installed with rpm/yum/dnf are pretty easy to deal with.
From the pip man page:
pip install --upgrade SomePackage
Great! But how do you update all of them?
Sure. It is possible to do a "pip list/freeze" pipe that to awk...etc.. Surely, there's a better way. Ideally, one that captures things like "boto3 V1.2 replaced with boto3 V1.3" Right now it feels like I'm the only one thinking about this. Maybe I am and it is stupid. I'm ok with that response as well (but please tell me why).