Skip to content

1.18.17

Latest

Choose a tag to compare

@github-actions github-actions released this 17 Nov 00:58
Immutable release. Only release title and notes can be modified.

Bug fixes

  • Fix environments created with Python 3.11 failing to start, and pipx commands failing with UnicodeDecodeError, when pipx runs in UTF-8 mode and PIPX_HOME contains non-ASCII characters. pipx writes pipx_shared.pth in the encoding the environment's Python reads it with, and rewrites an existing one the next time it installs into that environment (#2462) by @8hjkkwikl8 and @gaborbernat. (#2460)
  • Finish updating or rolling back manifest lock files before handling an interrupt, preserving a consistent set of locks (#2448) by @anticipate218 and @gaborbernat.
  • Report malformed URLs in package specs and --pip-args as input errors instead of tracebacks, keeping URL credentials out of the error message (#2439) by @subotac and @gaborbernat.
  • Treat extras that differ only in case or in -/_ as the same extra when deciding whether an installed package already satisfies a spec, and when adding extras to a spec (#2463) by @hemtilva.
  • --fetch-python now resumes a standalone Python download when the connection drops before its Content-Length. Before, pipx stopped at the partial archive and failed with a checksum mismatch instead of resuming (#2453) by @HarshJamgaonkar05 and @gaborbernat.
  • pipx execute accepts an app by the suffixed name it has on PATH when its environment was installed with --suffix or its package was injected with --with-suffix, including names that pipx 1.17.14 and earlier exposed with the suffix before the last dot, such as pip3@1.12 (#2468) by @kowellaloo9698-afk.
  • pipx reinstall names pinned packages by environment name rather than path in its error message (#2466) by @kowellaloo9698-afk.
  • pipx uninject also removes the dependencies of the dependencies it removes, including ones that require each other, so uninjecting a package that needs scipy no longer leaves numpy behind (#2442) by @Kernel-Hunter and @gaborbernat.
  • pipx no longer installs a python-build-standalone prerelease (such as 3.16.0a1) under the version number of the final release; fetching a Python that only has prerelease builds fails instead (#2446) by @AP24110011695 and @gaborbernat.

Documentation

  • Document that pipx environment --value prints an empty line for an unset variable that pipx does not derive, and how to read the effective global paths with --global (#2450) by @xixi-box and @gaborbernat.

Packaging

New Contributors

🐍 PyPI release

📜 Full Changelog