> On 5/04/2017, at 08:42, Nils Bruin <nbr...@sfu.ca> wrote: > > On Tuesday, April 4, 2017 at 1:00:31 PM UTC-7, François wrote: > (2) while being just one use, is probably not replaceable. > Not in this form at the very least. > > How can one get the appropriate information in sage-on-gentoo? If we compare > the mechanisms that work in the different scenarios we might be able to see a > common strategy or a way to choose which strategy should be followed. On the > other hand, if the information about which optional packages are installed, > is fundamentally not available then it is futile to try and make > --optional=all work at all. >
I currently do not support “—optional=all” in sage-on-gentoo. It is indeed futile. Let’s be clear, I could ship a list of possible optional packages supported in sage-on-gentoo but any checking of package availability would have to go through the the distribution package manager. Effectively each distro would need to bring in their plugin. Another thing, currently “—optional=all” check that not only it is installed but that the version is the latest one available to sage. For many binary distro if you are up to date such check is superfluous (you may not have the current sage version but that’s what you’ll get from your package manager). And we don’t even cover the fact that some options may just be installed system wide (by package manager or otherwise) and would just work. Apart from key proprietary software (mathematica, magma…) that case is not covered by the current framework either. If it doesn’t exist in the sage sandbox, it doesn’t exist as far as the testing framework is concerned. And actually that notion of control and confinement that has to be maintained is probably getting in the way of thinking of a more general solution. >From sage-on-gentoo point of view having “—optional==all” working would be nice for the optional packages I support. But I don’t explicitly support that many anyway. Not sure about the other packagers. François -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.