Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

psycopg by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group