Skip to content

Releases: pypa/pipx

0.16.2.1

29 Apr 08:09
Compare
Choose a tag to compare
  • Changed non-venv-info warnings and notices from pipx list to print to stderr. This especially prevents pipx list --json from printing invalid json to stdout. (#680)
  • Fixed bug that could cause uninstall on Windows with injected packages to uninstall too many apps from the local binary directory. (#679)

0.16.2.0

27 Apr 22:18
Compare
Choose a tag to compare
  • Fixed bug #670 where uninstalling a venv could erroneously uninstall other apps from the local binary directory. (#672)
  • Added --json switch to pipx list to output rich json-metadata for all venvs.
  • Ensured log files are utf-8 encoded to preven Unicode encoding errors from occurring with emojis. (#646)
  • Fixed issue which made pipx incorrectly list apps as part of a venv when they were not installed by pipx. (#650)
  • Fixed old regression that would prevent pipx uninstall from cleaning up linked binaries if the venv was old and did not have pipx metadata. (#651)
  • Fixed bugs with suffixed-venvs on Windows. Now properly summarizes install, and actually uninstalls associated binaries for suffixed-venvs. (#653)
  • Changed venv minimum python version to 3.6, removing python 3.5 which is End of Life. (#666)

0.16.1.0

26 Feb 02:43
Compare
Choose a tag to compare
  • Introduce the pipx.run entry point group as an alternative way to declare an application for pipx run. (#615)
  • Fix cursor show/hide to work with older versions of Windows. (#610)
  • Support text colors on Windows. (#612)
  • Better platform unicode detection to avoid errors and allow showing emojis when possible. (#614)
  • Don't emit show cursor or hide cursor codes if STDERR is not a tty. (#620)
  • Sped up pipx list (#624).
  • pip errors no longer stream to the shell when pip fails during a pipx install. pip's output is now saved to a log file. In the shell, pipx will tell you the location of the log file and attempt to summarize why pip failed. (#625)
  • For reinstall-all, fixed bug where missing python executable would cause error. (#634)
  • Fix regression which prevented pipx from working with pythonloc (and __pypackages__ folder). (#636)

0.16.0.0

16 Jan 07:52
Compare
Choose a tag to compare
  • New venv inspection! The code that pipx uses to examine and determine metadata in an installed venv has been made faster, better, and more reliable. It now uses modern python libraries like packaging and importlib.metadata to examine installed venvs. It also now properly handles installed package extras. In addition, some problems pipx has had with certain characters (like periods) in package names should be remedied.
  • Added reinstall command for reinstalling a single venv.
  • Changed pipx run on non-Windows systems to actually replace pipx process with the app process instead of running it as a subprocess. (Now using python's os.exec*)
  • [bugfix] Fixed bug with reinstall-all command when package have been installed using a specifier. Now the initial specifier is used.
  • [bugfix] Override display of PIPX_DEFAULT_PYTHON value when generating web documentation for pipx install #523
  • [bugfix] Wrap help documentation for environment variables.
  • [bugfix] Fixed uninstall crash that could happen on Windows for certain packages
  • [feature] Venv package name arguments now do not have to match exactly as pipx has them stored, but can be specified in any python-package-name-equivalent way. (i.e. case does not matter, and ., -, _ characters are interchangeable.)
  • [change] Venvs with a suffix: A suffix can contain any characters, but for purposes of uniqueness, python package name rules apply--upper- and lower-case letters are equivalent, and any number of ., -, or _ characters in a row are equivalent. (e.g. if you have a suffixed venv pylint_1.0A you could not add another suffixed venv called pylint--1-0a, as it would not be a unique name.)
  • [implementation detail] Pipx shared libraries (providing pip, setuptools, wheel to pipx) are no longer installed using pip arguments taken from the last regular pipx install. If you need to apply pip arguments to pipx's use of pip for its internal shared libraries, use PIP_* environment variables.
  • [feature] Autocomplete for venv names is no longer restricted to an exact match to the literal venv name, but will autocomplete any logically-similar python package name (i.e. case does not matter, and ., -, _ characters are all equivalent.)
  • pipx now reinstalls its internal shared libraries when the user executes reinstall-all.
  • Made sure shell exit codes from every pipx command are correct. In the past some (like from pipx upgrade) were wrong. The exit code from pipx runpip is now the exit code from the pip command run. The exit code from pipx list will be 1 if one or more venvs have problems that need to be addressed.
  • pipx now writes a log file for each pipx command executed to $PIPX_HOME/logs, typically ~/.local/pipx/logs. pipx keeps the most recent 10 logs and deletes others.
  • pipx upgrade and pipx upgrade-all now have a --upgrade-injected option which directs pipx to also upgrade injected packages.
  • pipx list now detects, identifies, and suggests a remedy for venvs with old-internal data (internal venv names) that need to be updated.
  • Added a "Troubleshooting" page to the pipx web documentation for common problems pipx users may encounter.
  • pipx error, warning, and other messages now word-wrap so words are not split across lines. Their appearance is also now more consistent.

0.15.6.0

17 Oct 22:50
Compare
Choose a tag to compare
  • [docs] Update license
  • [bugfix] Fixed regression in list, inject, upgrade, reinstall-all commands when suffixed packages are used.
  • [bugfix] Do not reset package url during upgrade when main package is pipx
  • Updated help text to show description for ensurepath and completions help
  • Added support for user-defined default python interpreter via new PIPX_DEFAULT_PYTHON. Helpful for use with pyenv among other uses.
  • [bugfix] Fixed bug where extras were ignored with a PEP 508 package specification with a URL.

0.15.5.1

27 Aug 19:47
e004f5f
Compare
Choose a tag to compare
  • [bugfix] Fixed regression of 0.15.5.0 which erroneously made installing from a local path with package extras not possible.

0.15.5.0

22 Aug 23:43
638b30b
Compare
Choose a tag to compare
  • [feature] Version of each injected package is now listed after name for pipx list --include-injected
  • [feature] --suffix option for install to allow multiple versions of same tool to be installed (#445)
  • [feature] ensurepath now also ensures that pip user binary path containing pipx itself is in user's PATH if pipx was installed using pip install --user.
  • Change metadata recorded from version-specified app install to allow upgrades in future. Adds pipx dependency on packaging package.
  • pipx now parses package specification before install. It removes (with warning) the --editable install option for any package specification that is not a local path. It also removes (with warning) any environment markers.
  • Disabled animation when we cannot determine terminal size or if the number of columns is too small. (Fixes #444)
  • [bugfix] Prevent python error in case where package has no pipx metadata and advise user how to fix.
  • [bugfix] For pipx install, fixed failure to install if user has PIP_USER=1 or user=true in pip.conf. (#110)
  • [bugfix] Requiring userpath v1.4.1 or later so ensure Windows bug is fixed for ensurepath (#437)
  • [feature] pipx logs its own version in verbose mode (#423)

0.15.4.0

27 May 05:33
46acc85
Compare
Choose a tag to compare
fix logic bug when determining same file (#413)

0.15.3.1

18 May 05:58
9e969dc
Compare
Choose a tag to compare
do not use multiprocessing.Pool if unavailable (#410)

0.15.1.3

21 Jan 04:10
b94ad2a
Compare
Choose a tag to compare

Fix Windows bug to ensure accurate app installation and reporting. Fix bug in install in certain situations involving user-specified python executable.