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 483F71381F3 for ; Thu, 12 Sep 2013 17:21:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 17D8EE0BA5; Thu, 12 Sep 2013 17:21:14 +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 97D30E0BA5 for ; Thu, 12 Sep 2013 17:21:13 +0000 (UTC) Received: from chiana.av1.gaikai.int (unknown [199.21.234.7]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: chutzpah) by smtp.gentoo.org (Postfix) with ESMTPSA id 4A06D33EC3B; Thu, 12 Sep 2013 17:21:12 +0000 (UTC) Date: Thu, 12 Sep 2013 10:20:18 -0700 From: Patrick McLean To: =?UTF-8?B?TWljaGHFgiBHw7Nybnk=?= Cc: gentoo-python@lists.gentoo.org, python@gentoo.org Subject: Re: [gentoo-python] How to migrate to the new scheme of Python scripts? Message-ID: <20130912102018.782a45e6@chiana.av1.gaikai.int> In-Reply-To: <20130912104900.6da43408@gentoo.org> References: <20130912104900.6da43408@gentoo.org> X-Mailer: Claws Mail 3.9.2-dirty (GTK+ 2.24.20; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Discussions centering around the Python ecosystem in Gentoo Linux X-BeenThere: gentoo-python@gentoo.org X-BeenThere: gentoo-python@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA256; boundary="Sig_/An2PuzFOGTuWsD8XPBZexeM"; protocol="application/pgp-signature" X-Archives-Salt: 93f1bf65-3e3f-454c-bf01-de35a1fc9065 X-Archives-Hash: 0cda4da69c377d8e807d01d3fbcc8160 --Sig_/An2PuzFOGTuWsD8XPBZexeM Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 12 Sep 2013 10:49:00 +0200 Micha=C5=82 G=C3=B3rny wrote: > Hello, >=20 > However, the upgrade itself seems harder to accomplish. Specifically, > all the simple ways of achieving that would involve changing stable > packages. >=20 > So far, I can think of three solutions, starting with the worst: >=20 > 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. >=20 > 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. >=20 > 3. python-r2, python-single-r2, distutils-r2 :). >=20 >=20 > Anyone has a better idea? >=20 You could make sure that python-exec:2 is marked ~arch and in the eclass check the version installed and switch according to that. For stable users everything will stay the same, and for ~arch users all new installs/upgrades will be switched to the new system. This will even work if we want to mask it for a bit, so developers can test before letting it into ~arch. --Sig_/An2PuzFOGTuWsD8XPBZexeM Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (GNU/Linux) iQIcBAEBCAAGBQJSMffvAAoJEHy/RO9cNQiD/jYP/3xbz9f7IYfeUrO116Nirk4w XuayUsdgdkli2awS88fjiQaKiD8jxwh6/5nAlCwuI/mVKIHOA0OH+qNSM7/99qGZ o6b0WjRzR/nXhCLVGf/RA0BG3J/PWXEw0Xp0AwWZBCRGTPTl5ko4Wxv9NVAvqsmg uXs87eVjw7/bFgZ8K3QLVx4oBc4vk06BdgdjBF5knlhkVJ+ianGZzMQfyMRmn9sj p87QOekUs2uyMI6iBL6xm6hZRao+Lu64kIjrbbSlxxl7YsRGk6G69NUSrh5JsBqH iBriQ0E/o99IiIpsuf1DonV0xCBm8mnXRMq6OG0owb7cesvm1zOqtaqk/dtD1hkj /wmml0b4o2SfAutFFRUkcwwZq+Rbt0JiBMZDmUDy/349iHroxO0lpNHbhbjdoGYB do+vzOM+Aw8THuyzQ+Xb87UYkzj1AgLXzwC37UuYzNW8b+EGrUO55IN4EyyxJ4Mh aNUJkcq3v38Ez2VRXfzM5ivu18K/ks7jexHWGJLBaw25lCspuPpu8LKKwktIHyZ0 PXm+ZuTYlbzzV0cH40raBdCFYBaEep1aemeLMxrrUm3N9zD7j5WYq9cQ2m7KG1pz HrIH9HWjiCSMigOe7O6eoIk0sHonk3X4cSQBSasBXp4tDdeeCTS0jBDKSHdeZ6EQ p0xjwNyyY4iNkMY7fgP5 =j+wR -----END PGP SIGNATURE----- --Sig_/An2PuzFOGTuWsD8XPBZexeM--