On Sat, Oct 2, 2010 at 3:28 AM, Sidnei da Silva <[email protected]> wrote: > Hi Maris, > > On Fri, Oct 1, 2010 at 11:18 AM, Maris Fogels > <[email protected]> wrote: >> Hi everyone, >> >> As you may know there is a problem with the stock pysycopg2 on Maverick that >> prevents one from running the test suite (bug 631010). I have fixed this >> issue >> in the launchpad-dependencies package, but my fix requires manual >> intervention >> on your part. >> >> You only need to run this fix if you are: >> >> a) Running Maverick, and >> b) Have not pinned, forced, or otherwise downgraded to python-pscyopg2 >> 2.0.13. >> >> >> If you do require the fix, here are the steps to get launchpad-dependencies >> 0.82 >> to install: >> >> $ sudo apt-get update >> $ sudo apt-get install python-psycopg2=2.0.13-2ubuntu2 >> $ sudo apt-get install launchpad-developer-dependencies >> >> >> This pulls in the latest packages from our archive, forces apt to downgrade >> psycopg2 to our backported version, and then installs launchpad-dependencies >> 0.82, which depends up said backport. >> >> You do not need to pin or hold the older version python-psycopg2 with this >> solution. launchpad-dependencies 0.82 will hold the old version for you. If >> you already have python-psycopg2 held or pinned you may now remove the hold. >> >> Once python-psycopg2 on Maverick has been fixed someone must edit >> launchpad-dependencies again to allow it on our systems. >> >> If you have any questions, then please reply in this thread. > > Just to be clear, this is a stop-gap measure until Launchpad is fixed > to use unicode strings correctly like Henning commented on the bug > correct? That's what we did in Landscape. I don't think > python-psycopg2 should be patched to accomodate for our brokeness.
I don't think using built in strings in python is at all broken. In python3 all strings are unicode and there is a bytes type, but in Python2 the bytes type is (and this is pretty crazy) aliased with the default string type. -Rob _______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp

