typer autocompletion hangs indefinitely for scripts using uv
package manager
#1122
Unanswered
lockmeister
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
Description
example
sudo install -m 755 example /usr/local/bin/
example --install-completion
source ~/.bashrc
)example
then press tab)Expected behaviour: autocompletion of commands
Acutal behaviour: hangs while UV reads inline metadata
example Reading inline script metadata from
/usr/local/bin/examplewhy this is important:
uv
is a very handy package manager with widespread adoption. It makes it much easier to write quick python scripts and yet be able to quickly install them and use them globally in your system. It would be a pity not to be able to use typer's autocomplete for scripts managed by uv.Operating System
Linux
Operating System Details
No response
Typer Version
0.15.1
Python Version
3.12
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions