From: TinfoilSubmarine <TinfoilSubmarine@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: pgcli: update to 4.1.0.
Date: Sun, 12 May 2024 16:26:59 +0200 [thread overview]
Message-ID: <20240512142659.67D262163E@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50274@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 2474 bytes --]
New comment by TinfoilSubmarine on void-packages repository
https://github.com/void-linux/void-packages/pull/50274#issuecomment-2106265217
Comment:
> ```
> λ pgcli -h localhost -U postgres
> Traceback (most recent call last):
> File "/usr/bin/pgcli", line 33, in <module>
> sys.exit(load_entry_point('pgcli==4.1.0', 'console_scripts', 'pgcli')())
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/bin/pgcli", line 25, in importlib_load_entry_point
> return next(matches).load()
> ^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 205, in load
> module = import_module(match.group('module'))
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
> File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
> File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
> File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
> File "<frozen importlib._bootstrap_external>", line 995, in exec_module
> File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
> File "/usr/lib/python3.12/site-packages/pgcli/main.py", line 2, in <module>
> from pgspecial.namedqueries import NamedQueries
> File "/usr/lib/python3.12/site-packages/pgspecial/__init__.py", line 13, in <module>
> from . import iocommands
> File "/usr/lib/python3.12/site-packages/pgspecial/iocommands.py", line 9, in <module>
> import psycopg
> File "/usr/lib/python3.12/site-packages/psycopg/__init__.py", line 9, in <module>
> from . import pq # noqa: F401 import early to stabilize side effects
> ^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.12/site-packages/psycopg/pq/__init__.py", line 16, in <module>
> from . import abc
> File "/usr/lib/python3.12/site-packages/psycopg/pq/abc.py", line 9, in <module>
> from typing_extensions import TypeAlias
> ModuleNotFoundError: No module named 'typing_extensions'
> ```
>
> Seems like pgcli needs `python3-typing_extensions` in the dependency (current version is also broken)
Thanks, actually `python3-psycopg` needed that dependency.
next prev parent reply other threads:[~2024-05-12 14:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-11 2:32 [PR PATCH] " TinfoilSubmarine
2024-05-11 19:05 ` natrys
2024-05-12 14:24 ` [PR PATCH] [Updated] " TinfoilSubmarine
2024-05-12 14:26 ` TinfoilSubmarine [this message]
2024-05-14 17:17 ` [PR PATCH] [Merged]: " cinerea0
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240512142659.67D262163E@inbox.vuxu.org \
--to=tinfoilsubmarine@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).