Py-pip

Latest version: v0.0.12

Safety actively analyzes 688126 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 15

1.3.0

Features

- Allow running `pip` with `pipx run`
- Add `--with-suffix` for `pipx inject` command
- `pipx install`: emit a warning when `--force` and `--python` were passed at the same time
- Add explicit 3.12 support
- Make usage message in `pipx run` show `package_or_url`, so extra will be printed out as well
- Use the py launcher, if available, to select Python version with the `--python` option
- add pre-commit hook support
- Add `pipx install --preinstall` to support preinstalling build requirements
- Return an error message when directory can't be added to PATH successfully
- Expose manual pages included in an application installed with `pipx install`
- Check whether pip module exists in shared lib before performing any actions, such as `reinstall-all`.
- Drop `setuptools` and `wheel` from the shared libraries. This results in less time consumption when the libraries are
automatically upgraded.
- Support [inline script metadata](https://packaging.python.org/en/latest/specifications/inline-script-metadata/)
in `pipx run`.
- Imply `--include-apps` when running `pipx inject --include-deps`
- Add `--force-reinstall` to pip arguments when `--force` was passed
- Support including requirements in scripts run using `pipx run` (916)
- Pass `pip_args` to `shared_libs.upgrade()`
- Fallback to user's log path if the default log path (`$PIPX_HOME/logs`) is not writable to aid with pipx being used
for multi-user (e.g. system-wide) installs of applications
- Don't show escaped backslashes for paths in console output
- Move `pipx` paths to ensure compatibility with the platform-specific user directories
- Pass `--no-input` to pip when output is not piped to parent stdout
- Print all environment variables in `pipx environment`

Improved Documentation

- Add more examples for `pipx run`
- Add subsection to make README easier to read

Deprecations and Removals

- Drop support for Python 3.7

Bugfixes

- Fix wrong interpreter usage when injecting local pip-installable dependencies into venvs
- Fix program name in generated manual page

1.2.1

Bugfixes

- Fix compatibility to packaging 23.2+ by removing reliance on packaging's requirement validation logic and detecting a
URL-based requirement in pipx. (1070)

1.2.0

Features

- Add `pipx uninject` command (820)
- Ship a [zipapp](https://docs.python.org/3/library/zipapp.html) of pipx
- Match pip's behaviour when package name ends with archive extension (treat it as a path)
- Change the program name to `path/to/python -m pipx` when running as `python -m pipx`
- Improve the detection logic for MSYS2 to avoid entering infinite loop (908) (938)
- Remove extra trailing quote from exception message
- Fix EncodingWarning in `pipx_metadata_file`.

Improved Documentation

- Add an example for installation from source with extras
- Fix `pipx run` examples and update Python versions used by `pipx install` examples

Bugfixes

- Add test for pip module in `pipx reinstall` to fix an issue with `pipx reinstall-all` (935)

1.1.0

Features

- Add `pipx environment` command (793)
- Add `list --short` option to list only package names (804)
- Improve the behaviour of `shlex.split` on Windows, so paths on Windows can be handled properly when they are passed in
`--pip-args`. (794)
- [dev] Change github action job names
- Add additional examples for installation from git repos
- [packaging] Switch to [PEP 621](https://www.python.org/dev/peps/pep-0621/)
- Add a CACHEDIR.TAG to the cache directory to prevent it from being included in archives and backups. For more
information about cache directory tags, see https://bford.info/cachedir

Bugfixes

- Fix encoding issue on Windows when pip fails to install a package

Improved Documentation

- Add more examples
- Fix the command for
[installing development version](https://pipx.pypa.io/stable/installation/#install-pipx-development-versions). (801)
- Fix test status badge in readme file

1.0.0

Features

- Support [argcomplete 2.0.0](https://pypi.org/project/argcomplete/2.0.0) (#790)
- Include machinery to build a manpage for pipx with [argparse-manpage](https://pypi.org/project/argparse-manpage/).
- Add better handling for 'app not found' when a single app is present in the project, and an improved error message
(733)

Bugfixes

- Fixed animations sending output to stdout, which can break JSON output. (769)
- Fix typo in `pipx upgrade-all` output

0.17.0

- Support `pipx run` with version constraints and extras. (697)

Page 2 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.