pypa/pipx

cli parameter parsing is corrupted by strict positional

已关闭

#1,444 创建于 2024年6月7日

 (3 条评论) (0 个反应) (0 位负责人)Python (592 个派生)batch import
bughelp wanted

仓库指标

星标
 (12,938 个星标)
PR 合并指标
 (平均合并 4天 12小时) (30 天内合并 22 个 PR)

描述

In version 1.6.0, the following command cannot be used

Describe the bug

In version 1.6.0, the following command cannot be used.

pipx inject ansible-core --force ansible
error: unrecognized arguments: ansible

While adjusting the order can work

pipx inject ansible-core ansible --force

But this will create compatibility issues, the current way used in devcontainers is

features/src/pipx-package/install.sh at 9a1d24b27b2d1ea8916ebe49c9ce674375dced27 · devcontainers-contrib/features

[Bug]: Failed to build ansible feature · Issue #607 · devcontainers-contrib/features (github.com)

This is related to HIGH: pipx install --global order broken in 1.6.0 · Issue #1443 · pypa/pipx

贡献者指南