From: "Michał Górny" <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?
Date: Thu, 12 Sep 2013 10:49:00 +0200 [thread overview]
Message-ID: <20130912104900.6da43408@gentoo.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1772 bytes --]
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=484398
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?
--
Best regards,
Michał Górny
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 966 bytes --]
next reply other threads:[~2013-09-12 8:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-12 8:49 Michał Górny [this message]
2013-09-12 17:20 ` [gentoo-python] How to migrate to the new scheme of Python scripts? Patrick McLean
2013-09-12 17:49 ` Michał Górny
2013-09-12 19:27 ` Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130912104900.6da43408@gentoo.org \
--to=mgorny@gentoo.org \
--cc=gentoo-python@lists.gentoo.org \
--cc=python@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox