community/pgcli: missing pendulum dependency
Trying to use pgcli from alpine repo results in the following error when trying to connect to a Postgres database server. Pendulum has been a dependency since pgcli==3.1.0
:
$ pgcli "${CONNECTION_STRING}"
Traceback (most recent call last):
File "/usr/bin/pgcli", line 33, in <module>
sys.exit(load_entry_point('pgcli==3.4.1', 'console_scripts', 'pgcli')())
File "/usr/bin/pgcli", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-packages/pgcli/main.py", line 19, in <module>
import pendulum
ModuleNotFoundError: No module named 'pendulum'