Обсуждение: partman dependencies
Hi ,
I noticed that the package pg_partman has no depencies with psycopg2.
Should it be fixed ?
On a different topic: Is it normal that psycopg2 is not a dependency of the pg_partman package in PGDG ? I understand it's not essential but it's surprising none the less to get this message :
postgres@ulbdybbb01:~$ /usr/lib/postgresql/9.5/bin/reapply_indexes.py
Traceback (most recent call last): File "/usr/lib/postgresql/9.5/bin/reapply_indexes.py", line 3, in <module>import argparse, psycopg2, re, sys, time
ImportError: No module named psycopg2
**EDIT: Packages for ubuntu 14.04 pg 9.4 and 16.04 pg9.5
Benoit
Re: talk to ben 2018-08-29 <CAPE8EZ6AtY1SW4keithim7dA3ovBf_Er7S7VJ9dtZ+FHpDBjaw@mail.gmail.com> > Hi , > > I noticed that the package pg_partman has no depencies with psycopg2. > Should it be fixed ? Package: postgresql-10-partman Source: pg-partman Version: 3.2.1-1 Installed-Size: 4628 Maintainer: Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> Architecture: amd64 Depends: postgresql-10, python, libc6 (>= 2.4) "python" is bogus there, yes. It should be psycopg2 (for python3, if possible), and maybe demoted to be a Recommends. Will fix, thanks for spotting! Christoph
Re: To talk to ben 2018-08-29 <20180829095643.GC15693@msg.df7cb.de> > Re: talk to ben 2018-08-29 <CAPE8EZ6AtY1SW4keithim7dA3ovBf_Er7S7VJ9dtZ+FHpDBjaw@mail.gmail.com> > > Hi , > > > > I noticed that the package pg_partman has no depencies with psycopg2. > > Should it be fixed ? > > Package: postgresql-10-partman > Source: pg-partman > Version: 3.2.1-1 > Installed-Size: 4628 > Maintainer: Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> > Architecture: amd64 > Depends: postgresql-10, python, libc6 (>= 2.4) > > "python" is bogus there, yes. It should be psycopg2 (for python3, if > possible), and maybe demoted to be a Recommends. > > Will fix, thanks for spotting! Hi Ben, I finally got around to fix this: https://salsa.debian.org/postgresql/pg-partman/commit/142ad7c4e27f8aa53800ebce512d01c327e2700d Thanks! Christoph
Thanks !
2018-09-28 13:19 GMT+02:00 Christoph Berg <myon@debian.org>:
Re: To talk to ben 2018-08-29 <20180829095643.GC15693@msg.df7cb.de>
> Re: talk to ben 2018-08-29 <CAPE8EZ6AtY1SW4keithim7dA3ovBf_Er7S7VJ9dtZ+FHpDBjaw@mail. gmail.com>
> > Hi ,
> >
> > I noticed that the package pg_partman has no depencies with psycopg2.
> > Should it be fixed ?
>
> Package: postgresql-10-partman
> Source: pg-partman
> Version: 3.2.1-1
> Installed-Size: 4628
> Maintainer: Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org>
> Architecture: amd64
> Depends: postgresql-10, python, libc6 (>= 2.4)
>
> "python" is bogus there, yes. It should be psycopg2 (for python3, if
> possible), and maybe demoted to be a Recommends.
>
> Will fix, thanks for spotting!
Hi Ben,
I finally got around to fix this: https://salsa.debian.org/postgresql/pg-partman/commit/ 142ad7c4e27f8aa53800ebce512d01 c327e2700d
Thanks!
Christoph