Repository navigation
Immutable
release. Only release title and notes can be modified.
Bug fixes
- Refuse to run an existing POSIX environment's interpreter during maintenance when another account can change it (#2701) by @gaborbernat. (#2540)
- Keep a package's recorded URL or local source during
pipx install --upgrade NAME(#2689) by @gaborbernat. (#2541) - Check the wheel record's digest before exposing console scripts from a package's entry-point metadata (#2697) by @gaborbernat. (#2544)
- Restore the previous environment when a forced install fails after changing it (#2682) by @gaborbernat. (#2547)
- Restore injected packages, pins, and exposed apps when an install rebuilds an environment with another Python (#2705) by @gaborbernat. (#2548)
- Require absolute uv configuration paths in installed-package snapshots (#2684) by @gaborbernat. (#2549)
- Preserve dangling app links owned by another account unless replacement is requested with
--force(#2688) by @gaborbernat. (#2553) - Track ownership of copied apps, man pages, and completions when exposing them so later commands preserve unrelated files (#2705) by @gaborbernat. (#2557)
- Keep the package path attached to
--editablewhen an install also uses a cooldown (#2665) by @gaborbernat. (#2563) - Keep commas in
pipx run --withrequirements intact under the uv backend (#2686) by @gaborbernat. (#2569) - Apply a version specifier passed to
pipx upgradewhen the package is already installed (#2672) by @gaborbernat. (#2570) - Report an incompatible Python when restoring a snapshot with a recorded interpreter (#2680) by @gaborbernat. (#2573)
- Mask credential query parameters and malformed URL passwords in pipx messages and logs (#2673) by @gaborbernat. (#2574)
- Keep pinned dependency versions when rebuilding an environment or restoring a snapshot (#2692) by @gaborbernat. (#2575)
- Refuse per-package and per-index uv upload cutoffs in scripts run with a pipx dependency cooldown (#2670) by @gaborbernat. (#2578)
- Keep exposed resources in place when an injected package fails to upgrade and pipx restores the environment (#2693) by @gaborbernat. (#2581)
- Make
pipx run --withconstrain a local script's own dependencies under the uv backend by resolving both lists together (#2643) by @vivekghodekar001, @taewonKang1, @Decxly2, @tonycoder-hub, @orshih6 and @gaborbernat. (#2582) - Keep the recorded dependency cooldown when locking an installed environment so it applies again when the lock is removed (#2669) by @gaborbernat. (#2583)
- Keep
--userout of recorded pip arguments and ignore it when replaying older records (#2679) by @gaborbernat. (#2588) - Reject conflicting pip upload cutoffs when a pipx dependency cooldown is active (#2683) by @gaborbernat. (#2589)
- Stop installer processes and finish pipx cleanup on SIGQUIT (#2674) by @gaborbernat. (#2590)
- Keep environments editable during repairs and skip them in bulk upgrade and outdated checks when their metadata records pip's short
-eoption (#2668) by @iPriyadarshi and @gaborbernat. (#2664) - A repeated
pipx rungives thepipx.runentry point named after the package priority over its sole console script (#2643) by @vivekghodekar001, @taewonKang1, @Decxly2, @tonycoder-hub, @orshih6 and @gaborbernat. - Apply an injected package's recorded cooldown when
pipx inject --forcereinstalls it without an explicit cooldown (#2623) by @gaborbernat. - Ignore apps, man pages and completions whose names contain control or other non-printable characters, and escape non-printable characters in package names, resource names and versions printed by
pipx listand install summaries (#2648) by @zuromu and @gaborbernat. - Ignore self-referential extras and shadowed distributions when inspecting non-required packages (#2708) by @TranHoaiPhu and @gaborbernat.
- Keep injected packages pinned when
pipx inject --forceuses a different spelling of the same package name (#2663) by @akash20-09 and @gaborbernat. - Limit the apps and manual pages that install, inject and reinstall summaries list as now available to those of the package just installed:
pipx inject --include-appsno longer lists the main package's apps and manual pages, andpipx reinstallno longer lists an app the rebuilt package dropped (#2658) by @vinilpolepalli and @gaborbernat. - Make
pipx upgradeandpipx upgrade-allapply their--cooldown,PIPX_COOLDOWN,--index-urland--pip-argswhen they first rebuild an environment left half changed by an interrupted pipx run (#2637) by @orshih6 and @gaborbernat. - On Windows, find versioned Python commands such as
python3.13.exeonPATHwhen thepylauncher cannot provide the requested version (#2705) by @gaborbernat. - Preserve the shared pip cooldown and maintenance settings when checking multiple environments for outdated packages (#2635) by @WoWHellgarve-HolyDeeW and @gaborbernat.
- Reap the installer child when Ctrl-C arrives during subprocess startup (#2675) by @gaborbernat.
- Rebuild incomplete script environments managed by
pipx run. These caches rebuild once after upgrading (#2662) by @zuromu and @gaborbernat. - Refresh the source and version of explicitly installed injected packages after
pipx runpip ENV installchanges them (#2694) by @jazib and @gaborbernat. - Reject empty installer paths such as
--find-links=before resolving them against the working directory (#2639) by @orshih6, @anasdahani220 and @gaborbernat. - Report a local script or named pipe that pipx cannot read or decode as UTF-8 (#2521) by @JeremyL691 and @gaborbernat.
- Restore backups when
venvsand the pipx trash are on different filesystems. If restoration fails, pipx reports the path of the backup and keeps it for manual recovery (#2660) by @orshih6. - Resume an upgrade or reinstall if publishing its rebuilt resources was interrupted (#2705) by @gaborbernat.
- Run pip's installs and outdated checks from the pipx home to avoid resolving sources against files installed in the environment. Relative index options passed as arguments continue to resolve from the environment directory (#2666) by @phatstraws and @gaborbernat.
- Skip data file declarations in an editable project's
pyproject.tomlorsetup.cfgwith invalid UTF-8 (#2520) by @qianeric-backup and @gaborbernat. - When pipx drops an editable install option, it also drops the associated value so the installer cannot read that value as a separate option (#2649) by @zuromu, @anasdahani220, @o-gojayev, @orshih6 and @gaborbernat.
pipx inject --requirementaccepts a leading UTF-8 byte order mark in a requirements file (#2517) by @cansentay and @gaborbernat.pipx inject --requirementreports the path when opening or decoding a requirements file fails (#2517) by @cansentay and @gaborbernat.pipx listmarks interpreters inside the standalone Python cache as(standalone)even whenPIPX_HOMEis a symlink. Interpreters in sibling directories such aspyenvlose the incorrect label (#2709) by @TranHoaiPhu and @gaborbernat.pipx manifest syncreports and skips environments whose main package is pinned (#2606) by @vibhor-aggr and @gaborbernat.pipx reinstall-allreports legacy environment names that collide with an existing environment. It leaves the legacy environment at its current path (#2661) by @orshih6 and @gaborbernat.pipx reinstallkeeps its backup until an interrupted rebuild recovers, preserving injected packages after a kill (#2659) by @udayraj1238 and @gaborbernat.pipx run --no-cacherebuilds the environment even when the app is provided only by apipx.runentry point (#2643) by @vivekghodekar001, @taewonKang1, @Decxly2, @tonycoder-hub, @orshih6 and @gaborbernat.pipx run --spec PKG APPselects the named app even when a file namedAPPexists in the working directory (#2643) by @vivekghodekar001, @taewonKang1, @Decxly2, @tonycoder-hub, @orshih6 and @gaborbernat.pipx runpip installremoves exposed launchers for commands dropped by a new release of the main package (#2613) by @o-gojayev, @anasdahani220 and @gaborbernat.pipx uninstall,pipx reinstall,pipx inject, andpipx uninjectreport an environment that does not exist instead of raisingNotADirectoryErrorwhen the path in$PIPX_HOME/venvsis not a directory. They exit with status 1 and leave the entry in place (#2707) by @qianeric-backup and @gaborbernat.pipxskips unresolvable symlinks when scanning its app, manual page or shell completion directories. An unrelated link with an inaccessible target no longer interrupts commands such aspipx listandpipx uninstall(#2634) by @AnvitDevadiga and @gaborbernat.
Documentation
- Explain how to configure keyring authentication for private indexes, including upgrades and rebuilding pipx environments (#2519) by @compiler-segfault and @gaborbernat.
Security
- Before handing a tool to uv,
pipx runchecks that named direct references use absolute URLs. This prevents an ambiguous requirement from selecting a directory in the working directory (#2653) by @romilp619 and @gaborbernat. (#2542) pipx injectandpipx reinstallno longer install a different package because another distribution'sdirect_url.jsonmatches the requested name (#2652) by @romilp619 and @gaborbernat. (#2577)- On Windows, identify copied launchers by matching their interpreter directory to the pipx environment path. This avoids filesystem lookups on paths supplied by exposed files (#2642) by @vivekghodekar001 and @gaborbernat. (#2580)
- Refuse to expose Windows app names that would shadow a standard library module after Windows normalizes the name. Apply the check to the destination name used when copying the app into the bin directory (#2641) by @vivekghodekar001 and @gaborbernat. (#2587)
- On Unix, pipx checks the environment directory name before using it as a self-managed installation (#2644) by @Pakheria and @gaborbernat. (#2592)
- Script downloads follow only HTTPS redirects from HTTPS URLs and HTTP or HTTPS redirects from HTTP URLs. They reject redirect targets with embedded credentials before contacting them (#2638) by @a2499123744-del, TUFYIK and @gaborbernat. (#2595)
- Add only the local package library to the import path when launching apps from
__pypackages__(#2700) by @gaborbernat. - Apply the same file permissions as the tar data filter when extracting standalone Python on early Python 3.11 releases (#2699) by @gaborbernat.
- Check ownership along recorded local package and lock paths on POSIX before replay, including symbolic link targets. Unlocked rebuilds with missing preinstall history require the original requirements in the snapshot (#2705) by @gaborbernat.
- Create locks for package environments, shared pip, and standalone interpreters with owner-only permissions on POSIX (#2702) by @gaborbernat.
- During Windows wheel inspection, pipx uses the installed-file record to select the distribution's launcher companion files, such as
APP-script.pyandAPP.exe.manifest(#2647) by @abedinm and @gaborbernat. - Enforce the minimum trusted version before reusing a shared pip installation (#2671) by @gaborbernat.
- Find Windows helper executables on PATH and resolve numeric Python selections as versions (#2677) by @gaborbernat.
- Install only runtime dependencies listed in
pylock.tomlwhen applying a lock file (#2676) by @gaborbernat. - Keep credentials from recorded HTTP package and index URLs out of installer command lines during rebuilds and update checks (#2705) by @gaborbernat.
- Keep downloaded and piped script contents out of the interpreter command line (#2705) by @gaborbernat.
- Keep existing manifest locks readable until their replacements are ready. On POSIX, reject lock output paths that another account can change (#2705) by @gaborbernat.
- Keep files private while pipx copies a POSIX environment for rollback (#2687) by @gaborbernat.
- Keep local uv installs from inheriting dependency sources through a shared parent directory (#2705) by @gaborbernat.
- Keep private local script installations and their temporary files accessible only to the installing account on POSIX. Use a per-installation key for script wheel versions (#2705) by @gaborbernat.
- Keep recorded package indexes when
pipx runpipchanges only a trusted host, keyring provider, or uv index strategy (#2705) by @gaborbernat. - Keep requirements from an app's
--pip-argsout of shared pip when pipx creates, upgrades, or repairs it (#2612) by @o-gojayev and @gaborbernat. - Keep the installation record outside the environment during installer runs. Restore it after an interruption and require a recorded source before updating an existing environment (#2705) by @gaborbernat.
- Keep the resolved source path when upgrading a local Python script (#2690) by @gaborbernat.
- Load uv configuration from the working directory explicitly selected with
--pip-args=--directory(#2696) by @gaborbernat. - Make relative interpreter paths absolute before starting installer subprocesses in an environment directory (#2698) by @gaborbernat.
- Preserve local package sources in uv tool runs. Scripts run with interpreter arguments now use their inline uv settings and lockfiles. On POSIX, uv reads script locks only from locations protected against changes by other accounts (#2705) by @gaborbernat.
- Preserve the installer source settings recorded for existing environments (#2705) by @gaborbernat.
- Rebuilds install each injected package from its recorded source, including packages the main app also depends on. Forcing an injection refreshes that package and preserves the other managed packages (#2705) by @gaborbernat.
- Refuse to replay a recorded installation source that another account can change through group write permissions.
pipx install-allalso skips an exported interpreter with those permissions and uses the default Python (#2610) by @o-gojayev and @gaborbernat. - Reject local package paths containing a literal hash when using uv. Use the pip backend for those paths (#2703) by @gaborbernat.
- Replay recorded
--preinstallrequirements when rebuilding an environment. Automatic rebuilds accept local requirements only as trusted wheels (#2654) by @romilp619 and @gaborbernat. - Require a declared length or chunked transfer encoding for scripts downloaded over HTTP (#2685) by @gaborbernat.
- Reserve Python startup configuration names when exposing installed apps (#2646) by @abedinm, @vivekghodekar001 and @gaborbernat.
- Resolve a relative
--find-linksdirectory when preinstalling packages (#2681) by @gaborbernat. - Resolve explicit relative uv index paths before starting the installer in an environment directory (#2691) by @gaborbernat.
- Resolve relative direct references from the caller's directory and keep extras attached to their project.
pipx runselects the installed entry point for a project directory and rejects malformed requirement syntax (#2705) by @gaborbernat. - Resolve relative package sources in pip and uv environment variables from the caller's working directory (#2705) by @gaborbernat.
- Run the Python compatibility probe in isolated mode without loading site configuration (#2695) by @gaborbernat.
- Use isolated interpreter version checks and keep lock files private on POSIX (#2705) by @gaborbernat.
- Use the interpreter's platform layout when locating an environment's installed packages (#2678) by @gaborbernat.
- When pipx re-exposes a package, it removes links and recorded copies it owns under app names it now refuses. On POSIX, cleanup preserves entries owned by another account and entries another account can replace (#2705) by @gaborbernat.
--pip-argsthat name no index, such as--pip-args=--no-cache-dir, no longer drop the recorded index options onpipx upgrade,pipx upgrade-all,pipx install --upgrade,pipx install-alland apipx injectof the main package. The package name went to the default index, where anyone can register it, and the record lost the index, so later upgrades stayed there. An explicit default index or--no-indexnow replaces the recorded index (#2625) by @gaborbernat.pipx exposeandpipx execnow refuse recorded resource paths outside the current environment, such as paths left behind after moving the pipx home directory (#2650) by @ronavkarumsi04 and @gaborbernat.pipx install-allkeeps the recorded package index when switching backends and an installer option has an empty value (#2656) by @orshih6 and @gaborbernat.pipx list --outdatedand the update check inpipx upgrade-allnow pass proxy, certificate, timeout, and retry options to pip. Previously the check could connect directly to an index configured to use a proxy (#2639) by @orshih6, @anasdahani220 and @gaborbernat.pipx runpreserves local script paths beginning with a dash when passing them to Python or uv (#2643) by @vivekghodekar001, @taewonKang1, @Decxly2, @tonycoder-hub, @orshih6 and @gaborbernat.- pipx checks that a wheel's filename and package metadata name the same distribution before choosing an environment (#2705) by @gaborbernat.
- pipx no longer exposes apps that would shadow platform-specific
_sysconfigdata_*modules or standard-library modules from another supported Python version (#2651) by @ronavkarumsi04 and @gaborbernat.
New Contributors
- @o-gojayev made their first contribution in #2610
- @orshih6 made their first contribution in #2639
- @vivekghodekar001 made their first contribution in #2643
- @a2499123744-del made their first contribution in #2638
- @zuromu made their first contribution in #2648
- @ronavkarumsi04 made their first contribution in #2650
- @abedinm made their first contribution in #2647
- @Pakheria made their first contribution in #2644
- @romilp619 made their first contribution in #2652
- @AnvitDevadiga made their first contribution in #2634
- @WoWHellgarve-HolyDeeW made their first contribution in #2635
- @cansentay made their first contribution in #2517
- @compiler-segfault made their first contribution in #2519
- @vibhor-aggr made their first contribution in #2606
- @vinilpolepalli made their first contribution in #2658
- @iPriyadarshi made their first contribution in #2668
- @akash20-09 made their first contribution in #2663
- @jazib made their first contribution in #2694
- @phatstraws made their first contribution in #2666
- @udayraj1238 made their first contribution in #2659
- @TranHoaiPhu made their first contribution in #2709