Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143444 - dev-python/psycopg: - bad dependencies
Summary: dev-python/psycopg: - bad dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-10 03:45 UTC by petr bravenec
Modified: 2006-08-10 14:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description petr bravenec 2006-08-10 03:45:07 UTC
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 Jakub Moc (RETIRED) gentoo-dev 2006-08-10 04:06:40 UTC
(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 petr bravenec 2006-08-10 05:21:02 UTC
>> 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 Jakub Moc (RETIRED) gentoo-dev 2006-08-10 07:19:19 UTC
(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 Alastair Tse (RETIRED) gentoo-dev 2006-08-10 14:21:07 UTC
Thanks, fixed both the libpq dep and the version 7.4. thanks for the report.