From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DB8761389E2 for ; Tue, 25 Nov 2014 03:35:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12EA5E08D5; Tue, 25 Nov 2014 03:35:41 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9217DE0876 for ; Tue, 25 Nov 2014 03:35:39 +0000 (UTC) Received: from gmx.de ([141.24.13.6]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MP1PX-1XoyS62Z6d-006MsU for ; Tue, 25 Nov 2014 04:35:37 +0100 Date: Tue, 25 Nov 2014 04:35:37 +0100 From: Frank Steinmetzger To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] World update and changed PYTHON_TARGETS Message-ID: <20141125033537.GA15550@kern.lan> Mail-Followup-To: gentoo-user@lists.gentoo.org Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline User-Agent: "$(mutt -v|sed -n -e '1 s/ (.*//p'), $(vim --version|sed -n -e '1 s/ (.*//p')" X-Provags-ID: V03:K0:ZpJv3IcYn1fhAehR89gUd4b0zn41oDZDTmVy6n1tvbmjW6jiQCu 7rjNkg5stGf3UceNeigYpL9hOrdt16JcokobwDVVshAIZ8Z8qd/zwlP4Swcrcg5WvCNaEz8 iV6pKIo2QhmZf085O/zO1jvQTklWlVfOFyTmLemHjfsDyOHWpxTFRGjd0HxzMpr52XL8PCh 57uDjB1iqqmgCv6wZAj8w== X-UI-Out-Filterresults: notjunk:1; X-Archives-Salt: 15f3feb8-11df-45c3-aeec-b97e3a160010 X-Archives-Hash: 627dac2e08177375c5ad54840c473e5b --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey list during yesterday's upgrade I read the news about python 3.4 being the new profile default. In its course a lot of python-related packages were indeed rebuilt (up until then I had set PYTHON_TARGETS to 2.7, 3.3 and 3.4 manually due to blender, which already required 3.4). But in the end, depclean will still not remove python 3.3. So I dug and after some more cleanup (some packages had to be un-keyword to support 3.4) I got: ---[ $ emerge -cpv python:3.3 ]--------------------------------------------= ----- Calculating dependencies... done! dev-lang/python-3.3.5-r1 pulled in by: dev-python/lxml-3.3.5 requires >=3Ddev-lang/python-3.3.2-r2:3.3 dev-python/setuptools-7.0 requires >=3Ddev-lang/python-3.3.2-r2:3.3 ---------------------------------------------------------------------------= ----- What I don't understand: ---[ $ emerge -pvuD --changed-use --with-bdeps=3Dy world ]-----------------= ------- [...] Total: 0 packages, Size of downloads: 0 kB ---[ $ emerge -p lxml setuptools ]-----------------------------------------= ----- [ebuild U ~] dev-python/lxml-3.4.1 [3.3.5] PYTHON_TARGETS=3D"-python3_3= *" [ebuild R ~] dev-python/setuptools-7.0 PYTHON_TARGETS=3D"-pypy3% -pyth= on3_3*" The following keyword changes are necessary to proceed: (see "package.accept_keywords" in the portage(5) man page for more details) # required by lxml (argument) =3Ddev-python/lxml-3.4.1 ~amd64 ---[ $ eix -e lxml ]-------------------------------------------------------= ------ [I] dev-python/lxml Available versions: 3.3.5 ~3.3.6 ~3.4.0 ~3.4.1 {beautifulsoup3 doc ex= amples +threads PYTHON_TARGETS=3D"python2_7 python3_3 python3_4"} Installed versions: 3.3.5(22:03:28 05.11.2014)(threads -beautifulsoup= 3 -doc -examples PYTHON_TARGETS=3D"python2_7 python3_3 python3_4 -python3_2= ") ---------------------------------------------------------------------------= ----- If I upgrade the "stable" lxml 3.3.5 to the keyworded 3.4.1, this problem will probably go away. But I want to understand it. How can I find out why portage thinks I need lxml 3.4.1? 3.3.5 knows about python just 3.4 as well, it only uses a different shell syntax to express it: 3.3.5: PYTHON_COMPAT=3D( python{2_7,3_{2,3,4}} ) 3.4.1: PYTHON_COMPAT=3D( python{2_7,3_3,3_4} ) ---[ $ emerge -pvc lxml ]--------------------------------------------------= ----- Calculating dependencies... done! dev-python/lxml-3.3.5 pulled in by: app-text/calibre-1.20 requires >=3Ddev-python/lxml-2.2.1 media-gfx/inkscape-0.48.5 requires dev-python/lxml[python_targets_pytho= n2_7(-),-python_single_target_jython2_5(-),-python_single_target_jython2_7(= -),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_sin= gle_target_python3_3(-),-python_single_target_python3_4(-),python_single_ta= rget_python2_7(+)] ---------------------------------------------------------------------------= ----- Both inkscape and calibre only care about python 2.7. Cheers and good night for now. --=20 Gru=C3=9F | Greetings | Qapla=E2=80=99 Please do not share anything from, with or about me with any social network. I happen to have some time. Where is nothing to do? --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJUc/kJAAoJEIsxvrVA1DDKe3QQAKG1cpiemjmrxYca84eEmKbx 2bJutEpXJN0CeIBdfX8xOC7BnDlpmS8flAp0TXmmpzeF76B8SW5qlvsj14NnDxY9 bpB8xW0nQ2zkYhhiPirSkK3gK/gevSPe3MORL5XQ3oLg+TbynaahxYWRrPx+G1/f BCi/4e85TYYE0Jkpk9KcnE9AYMFx4siHs6WWK1BbF7mlWS0NH60YAcZ24Vj651cA PJMK33VonQr7kH7zDr7GgpMFl2jdmVqH3bGr4qrRSfr3zCqDfWoNJ0HKINlUOwww tyrW4OxRU6IGTMTNfDnhvFLFwbnE/06+YAP2w1KbHHlA003t/PYrCNhioNq2yHT/ kSUkJaV6EUylADo0Ql1Lg20c/6Mr/YamT+h+Ku2XWNyYLpHtorp0SmVJnuu6ky9k hVmnG3rJ5kbmyh896msk6AztRJIJ2B3eRDljQ80HdO2lBYmCFdo+lQ7vLelbFdTu h+tafEparQayBcpwrZCHTr9mhXsr5holrDSVrGhus6XuUgR4/EJRJXd3WXVz+rWq hME38rfDMB3Fm0y7CCE29zK7ZsBsnvRbkT4WoKfjEhZVmwd1zI3EQf9AJO/X3xj3 uoMOWlpnCMUFQXRuuCVhMO+1FBIhORwWE6jOSs/KHoWpCshRYpmECE90NEn39VFo mcZ1hclZvnvggVL4RF9P =TH6Q -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS--