On Tue, 2021-08-31 at 10:42 +0530, Niranjana K M wrote:
> Hi,
> If sage is built with system python (default behavior) any future
> update of system python makes sage non-functioning. This is natural.
>
> ...
>
> PS: I use Gentoo. Though it doesn't matter.
>
>
This is true of any software you build/install outside of portage, but
it's made worse by the fact that Sage has so many dependencies and that
python itself changes so quickly (both in general, and in Gentoo).
We are slowly making progress towards using system packages for all of
Sage's dependencies in
https://trac.sagemath.org/ticket/27330
When all of sage's dependencies are picked up by ./configure, you'll
only have to rebuild the sage library whenever something changes. Still
annoying, but it's the best we can do. You'll still have to re-run
./configure and "make build" to kick off the process.
Eventually (we're still a few years away), we'll get sage into the main
Gentoo package repository, and we can use subslot rebuilds to automate
the process for you. Until then, you might want to try the sage-on-
gentoo overlay from
https://github.com/cschwan/sage-on-gentoo
Using the overlay ebuild will also trigger subslot rebuilds when
important pieces of sage change. Unfortunately, that doesn't help if
you're trying to do sage _development_, but again -- it's the best we
can do.