No description
Find a file
2025-10-15 08:28:46 -07:00
check-python-pkgs initial checkin 2025-10-12 13:17:56 -07:00
Makefile removed chinacat configs from this repo 2025-10-15 08:28:46 -07:00
README.md README updates 2025-10-12 13:25:13 -07:00

check-python-pkgs - Check Python virtual environments for out-of-date packages.

Example:

The /usr/local/opt directory contains a few Python virtual environments:

    $ ls -1 /usr/local/opt/*/pyvenv.cfg
    /usr/local/opt/ansible/pyvenv.cfg
    /usr/local/opt/borgmatic/pyvenv.cfg

This utility finds those that have out-of-date packages:

    $ check-python-pkgs /usr/local/opt/*

    *** /usr/local/opt/borgmatic ***

    The following packages are out of date:

    Package Version Latest Type
    ------- ------- ------ -----
    idna    3.10    3.11   wheel
    msgpack 1.1.0   1.1.2  wheel


    To update, run:

    cd /usr/local/opt/borgmatic
    bin/pip install --upgrade --dry-run idna
    bin/pip install --upgrade --dry-run msgpack