<div dir="ltr"><div>Hi,</div><div><br></div><div>As part of the python3 PoC we are working on in rocky cycle i think we need to reconsider how we are managing executables in packages with python2/python3 subpackages. Currently, we are following Fedora best practices creating <executable>-<python version> in python{2|3}-<package> packages and making <executable> a symlink for python2 version and shipping it only in python2 subpackages.</div><div><br></div><div>I think this is not a convenient way to manage it for python3 installations as it requires users (and tools) to use <executable>-3 commands. IMO, moving from python2 to python3 should be more transparent from a user PoV.<br></div><div><br></div><div>I see some ways we could manage this:</div><div><br></div><div>1. Don't build python2 in el7 builds and stop creating <executable>-<python version>, just <executable>.</div><div>2. Keep building both and change <executable> symlink to point to <executable>-3 when python3 subpackages are enabled in spec file.</div><div>3. Keep building both and use alternatives mechanism to manage <executable> symlink to point to <executable>-2 or <executable>-3 depending on what is installed (-3 if both are enabled).</div><div><br></div><div>My main doubt is related to how to handle this from a Fedora perspective keeping in mind that we are using the same specs to build packages in Fedora repos. I guess the best way to keep both python2 and 3 installations working is to use option 3.<br></div><br><div>What do you think?, any feedback?</div><div><br></div><div>Best regards,</div><div><br></div><div>Alfredo</div><div><br></div><div><br></div></div>