On Fri, 18 Nov 2022 at 13:21, Markus Volk <[email protected]> wrote: > I am tempted to turn this into a patch :-) But imagine all the complaints > this is going to receive. > > > Maybe it would be possible to use a DISTRO_FEATURE 'python2' and make the > creation of the python3 symlink dependent on it? This way users who need > python2 could restore the previous behavior and you still wouldn't have to > patch the scripts, which somehow feels wrong and would add a lot of > oe-specific patches.
I thought of it too. But consider this: it would require that any script that refers to python (without a number) would be compatible with both 2 and 3, or there would be cryptic failures. We can't possibly make that promise. I'd rather force everyone to patch their 2.x scripts to ask for python2. Just worried about my nerve cells when people will come and shout at me for daring to suggest that. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#173455): https://lists.openembedded.org/g/openembedded-core/message/173455 Mute This Topic: https://lists.openembedded.org/mt/94790255/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
