Advertisement · 728 × 90
#
Hashtag
#pipx
Advertisement · 728 × 90
List outdated packages in Python's pipx without upgrading _`pipx` does not currently provide a built in method of listing outdated packages. A short `bash` function shared in an open GitHub issue provides a workaround._ * Introduction * Solution * Resources ## Introduction I've been using `pipx` to manage my Python application for roughly three years. As the documentation states, "`pipx` installs and runs end-user Python apllications(and their respective dependencies) in isolated environments". I'm able to keep my `pip list` relatively clean as well as isolate my installed applications in separate virtual environments(venvs). Being able to minimize dependency conflicts has alleviated some of the headaches that previously came with installing all my applications and libraries via `pip`. Since I'm also using `pyenv`, I can also install them using different Python versions, if necessary. I do, however, have one nit to pick with `pipx`. Currently, there is no way to check for available upgrades without actually performing the upgrades. That is, by running `pipx upgrade-all` and, potentially, upgrading all installed applications. This is time consuming as `pipx` needs to go through my entire list of installed applications and does not allow me to review upgradeable packages individually. `pip` has this functionality built in with the command `pip list --outdated`. There is also a separate package for managing `pip` package installations called `pip-check` which I use often and have installed via `pipx`. Fortunately, a few years ago, I came across this issue: Feature request: Option to list available upgrades without performing them. While the issue remains open after almost seven years, there is some interesting discussion there as well a couple posts containing workable solutions. I've chosen to implement @StaticPH's comment as my preferred solution. ## Solution pipx-outdated() { # See: https://github.com/pypa/pipx/issues/149#issuecomment-684042303 echo "OUTDATED PACKAGES:" while read -sr pyPkgName pyPkgVersion; do pyPkgURL="https://pypi.org/pypi/${pyPkgName}/json" pypi_latest="$(curl -sS "${pyPkgURL}" | jq --raw-output '.info.version')" [ "$pyPkgVersion" != "$pypi_latest" ] && printf "%s\n\tCurrent: \ %s\tLatest: %s\n" "$pyPkgName" "$pyPkgVersion" "$pypi_latest" done <<( pipx list | grep -o 'package.*,' | tr -d ',' | cut -d ' ' -f 2- ) } The `pipx-outdated` function greps through the output of `pipx list` to get the package name and its currently installed version. Next, using `curl`, it constructs the PyPi package URL and extracts the latest version from the available json file and compares the installed version to the latest. If there is a difference between the two, a list of outdated packages is print out to the console. While this function may ignore dev or alpha release, it is adequate for my use. At this point, I can selectively upgrade the packages that I am interested or pass `pipx upgrade` only the packages I choose to upgrade at this time. Adding this to my `.bash_aliases` file allows me to run this whenever its needed. Here's an example of the output of the `pipx-outdated` function showing two packages that have updates available. ~$ pipx-outdated OUTDATED PACKAGES: glances Current: 4.5.2 Latest: 4.5.3 hike Current: 1.3.0 Latest: 1.4.0 I could choose either to upgrade a single package `pipx upgrade ruff` or I could upgrade both simultaneously with the command `pipx upgrade glances ruff`. While it may be convenient to have this feature eventually integrated into the `pipx` package proper, I'm grateful to the folks who create and share solutions to paper-cuts as well as the developers who maintain and support the `pipx` package. ## Resources * pipx code repository * pipx project page * pipx documentation * pipx-outdated function * pip project page * pip-check project page

A new blog post by me:

"List outdated packages in Python's pipx without upgrading"

Solving a papercut in pipx with a small bash function.

suburbanalities.blogspot.com/2026/03/list-outdated-pa...

#Python #pipx #papercut #Blog #Suburbanalities #Bash

1 3 0 0

#Linux and #Windows (using wsl), if you have #pipx you can just:

# Install
pipx install rxiv-maker

# Verify
rxiv check-installation

# Create test manuscript
rxiv init test-paper
cd test-paper

# Generate PDF
rxiv pdf

0 0 0 0
Original post on hachyderm.io

Not that anyone has asked, or cares, about my podunk, backwater processes. There's a few reasons why I haven't migrated my #Python work to use #uv

1. I don't care about performance. My work is done on a potato machine and it won't make much difference, to me. For now.
2. I prefer to keep the VC […]

1 0 0 0
Original post on hachyderm.io

Huh. This is a new one.

Somehow, I've managed to pollute my #Python pip userspace with a bunch of packages from a #Poetry project I normally work on.

Fortunately, I could just easily rebuild with #pyenv and #pipx. Just kinda weird that it happened in the first place. I might have to go back to […]

3 1 1 0

Just a little note for anyone interested...

Running ```pip-audit``` revealed a #vulnerability in pip25.2 with no #PyPI database update available yet.

The immediate fix is a manual patch update to pip 25.3.dev0 - #Development version.

#python #python3 #pip #pip3 #pipx #security

0 0 0 0
Preview
The Modern Way to Install Python CLI Tools Globally Without Breaking PEP 668 Compliance - Saadman Rafat Ubuntu 24.04 enforces PEP 668, blocking global pip installs. Learn how to use pipx, uv, and other modern methods to install Python CLI tools globally while staying compliant.

The Modern Way to Install Python CLI Tools Globally Without Breaking PEP 668 Compliance

If you’ve been blocked by - externally-managed-environment, this one’s for you

saadman.dev/blog/2025-08...

Would be honored if @pycoders considered for newsletter!
#python #pipx #uv #devops

1 0 0 0
Preview
Python : quelles différences entre pip et pipx pour vos projets ? Ce tutoriel explique quelles sont les différences concrètes entre pip et pipx pour les projets en Python, et nous verrons comment installer et utiliser pipx.

🐍 𝗣𝗶𝗽 𝘃𝘀 𝗣𝗶𝗽𝘅 : 𝗹𝗲𝗾𝘂𝗲𝗹 𝗰𝗵𝗼𝗶𝘀𝗶𝗿 𝗽𝗼𝘂𝗿 𝘃𝗼𝘀 𝗽𝗿𝗼𝗷𝗲𝘁𝘀 𝗣𝘆𝘁𝗵𝗼𝗻 ?

📖 𝗖𝗼𝗺𝗽𝗿𝗲𝗻𝗲𝘇 𝗹𝗲𝘂𝗿𝘀 𝗱𝗶𝗳𝗳𝗲́𝗿𝗲𝗻𝗰𝗲𝘀 𝗲𝘁 𝗼𝗽𝘁𝗶𝗺𝗶𝘀𝗲𝘇 𝘃𝗼𝘀 𝘄𝗼𝗿𝗸𝗳𝗹𝗼𝘄𝘀 :
www.it-connect.fr/pip-vs-pipx-...

#python #dev #pip #outils #IT #pipx #scripting #admin

2 0 0 0
A computer screen with Python code

A computer screen with Python code

Modern Good Practices for Python Development

An outline of best practices for #Python development, including using tools like #pyenv, #pipx or Development Containers for managing Python versions. It also recommends using pyproject.toml for project […]

[Original post on fosstodon.org]

0 3 0 0
Preview
Install and Execute Python Applications Using pipx – Real Python In this tutorial, you'll learn about a tool called pipx, which lets you conveniently install and run Python packages as standalone command-line applications in isolated environments. In a way, pipx tu...

Install and Execute Python Applications Using pipx

#pipx is a straightforward way to distribute desktop and command-line applications written in Python by publishing them on the Python Package Index (PyPI).

realpython.com/python-pipx/

#Python #PyPi #PackageManager #Application #Devops

0 0 0 0
Preview
How to Install and Use Pipx on Linux Discover different virtual isolation tools in Python, including pipx installation and usage on Linux, with practical examples.

How to Install and Use #Pipx on #Linux 🐧

linuxtldr.com/installing-p...

1 1 0 0