I am working in a project where we've pinned all our depdencies. Eg:
pandas == 1.4.3
streamlit == 1.11.1
pendulum == 2.1.2
pyodbc == 4.0.34
...
It'd be good to write a function that will quickly check what is the latest version of each package in PyPi.
Eg:
def check_for_out_of_date_dependencies(pyproject_toml_filepath):
...
check_for_out_of_date_dependenceies()
>>> "You have pandas '1.4.3' but '1.4.4' is available"
>>> ...
Any ideas on how to do this?