On Sun, Sep 20, 2009 at 11:05 PM, Arfrever Frehtes Taifersar Arahesis <arfre...@gentoo.org> wrote: >> Package X (stable) requires python-2 >> Package Y (stable) requires python-3 >> >> => User can't use both at the same time. > > Distribute/Setuptools will ensure that appropriate shebang is present in > Python > scripts. In other cases, we can easily modify shebangs in installed scripts. > (A new function in python.eclass could be created for this purpose, but until > now it isn't needed.) >
Oooh, this will lead to more phun! Package A (module, stable) requires python-3 However, A is a dependency of *both* X and Y Now what? Slotting? Install to both/all python prefixes? Or some other ugly solution? Seriously, if you *really* *really* want python-3 stable, it should: 1) NOT show up in `eselect python` to set as the default interpreter 2) NOT be a dependency of any package in stable 3) Be accessibly ONLY via the name "python-3" (or similar) Which means, that for stable users, it will be for personal projects only. In which case, I don't see much point in stabilizing it. -- ~Nirbheek Chauhan GNOME+Mozilla Team, Gentoo