click-contrib / click-repl

Subcommand REPL for click apps
MIT License
215 stars 41 forks source link

click-repl and click version 8-a2 (alpha version in master) #72

Closed KSchopmeyer closed 3 years ago

KSchopmeyer commented 3 years ago

Click version 8.0 is no in early alpha state and the code for autocompletion has been committed, essentially rewriting the autocomplete functionality.

As part of this work the _bashcomplete function in click.core which is used by click-repl has been completely removed from click which causes a click application that uses click_repl and is testing with the alpha click 8 to fail in startup.

click_repl/init.py", line 6, in import click._bashcomplete ModuleNotFoundError: No module named 'click._bashcomplete'

This means to be compatible with click 8.0 click_repl should add code to use the new autocomplete mechanism when use with clic >= 8.0. See the following for more information.

thedrow commented 3 years ago

FYI This is preventing us from upgrading Celery to click 8.0.

untitaker commented 3 years ago

I need a volunteer to champion this and also take over maintainership (see #73)