It is always difficult to know if you have the latest stable packages installed in you requirements, and with the fast pace of releases, due either
to new features or security releases, it’s very easy to keep up.
Luckily, latest pip has now the --outdated
function, which makes very easy to snipe these packages.
It would be good to have something that finds the outdated packages, installs the new stable and then update the requirements.
To that end, I’ve written this little gist:
It would be very nice to have this used as one of the pre-check before a Pull request, which will give the ability to know if we have the latest packages in the code or not. On that regard I’m pretty excited by this tool called beefore, which I found listening to Talk Python To Me, which in turn I recommend.
Leave a Reply
You must be logged in to post a comment.