Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113164 - version mismatch between psycopg and zpsycopgda after emerge update
Summary: version mismatch between psycopg and zpsycopgda after emerge update
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major
Assignee: net-zope (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-21 07:22 UTC by Christophe Martin
Modified: 2005-12-11 11:40 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 Christophe Martin 2005-11-21 07:22:22 UTC
Hello there,

net-zope/zpsycopgda uses the library
       /usr/lib/python2.3/site-packages/psycopgmodule.so
that is built by dev-python/psycopg.

I use 2005.1. After,
             emerge --sync
             emerge -v --update --deep --newuse world
I got net-zope/zpsycopgda version 1.1.15 and dev-python/psycopg 1.1.18.

Unfortunately, zpsycopgda 1.1.15 refuses to use psycopg 1.1.18. (exact error
message from event.log file is below).

It would be nice if psycopg was upgraded ONLY WHEN zpsycopgda is upgradeable to
the same version.

In the mean time, is there a way to manually prevent psycopg from beeing
upgraded (I have 3 automatic sync/update/upgrade a week). As a temporary
solution, I added "emerge =dev-python/psycopg-1.1.15" to my update script.

Christophe.
------
2005-11-14T09:39:54 ERROR(200) Shared.DC.ZRDB.Connection Error connecting to
relational database.
Traceback (most recent call last):
  File "/usr/lib/zope-2.7.3/lib/python/Shared/DC/ZRDB/Connection.py", line 69,
in __setstate__
    try: self.connect(self.connection_string)
  File "/var/lib/zope/zope-umr6538/Products/ZPsycopgDA/DA.py", line 229, in connect
    raise ImportError("psycopg version mismatch: " +
ImportError: psycopg version mismatch: 1.1.18
------


Reproducible: Always
Steps to Reproduce:




Not sure of the severity... although the description for "blocker" seems to
fit well.
Comment 1 Radoslaw Stachowiak (RETIRED) gentoo-dev 2005-12-11 11:40:10 UTC
zpsycopgda has been updated in portage to 1.1.21 which should solve the problem 
(it matches psycopg version).

In case of problems please reopen the bug.
Thank You for Your support and patience.