Re: Fwd: Psycopg2 2.4.2 on Debian with Python 3

From: Joe Abbate <jma(at)freedomcircle(dot)com>
To: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
Cc: psycopg(at)postgresql(dot)org
Subject: Re: Fwd: Psycopg2 2.4.2 on Debian with Python 3
Date: 2011-08-05 19:39:28
Message-ID: 4E3C46F0.2060903@freedomcircle.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

Hi Daniele,

On 08/05/2011 03:06 PM, Daniele Varrazzo wrote:
> On Fri, Aug 5, 2011 at 6:34 PM, Joe Abbate <jma(at)freedomcircle(dot)com> wrote:
>
>> Does anyone on the list know the status of the subject?
>
> Psycopg works out of the box with Python 3.1 and 3.2: "make
> PYTHON=/path/to/pythonX.Y" and it is built against the desired Python
> version.
>
> I assume it's just the dependencies of the debian package to have not
> been updated after psycopg started supporting Python 3.x: there should
> be no build problem (recent development has been mostly performed in
> debian environment).

Yes, that's what I suspected. When I do python -3 (using 2.6 or 2.7)
and import psycopg2, I get DeprecationWarnings for
mx/DateTime/DateTime.py. What I don't understand is that in PyPI,
egenix-mx-base does not show as supporting Python 3. If that's correct,
does psycopg2 use something else for Python 3?

Joe

In response to

Responses

Browse psycopg by date

  From Date Subject
Next Message Daniele Varrazzo 2011-08-05 20:36:24 Re: Fwd: Psycopg2 2.4.2 on Debian with Python 3
Previous Message Michael Bayer 2011-08-05 19:07:39 Re: Fwd: Psycopg2 2.4.2 on Debian with Python 3