[PATCH] Updated python dependencies to match as required by pgcli 4.7.1's pyproject.toml

Поиск
Список
Период
Сортировка
Искать

[PATCH] Updated python dependencies to match as required by pgcli 4.7.1's pyproject.toml

От:
Pritt Balagopal <pritt1999@gmail.com>
Дата:
Вложения:
As the subject says, the dependency versions have been updated to
align with upstream requirements. Furthermore, the packages
`python3-pgspecial`, `python3-prompt-toolkit`, python3-pyscopg3`, and
`python3-tzlocal` have been marked as dependencies. This will fix my
earlier reported bug in
https://www.postgresql.org/message-id/flat/19562-9d41f689d05188c3%40postgresql.org

-- 
Regards,
Pritt

Re: [PATCH] Updated python dependencies to match as required by pgcli 4.7.1's pyproject.toml

От:
Devrim Gunduz <devrim@gunduz.org>
Дата:
Hi Pritt,

Thanks for the bug report and the patch. You were right: the pgcli spec was missing pgspecial, prompt-toolkit, psycopg and tzlocal, so pgcli failed to start.

I committed a slightly different version of your patch (co-authored with Claude):

https://git.postgresql.org/gitweb/?p=pgrpms.git;a=commit;h=c12d6ef32


Differences from your patch:

* tzlocal has no version floor. Upstream asks for >= 5.2, but pgcli only calls tzlocal.get_localzone_name(), which has existed since tzlocal 4.0. Some of our supported distros ship tzlocal 4.x, and the 5.2 floor would have made pgcli uninstallable there.

* I dropped jedi, humanize and wcwidth. pgcli 4.7.1 no longer uses them.

* The Requires use pythonX.Ydist() names (e.g. python3.14dist(pgspecial)) instead of package names, so the same spec works on Fedora, RHEL and SLES.

RHEL 9 needs more work, because pgcli 4.7 requires python 3.10 or newer and some of its dependencies aren't packaged for RHEL 9's alternative Python yet.

I'll reply again when I'll build packages.

Regards, Devrim


On 22 September 2026 06:36:37 GMT-05:00, Pritt Balagopal <pritt1999@gmail.com> wrote:
As the subject says, the dependency versions have been updated to
align with upstream requirements. Furthermore, the packages
`python3-pgspecial`, `python3-prompt-toolkit`, python3-pyscopg3`, and
`python3-tzlocal` have been marked as dependencies. This will fix my
earlier reported bug in
https://www.postgresql.org/message-id/flat/19562-9d41f689d05188c3%40postgresql.org

FAQ