You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When uninjecting a dependency (which had its own dependencies apps exposed through --include-deps) from an installed package the dependency and the dependency's dependencies apps are removed as expected but broken links for the dependency's dependencies apps remain in ~/.local/bin.
How to reproduce
Install a package e.g. pipx install python-lsp-server
Inject a package (with dependency app(s)) into the venv created for the package installed in step 1 and expose the app(s)
e.g. pipx inject --include-deps python-lsp-server python-lsp-ruff (python-lsp-ruff has a dependency on ruff)
Describe the bug
When uninjecting a dependency (which had its own dependencies apps exposed through
--include-deps
) from an installed package the dependency and the dependency's dependencies apps are removed as expected but broken links for the dependency's dependencies apps remain in ~/.local/bin.How to reproduce
pipx install python-lsp-server
e.g.
pipx inject --include-deps python-lsp-server python-lsp-ruff
(python-lsp-ruff
has a dependency onruff
)pipx list --include-injected
shows:pipx uninject python-lsp-server python-lsp-ruff
pipx list --include-injected
shows:Notice,
ruff
is still listed as exposed but it is not.which ruff
givesbash: type: ruff: not found
and~/.local/bin
shows:Expected behavior
The links to the dependency apps should be removed if the
uninject
--leave-deps
option is not used.The text was updated successfully, but these errors were encountered: