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


Groups > linux.debian.maint.python > #12419

Re: Build Python 2.7 version >= 2.7.15 on Debian 9

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Jeremy Stanley <fungi@yuggoth.org>
Newsgroups linux.debian.maint.python
Subject Re: Build Python 2.7 version >= 2.7.15 on Debian 9
Date Fri, 03 Apr 2020 23:50:01 +0200
Message-ID <zRCml-nG-7@gated-at.bofh.it> (permalink)
References <zRBqi-8fS-5@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Apr 3 21:40:40 2020
Old-Return-Path <fungi@yuggoth.org>
X-Amavis-Spam-Status No, score=-12 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, PGPSIGNATURE=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate:hard: -4.6
X-Greylist delayed 1926 seconds by postgrey-1.36 at bendel; Fri, 03 Apr 2020 21:40:28 UTC
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="plby647zs77ajdlw"
Content-Disposition inline
User-Agent NeoMutt/20170113 (1.7.2)
X-Sa-Exim-Connect-IP 2001:4802:7801:102:be76:4eff:fe20:63e0
X-Sa-Exim-Rcpt-To debian-python@lists.debian.org
X-Sa-Exim-Mail-From fungi@yuggoth.org
X-Sa-Exim-Scanned No (on azathoth.yuggoth.org); SAEximRunCond expanded to false
X-Mailing-List <debian-python@lists.debian.org> archive/latest/18074
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20200403210817.pvxm6ifobkwj765e@yuggoth.org
Approved robomod@news.nic.it
Lines 49
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 3 Apr 2020 21:08:17 +0000
X-Original-Message-ID <20200403210817.pvxm6ifobkwj765e@yuggoth.org>
X-Original-References <8DA45576-D5A3-4A85-964B-46AFD226E83F@pp.inet.fi>
Xref csiph.com linux.debian.maint.python:12419

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On 2020-04-03 23:21:25 +0300 (+0300), ellis.magaud@pp.inet.fi wrote:
[...]
> What is the correct way to build a clean version of python2.7 on
> Debian9 that will be compatible with already packaged python2.7
> modules?

The Python modules with C extensions packaged in Debian are built
against the Python development library headers for the version of
the Python interpreter which is packaged in Debian. If you replace
the interpreter with a different version I expect you'll at least
have to relink, if not entirely recompile, those extensions against
newer headers. I don't personally know a way to go about that short
of rebuilding those additional modules from source. You might be
better off switching to a newer version of Debian which provides a
newer Python 2.7 release and has the other packages you need already
built against it, or using some other Python package management
solution like conda or virtualenv.
-- 
Jeremy Stanley

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Build Python 2.7 version >= 2.7.15 on Debian 9 "ellis.magaud@pp.inet.fi" <ellis.magaud@pp.inet.fi> - 2020-04-03 22:50 +0200
  Re: Build Python 2.7 version >= 2.7.15 on Debian 9 Jeremy Stanley <fungi@yuggoth.org> - 2020-04-03 23:50 +0200

csiph-web