summaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authorMatt Clay <mclay@redhat.com>2021-09-03 15:17:43 -0700
committerGitHub <noreply@github.com>2021-09-03 15:17:43 -0700
commitde01db08d00c8d2438e1ba5989c313ba16a145b0 (patch)
treefb57551a10cf0efc643d5cecb59df4c730f5bad2 /changelogs
parentfc8197e32675dd0343939f107b5f017993e36f62 (diff)
downloadansible-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.yml2
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."