Bug 143444 - dev-python/psycopg: - bad dependencies
Bug#: 143444 Product:  Gentoo Linux Version: 2006.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: python@gentoo.org Reported By: pbravenec@solartec.cz
Component: Applications
URL: 
Summary: dev-python/psycopg: - bad dependencies
Keywords:  
Status Whiteboard: 
Opened: 2006-08-10 03:45 0000
Description:   Opened: 2006-08-10 03:45 0000
psycopg is dependant on postgresql and libpq - should be dependant on libpq
only. libpq = libraries to access database, postgresql = database engine.

missing dependency on egenix-mx-base

------- Comment #1 From Jakub Moc (RETIRED) 2006-08-10 04:06:40 0000 -------
(In reply to comment #0)
> psycopg is dependant on postgresql and libpq - should be dependant on libpq
> only. 

No, it shouldn't (you'll be missing pg_config for one). On a side note,
psycopg-2* needs 7.4.x, lower 7.x versions are not supported there.

> missing dependency on egenix-mx-base

Which version are you talking about? Not a mandatory dep for psycopg-2 any
more.

------- Comment #2 From petr bravenec 2006-08-10 05:21:02 0000 -------
>> missing dependency on egenix-mx-base
>
>Which version are you talking about? Not a mandatory dep for psycopg-2 any more.

Sorry. Psycopg version 1.1.21. Psycopg-2 is masked with ~x86.

> No, it shouldn't (you'll be missing pg_config for one). On a side note,
> psycopg-2* needs 7.4.x, lower 7.x versions are not supported there.

I have compiled and working psycopg 1.1.21 without postgresql or pg_config with
libpq only. I should not be needed to have installed whole database engine to
access database on remote host. I did not try psycopg-2.

I emerged psycopg with
emerge --nodeps psycopg
and it did not complain about missing postgresql package.

------- Comment #3 From Jakub Moc (RETIRED) 2006-08-10 07:19:19 0000 -------
(In reply to comment #2)
> >> missing dependency on egenix-mx-base
> >
> >Which version are you talking about? Not a mandatory dep for psycopg-2 any more.
> 
> Sorry. Psycopg version 1.1.21.

It depends on egenix-mx-base already. You need to run python-updater after
upgrading python.

Sending this to maintainer, the postgresql dep in 2.x should be fixed
regardless, it doesn't work w/ anything less than 7.4.

------- Comment #4 From Alastair Tse (RETIRED) 2006-08-10 14:21:07 0000 -------
Thanks, fixed both the libpq dep and the version 7.4. thanks for the report.