pipx: change parameter formatter for pip_args (#7506)

* change parameter formatter for pip_args

* add changelog frag
This commit is contained in:
Alexei Znamensky 2023-11-11 23:59:44 +13:00 committed by GitHub
parent 6a514b6843
commit c2e578cb14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 28 additions and 1 deletions

View file

@ -42,7 +42,7 @@ def pipx_runner(module, command, **kwargs):
system_site_packages=fmt.as_bool("--system-site-packages"),
_list=fmt.as_fixed(['list', '--include-injected', '--json']),
editable=fmt.as_bool("--editable"),
pip_args=fmt.as_opt_val('--pip-args'),
pip_args=fmt.as_opt_eq_val('--pip-args'),
),
environ_update={'USE_EMOJI': '0'},
check_rc=True,