Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Jeremy Stanley 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: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Fri Apr 3 21:40:40 2020 Old-Return-Path: 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: archive/latest/18074 List-ID: List-URL: 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 --plby647zs77ajdlw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. --=20 Jeremy Stanley --plby647zs77ajdlw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEl65Jb8At7J/DU7LnSPmWEUNJWCkFAl6HpblfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk3 QUU0OTZGQzAyREVDOUZDMzUzQjJFNzQ4Rjk5NjExNDM0OTU4MjkACgkQSPmWEUNJ WCl81xAAooMpqtAxvZlt8HI+ZvoCN0Ntwg+QfFB8LRuk+FQfxTSQ2xbr6sbo/gHS 6LS1MSj/tFNoyHJAUf9MD3HNrRj3On9oAj65Sh+YzDJtj5U5G5VpE74i5HOAB9VY ycNtOkl5Y1B+IrnHpk+Z2Rmn1FgWVnrgR2YU2DU4r7t1S4w/5mDXcky17kbi4MuB FXE7oRZWVhDRD0Z2HutRMeMuHBKaufSuHIXmYAR4bkcG1kx5RHhNWX5nVQgc+246 sLoqqSkdueK5rEFHPiGG+So07qVc0HYx0Hf+Dx4nM9XYMRjzJ38PC0hC1DEd5M9D +RoazD1GFqAQ332qgqrarjFYpFAp+LwsYqIAYdfhSluKRCe4VIjuB4LSow0STDfC ehJlobWDeFh1CnCuK9jbF1aLIwkb71lqO9JokTvJlxtBcaTI6M0YaeO7mEPWJT0F B2zNPkvmIiuCLSdS1FLLKaRXXb3ciyYfI5EeZnqbdLCkSvQAIjMsSSHQgIwvCkaZ /PcC69DulP1yqudLgc2zqNcoBfYr/XHXokq4uK1bokzed44d61aHD8JOHQk4AmLG Icx78jIjSy/sRkM7WMm/mImdljK/BhV4ekzrkzoB0a6izPHc4tiGxXomgJdtADkY htp4rehjUBWISxyEUY5k3SnihqyvP6w+dmWJU6tEv0pWEG2rmec= =VUMJ -----END PGP SIGNATURE----- --plby647zs77ajdlw--