pypa/pipx

cli parameter parsing is corrupted by strict positional

Fermée

#1 444 ouverte le 7 juin 2024

 (3 commentaires) (0 réaction) (0 personne assignée)Python (591 forks)batch import
bughelp wanted

Métriques du dépôt

Stars
 (12 938 étoiles)
Métriques de merge PR
 (Merge moyen 4j 12h) (22 PRs mergées en 30 j)

Description

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

Guide contributeur