Check If Python pip modules are outdated and New Version is Available


If you want to know which Python modules that you have on your local device are outdated and what are the latest versions of them available, then you can make use of a module called as pip-review.

Step 1: Get pip-review module

    # pip3 install pip-review
    
    ..
    Downloading pip-review-1.3.0.tar.gz (6.6 kB)
    Successfully built pip-review
    Installing collected packages: pip-review

Step 2: Check the list of outdated pip modules

     % pip-review
    
    certifi==2023.7.22 is available (you have 2023.5.7)
    fastjsonschema==2.18.0 is available (you have 2.17.1)
    nbconvert==7.7.2 is available (you have 7.7.1)
    notebook==7.0.0 is available (you have 6.5.4)
    setuptools==68.0.0 is available (you have 65.5.0)
    urllib3==2.0.4 is available (you have 2.0.3)

    You can also try the below command.

    # pip-review --preview-only
    Package  Version Latest Type
    -----------------------------
    redis    2.4.9   2.6.2  wheel
    requests 0.13.2  0.14.0 wheel
    rq       0.3.0   0.3.4  wheel
    -----------------------------
pip know the list of outdated module versions and latest versions available
-

Facing issues? Have Questions? Post them here! I am happy to answer!


Author: Rakesh
Author Info:

Rakesh is a seasoned developer with over 10 years of experience in web and app development, and a deep knowledge of operating systems. Author of insightful How-To articles for Code2care.

Follow him on: X

Copyright © Code2care 2023 | Privacy Policy | About Us | Contact Us | Sitemap