From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-python+bounces-545-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C993D1381F3 for <garchives@archives.gentoo.org>; Thu, 12 Sep 2013 08:52:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9386EE0C41; Thu, 12 Sep 2013 08:52:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A10CEE0C41 for <gentoo-python@lists.gentoo.org>; Thu, 12 Sep 2013 08:52:48 +0000 (UTC) Received: from localhost (host-81.219.110.26.devs.futuro.pl [81.219.110.26]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id BEF3633E9B9; Thu, 12 Sep 2013 08:52:46 +0000 (UTC) Date: Thu, 12 Sep 2013 10:49:00 +0200 From: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= <mgorny@gentoo.org> To: gentoo-python@lists.gentoo.org Cc: python@gentoo.org Subject: [gentoo-python] How to migrate to the new scheme of Python scripts? Message-ID: <20130912104900.6da43408@gentoo.org> Organization: Gentoo X-Mailer: Claws Mail 3.9.2-dirty (GTK+ 2.24.20; x86_64-pc-linux-gnu) Precedence: bulk List-Post: <mailto:gentoo-python@lists.gentoo.org> List-Help: <mailto:gentoo-python+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-python+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-python+subscribe@lists.gentoo.org> List-Id: Discussions centering around the Python ecosystem in Gentoo Linux <gentoo-python.gentoo.org> X-BeenThere: gentoo-python@gentoo.org X-BeenThere: gentoo-python@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA512; boundary="Sig_/caHn+oCZoQID1ZqoqT083I/"; protocol="application/pgp-signature" X-Archives-Salt: d747d95d-b0b3-4849-8299-0f8ce79686dd X-Archives-Hash: 1c3210945cc6cdda194532bf804c95b7 --Sig_/caHn+oCZoQID1ZqoqT083I/ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, Since the idea hasn't seen negative feedback so far, I think we should so some early thinking on how to migrate. Good news is that it doesn't change anything at all for packages installed already. They will still use dev-python/python-exec:0 at least until they're rebuilt, so there's no risk of immediate breakage during the upgrade. However, the upgrade itself seems harder to accomplish. Specifically, all the simple ways of achieving that would involve changing stable packages. It should be noted that what changes is: 1. Wrapped scripts are moved to a new location, 2. Wrappers are replaced by another branch of python-exec. So, this doesn't apply to the packages which don't install Python scripts at all. For the remaining ones, external behavior persists -- EPYTHON is respected, /usr/bin/foo works. The only things that break is those explicitly relying on wrapping logic, and I track them in a bug: https://bugs.gentoo.org/show_bug.cgi?id=3D484398 So far, I can think of three solutions, starting with the worst: 1. Deploy the new stuff in an overlay (except for python-exec:2 itself), keep it there for some time asking people to test with eclasses overriding the main tree. Then ask arch teams to stabilize python-exec:2. When it hits stable, move the changes to the tree. 2. Make the new features controlled via make.conf variable. Ask users to test with it enabled, then file a stablereq for arch teams to test with the switch enabled, plus stabilize the few packages which will need direct changes. Then remove the switch and make the new behavior default for all stuff. 3. python-r2, python-single-r2, distutils-r2 :). Anyone has a better idea? --=20 Best regards, Micha=C5=82 G=C3=B3rny --Sig_/caHn+oCZoQID1ZqoqT083I/ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (GNU/Linux) iQJ8BAEBCgBmBQJSMYACXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOc6EP/13Bh4tEeJkcB3GN4mOWQK9a 2HzEXyUGJVl2jje9Unz5s7tZFKanrDsK/ZU2v7cCR4ImTMxkRHizodfeBSHgPl5/ 4WXNxKGPJ/NSrAEXPr0SoCwf8byvIjUE7nR+HYGHYd+oSpSYP4lWDiAz/9NMbtAO ne2Csv/Vc1fW8PD7swlk6useu/VsJ/ICwykRvbFmdfhZl8UzXVtw1pXz9YPgcL/1 ZTxHhUDgEzY2jcl7Gf3pP2pnzS9GN6AHex1nFSGtsJzU1uzJdVWBsHNL29saApfy eSMZfLK34je96pI60alTenIALJSZIVPab9SRfW+CFcEZEqwdiBrbT8IEEK7YwQWm EvBofk074bGWkb10oZl1NpSO2TXT16+aN219prO+kw3jhmVh+k+/Pp5pP1bNagPB jIlk5QV/bhuyw+im6U1XOZLkiDLCFyV1lJQ75c1uvaktnOwEUcVFy5oOcQesJhgD ymlhOuFCmXWgVuQAXw+Ewos+u77xA9Re5aThgPtGljbe/8kD5PusvT9xkSDZl41T 2U8/n/ipl3rqqsAJ/0w9/X46feKjDYuzPHEdCWsAby1aYHvR8MryhBbmbjbbp7B+ UTGczyv4xSUvPJmjYoQAp/YZPJH3vb0sxW1ix0KHoAfj3s/BCc8iREITjCnsfkO1 8Acwv5f+jQJ+FuP9rsYU =2NPV -----END PGP SIGNATURE----- --Sig_/caHn+oCZoQID1ZqoqT083I/--