Skip to content
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

[BUG] No module name click._bashcomplete #278

Closed
sachindevsharma opened this issue May 12, 2021 · 4 comments
Closed

[BUG] No module name click._bashcomplete #278

sachindevsharma opened this issue May 12, 2021 · 4 comments
Labels
answered bug Something isn't working

Comments

@sachindevsharma
Copy link

Describe the bug

The latest version of click rolled out today 12/05/2021 and it doesn't have the _bashcomplete component. Can this be fixed .

I know I can use click==7.1.2, but that's a temporary workaround.

@sachindevsharma sachindevsharma added the bug Something isn't working label May 12, 2021
@kkirsche
Copy link
Contributor

kkirsche commented May 12, 2021

Not sure if click.shell_completion.BashComplete is the replacement — not familiar with the use in Typer today for this, but figured I'd mention it

EDIT: locally at least it seems to get rid of the error, though I'm not using advanced shell completions to speak definitively about it

@kkirsche
Copy link
Contributor

Looks like it'll be more involved than 1:1 replacement, but certainly achievable

PR is useful to understand how the change works
pallets/click#1622

Official Docs do well to expand upon that with concrete information:
https://click.palletsprojects.com/en/master/shell-completion/

@tiangolo
Copy link
Member

Thanks for the discussion and interest! 🍰

I just released Typer 0.4.0, which is compatible with both Click 7 and Click 8. 🎉

@github-actions
Copy link

Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants