-
-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
25.1.0: generate completion files without installed keyring
now fails
#675
Comments
In #671 - and the 25.0.1 release (and subsequent 25.1.10 release), keyring was enhanced to return a non-zero exit status if completion generation was failing. It has always required the You should make sure that the dependencies declared in the completion extra are present (currently shtab).
I'm not sure the best practice here. I'd like for the completion files to be derived from the implementation, as the |
Generally speaking I'm not against generate completion files however IMO those files/scripts used to generate completion files should not be installed. |
Describe the bug
Up to now as possible to generate completion files without installing
keyring
after build byNow above fails with
It was especially useful on packaging.
BTW: Currently code generating those completion files is part od the installed by modules files.
If it not would be better to remove that code and maintain just static completion files? 🤔
The text was updated successfully, but these errors were encountered: