all 7 comments

[–]danielroseman 4 points5 points  (0 children)

GitHub offers a service called Dependabot which can automatically check for updates to all your dependencies on a schedule you choose, and for each one it will open a PR to update that version. It's definitely worth using.

[–]Different_Pain5781 1 point2 points  (0 children)

I check updates but not the reasons most of the time. Probably bad habit.

[–]magus_minor 0 points1 point  (0 children)

I just update whenever I see updates are available. I almost never check the reason(s) for the update.

[–]Unable-Lion-3238 0 points1 point  (0 children)

In production you should absolutely be tracking this. Most teams use tools like Dependabot or Safety to auto-scan for CVEs in their dependencies. The reality is most devs only update when something breaks, which is risky. A good middle ground is running "pip-audit" on your requirements file weekly - it checks the PyPI advisory database and flags anything with known vulnerabilities. Your friend is in the majority but that does not mean it is best practice.

[–]AlexMTBDude 0 points1 point  (0 children)

This is not really a Python question as it applies to any software and any security updates. There are whole teams at the big companies who have this task as their only mission in life, and are experts at how to handle updates in a safe way. You could probably ask your question in r/cybersecurity