FS#71044 - [python-click-repl] ModuleNotFoundError: No module named 'click._bashcomplete'

Attached to Project: Community Packages
Opened by Bjoern Franke (bjo) - Friday, 28 May 2021, 11:00 GMT
Last edited by David Runge (dvzrv) - Friday, 28 May 2021, 14:41 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To David Runge (dvzrv)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
python-click-repl tries to use click._bashcomplete which should come from python-click, but does not exist.

Version:
python-click-repl 0.1.6-4
python-click 8.0.1-1


Steps to reproduce:
Run something which uses python-click-repl:

```
File "/usr/bin/wallabag", line 33, in <module>
sys.exit(load_entry_point('wallabag-client==1.7.1', 'console_scripts', 'wallabag')())
File "/usr/bin/wallabag", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 855, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/usr/lib/python3.9/site-packages/wallabag/wallabag.py", line 13, in <module>
import click_repl
File "/usr/lib/python3.9/site-packages/click_repl/__init__.py", line 6, in <module>
import click._bashcomplete
ModuleNotFoundError: No module named 'click._bashcomplete'
```
This task depends upon

Closed by  David Runge (dvzrv)
Friday, 28 May 2021, 14:41 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with python-click-repl 0.1.6-5
Comment by Bjoern Franke (bjo) - Friday, 28 May 2021, 11:12 GMT Comment by Bjoern Franke (bjo) - Friday, 28 May 2021, 11:30 GMT Comment by David Runge (dvzrv) - Friday, 28 May 2021, 14:41 GMT
@bjo: Thanks for the report and the links to upstream tickets/fixes.

I have applied the suggested fixes.

Loading...