Re: Stuff for 2.4.1 - Mailing list psycopg

From Daniele Varrazzo
Subject Re: Stuff for 2.4.1
Date
Msg-id AANLkTin6=tgzGOJtYU6TnSpyOPCdgtmv4XxTLxBjkLeG@mail.gmail.com
Whole thread Raw
In response to Re: Stuff for 2.4.1  (Adrian Klaver <adrian.klaver@gmail.com>)
List psycopg
On Sun, Mar 27, 2011 at 8:01 PM, Adrian Klaver <adrian.klaver@gmail.com> wrote:

> I am not entirely against your argument, but if you are going to make the
> above statement at least compare apples to apples. In Natty the released
> version of Psycopg2 is 2.2.1 , so 2.4.1 is not an option by your rules.

Once you have system packages libpq-dev and python-dev, psycopg can be
installed just with "easy_install psycopg2" and can be easily put in
per-user or per-project directories. Using non-system python packages
for a project is not uncommon at all, whereas I find always more
resistance from people to compile stuff for their /usr/local/.

Even if you wouldn't be able to upgrade system packages, you could
always compile the libpq yourself, but then you have to be careful to
the LD_LIBRARY_PATH to link the correct library at runtime. It would
be easy to have software passing all the tests and then failing when
deployed because of an upstart script not configured properly. It's
just too brittle and I feel we can avoid annoying situations like
this.

> Also, it is possible for people to run a Pg 9.0 on newer distributions:
>
> https://launchpad.net/~pitti/+archive/postgresql

Of course this is the best option to get PG9 today.

-- Daniele

psycopg by date:

Previous
From: Karsten Hilbert
Date:
Subject: Re: Stuff for 2.4.1
Next
From: Federico Di Gregorio
Date:
Subject: Re: Stuff for 2.4.1