Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #77707

Re: Newer Debian versions of python on older Debian distros?

References <5D152EC0-CDBB-4AC9-B074-B648074CE372@gmail.com>
Date 2014-09-09 10:06 +1000
Subject Re: Newer Debian versions of python on older Debian distros?
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.13881.1410221203.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Tue, Sep 9, 2014 at 5:04 AM, Travis Griggs <travisgriggs@gmail.com> wrote:
> Does anyone have experience with using newer versions of python debian packages (in particular, python3 and python3-bson-ext from ‘testing’) on older stable versions (‘wheezy’ in this case)? If someone’s figured out how to do this easily, I’d love to hear the recipe!
>

I don't know about grabbing from testing, because that's fraught with
peril... but there's a pretty easy way to get a newer Python: build
from source. Basically, the standard incantation:

$ sudo apt-get build-dep python3
$ hg clone http://hg.python.org/cpython
$ cd cpython
$ ./configure && make && sudo make install

(I like to separate the last three steps, but putting them together works too.)

Alternatively, you could just run Debian Jessie. I have a few Jessie
systems on the network, with a Python 3.4 IIRC, and there've been no
stability problems lately. Both options are pretty easy.

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Newer Debian versions of python on older Debian distros? Chris Angelico <rosuav@gmail.com> - 2014-09-09 10:06 +1000

csiph-web