diff options
author | Matt Clay <mclay@redhat.com> | 2021-09-03 15:17:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-03 15:17:43 -0700 |
commit | de01db08d00c8d2438e1ba5989c313ba16a145b0 (patch) | |
tree | fb57551a10cf0efc643d5cecb59df4c730f5bad2 /changelogs | |
parent | fc8197e32675dd0343939f107b5f017993e36f62 (diff) | |
download | ansible-de01db08d00c8d2438e1ba5989c313ba16a145b0.tar.gz |
pip - Use pip from the current Python interpreter. (#75634)
* pip - Use pip from the current Python interpreter.
If `executable` and `virtualenv` were not specified, and
the `pip` Python module is available for the current interpreter,
use that `pip` module instead of searching for a `pip` command.
* Add comment about needing `__main__` to run `pip`.
* Fix unit test.
* Add porting guide entry.
* Update changelog to match porting guide description.
ci_complete
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/fragments/pip-entry-point.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/changelogs/fragments/pip-entry-point.yml b/changelogs/fragments/pip-entry-point.yml new file mode 100644 index 0000000000..9fe4bc2148 --- /dev/null +++ b/changelogs/fragments/pip-entry-point.yml @@ -0,0 +1,2 @@ +bugfixes: + - "``pip`` now uses the ``pip`` Python module installed for the Ansible module's Python interpreter, if available, unless ``executable`` or ``virtualenv`` were specified." |