Re: [sage-devel] System upgrades breaking sage frequently

2022-07-23 Thread Matthias Koeppe
"make list-broken-packages" now works both on macOS and Linux - https://trac.sagemath.org/ticket/34203 (needs review) On Wednesday, July 20, 2022 at 7:16:11 PM UTC-7 Matthias Koeppe wrote: > On Wednesday, July 20, 2022 at 3:30:44 PM UTC-7 Matthias Koeppe wrote: > >> On Wednesday, July 20, 2022 a

Re: [sage-devel] System upgrades breaking sage frequently

2022-07-21 Thread Matthias Koeppe
This is documented in https://doc.sagemath.org/html/en/installation/conda.html#sec-installation-conda-develop On Thursday, July 21, 2022 at 1:02:22 AM UTC-7 Dima Pasechnik wrote: > > > On Thu, 21 Jul 2022, 07:25 Nils Bruin, wrote: > >> >> It seems that the correct way to use "system" packages

Re: [sage-devel] System upgrades breaking sage frequently

2022-07-21 Thread Dima Pasechnik
On Thu, 21 Jul 2022, 07:25 Nils Bruin, wrote: > > It seems that the correct way to use "system" packages in an >> upgradeable way is to make sure that Sage is such a package itself. >> Here "system" means either your OS, or Conda. >> And Conda comes with a quite fresh version of Sage, so it looks

Re: [sage-devel] System upgrades breaking sage frequently

2022-07-20 Thread Nils Bruin
> It seems that the correct way to use "system" packages in an > upgradeable way is to make sure that Sage is such a package itself. > Here "system" means either your OS, or Conda. > And Conda comes with a quite fresh version of Sage, so it looks as if > it might be what you want. > I'm pre

Re: [sage-devel] System upgrades breaking sage frequently

2022-07-20 Thread Matthias Koeppe
On Wednesday, July 20, 2022 at 3:30:44 PM UTC-7 Matthias Koeppe wrote: > On Wednesday, July 20, 2022 at 3:20:25 PM UTC-7 Nils Bruin wrote: > >> Isn't there at least something that can systematically check which >> dependencies are still in place and which are not, and then just rebuild >> what'

Re: [sage-devel] System upgrades breaking sage frequently

2022-07-20 Thread Matthias Koeppe
On Wednesday, July 20, 2022 at 3:20:25 PM UTC-7 Nils Bruin wrote: > It looks like currently sage is not properly fixing the foundations of its > prerequisites. > If you want integration with your system package manager, use the sagemath package from that repository. -- You received this messa

Re: [sage-devel] System upgrades breaking sage frequently

2022-07-20 Thread Matthias Koeppe
On Wednesday, July 20, 2022 at 3:20:25 PM UTC-7 Nils Bruin wrote: > Isn't there at least something that can systematically check which > dependencies are still in place and which are not, and then just rebuild > what's necessary? > Yes, I think we can do that. I have opened https://trac.sagem

Re: [sage-devel] System upgrades breaking sage frequently

2022-07-20 Thread Nils Bruin
On Wednesday, 20 July 2022 at 15:06:09 UTC-7 Matthias Koeppe wrote: > > You said you did "dnf update". That's what it does, it changes system > packages. > > It's also what people are encouraged to run quite regularly in order for vulnerabilities to be fixed on a reasonable time scale. A sour

Re: [sage-devel] System upgrades breaking sage frequently

2022-07-20 Thread Dima Pasechnik
On Wed, Jul 20, 2022 at 10:59 PM Nils Bruin wrote: > > On Wednesday, 20 July 2022 at 14:01:25 UTC-7 dim...@gmail.com wrote: >> >> >> by default, Sage will be using the system python3, sure. >> And gmp, flint, ntl, mpfr, arb, pari, ecl, singular, R, glpk, etc etc etc >> > so .. the rebuild of sage

Re: [sage-devel] System upgrades breaking sage frequently

2022-07-20 Thread Matthias Koeppe
On Wednesday, July 20, 2022 at 2:59:26 PM UTC-7 Nils Bruin wrote: > On Wednesday, 20 July 2022 at 14:01:25 UTC-7 dim...@gmail.com wrote: > >> >> by default, Sage will be using the system python3, sure. >> And gmp, flint, ntl, mpfr, arb, pari, ecl, singular, R, glpk, etc etc etc >> >> so .. the r

Re: [sage-devel] System upgrades breaking sage frequently

2022-07-20 Thread Matthias Koeppe
On Wednesday, July 20, 2022 at 2:59:26 PM UTC-7 Nils Bruin wrote: > [...] progressing towards a way that sage is properly integrated and that > "dnf install sagemath" just works > That actually works but has nothing to do with the Sage distribution. Fedora has an up to date distribution package

Re: [sage-devel] System upgrades breaking sage frequently

2022-07-20 Thread Nils Bruin
On Wednesday, 20 July 2022 at 14:01:25 UTC-7 dim...@gmail.com wrote: > > by default, Sage will be using the system python3, sure. > And gmp, flint, ntl, mpfr, arb, pari, ecl, singular, R, glpk, etc etc etc > > so .. the rebuild of sage indeed worked; with "make -j8" it timed it at 8 minutes (af

Re: [sage-devel] System upgrades breaking sage frequently

2022-07-20 Thread Dima Pasechnik
On Wed, Jul 20, 2022 at 9:43 PM Nils Bruin wrote: > > I've noticed that after a modest upgrade (just "dnf update"), with some > regularity sage breaks. In the most recent edition, "libflint.so" couldn't be > found. > > I guess there is some prerequisite that sage was relying on to be provided by