Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-12 Thread Dima Pasechnik
On Fri, Nov 12, 2021 at 10:46 PM Dima Pasechnik wrote: > > On Fri, Nov 12, 2021 at 10:17 PM Matthias Koeppe > wrote: > > > > No, we should revise the documentation so that it does not advertise "make > > test" any more. > > No, if we use autotools/make to build a project, there should be >

Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-12 Thread Dima Pasechnik
On Fri, Nov 12, 2021 at 10:17 PM Matthias Koeppe wrote: > > No, we should revise the documentation so that it does not advertise "make > test" any more. No, if we use autotools/make to build a project, there should be meaningful make targets for testing too, force people to learn peculiarit

Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-12 Thread Matthias Koeppe
I have added this as a task to https://trac.sagemath.org/ticket/30453 On Friday, November 12, 2021 at 2:17:05 PM UTC-8 Matthias Koeppe wrote: > No, we should revise the documentation so that it does not advertise "make > test" any more. > > On Friday, November 12, 2021 at 2:09:12 PM UTC-8 Di

Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-12 Thread Matthias Koeppe
No, we should revise the documentation so that it does not advertise "make test" any more. On Friday, November 12, 2021 at 2:09:12 PM UTC-8 Dima Pasechnik wrote: > On Friday, November 12, 2021 at 8:20:24 PM UTC Matthias Koeppe wrote: > >> Yes, if one is not using the Sage distribution for bu

Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-12 Thread Dima Pasechnik
On Friday, November 12, 2021 at 8:20:24 PM UTC Matthias Koeppe wrote: > Yes, if one is not using the Sage distribution for build, one should also > not use it for testing. > Use "sage -t". > that's not nice. Should we have a ./configure option that just blesses all deps as "coming from the sy

Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-12 Thread Matthias Koeppe
Yes, if one is not using the Sage distribution for build, one should also not use it for testing. Use "sage -t". On Friday, November 12, 2021 at 10:39:47 AM UTC-8 Dima Pasechnik wrote: > On Fri, Nov 12, 2021 at 5:01 PM Matthias Koeppe > wrote: > > > > On Friday, November 12, 2021 at 2:42:09 AM

Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-12 Thread Dima Pasechnik
On Fri, Nov 12, 2021 at 5:01 PM Matthias Koeppe wrote: > > On Friday, November 12, 2021 at 2:42:09 AM UTC-8 Dima Pasechnik wrote: >> >> On Friday, November 12, 2021 at 6:36:00 AM UTC Matthias Koeppe wrote: >>> >>> I have updated the instructions. >> >> >> Thanks - are these tested? > > > Yes, I te

Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-12 Thread Matthias Koeppe
On Friday, November 12, 2021 at 2:42:09 AM UTC-8 Dima Pasechnik wrote: > On Friday, November 12, 2021 at 6:36:00 AM UTC Matthias Koeppe wrote: > >> I have updated the instructions. > > > Thanks - are these tested? > Yes, I tested them on macOS Big Sur. -- You received this message because yo

Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-12 Thread Dima Pasechnik
On Friday, November 12, 2021 at 6:36:00 AM UTC Matthias Koeppe wrote: > I have updated the instructions. Thanks - are these tested? I've changed the release version at the bottom, so that it does not look like something untouched since Sage 9.2 > > On Thursday, November 11, 2021 at 4:27:3

Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-11 Thread Matthias Koeppe
I have updated the instructions. On Thursday, November 11, 2021 at 4:27:38 PM UTC-8 Matthias Koeppe wrote: > Invoking "setup.py install" is always wrong, it should not be used > directly anymore. > > Try "pip install ." instead > > On Thursday, November 11, 2021 at 4:24:47 PM UTC-8 Dima Pasechn

Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-11 Thread Matthias Koeppe
Invoking "setup.py install" is always wrong, it should not be used directly anymore. Try "pip install ." instead On Thursday, November 11, 2021 at 4:24:47 PM UTC-8 Dima Pasechnik wrote: > anyhow, Conda for Sage Developers needs updates. > Before doing > > cd src/ > python setup.py install > > o

Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-11 Thread Dima Pasechnik
anyhow, Conda for Sage Developers needs updates. Before doing cd src/ python setup.py install one needs to do the same for a number of packages in pkgs/ cd pkgs/sage-conf python setup.py install cd ../sage-setup python setup.py install and I also did pip install memory-allocator because some

Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-11 Thread Isuru Fernando
I suggest running `conda activate sage-build` and then doing a `make dist-clean`. -- 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...@googlegrou

Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-11 Thread Dima Pasechnik
On Thu, Nov 11, 2021 at 11:49 PM Isuru Fernando wrote: > > It's not good to have two conda environments. I'm not sure how you got them > both involved in the build. hmm. First I just installed Sage 9.4 as a conda package, (getting sage env), and then tried your sage-build env. instructions. > >

Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-11 Thread Isuru Fernando
It's not good to have two conda environments. I'm not sure how you got them both involved in the build. `mamba install pari -n sage-build` will install sage in `sage-build` env. Isuru On Thu, Nov 11, 2021 at 5:15 PM Dima Pasechnik wrote: > Conda's pari packages are a bit broken (they are per e

Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-11 Thread Dima Pasechnik
Conda's pari packages are a bit broken (they are per env, but not quite), and this test fails: configure:21400: result: libpari's datadir does not match GP's datadir. Not good configure:21449: no suitable system package found for SPKG pari namely, GP's datadir is /Users/dima/opt/miniconda3/envs/s

Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-11 Thread Dima Pasechnik
On Thu, Nov 11, 2021 at 10:10 PM Isuru Fernando wrote: > > Am I right that it's possible to change Sage's Cython files in such an > installation, and update Sage this way? > > No, it's binary only. See https://wiki.sagemath.org/Conda section "Conda > for sage developers" if you want to do that.

Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-11 Thread Isuru Fernando
> Am I right that it's possible to change Sage's Cython files in such an installation, and update Sage this way? No, it's binary only. See https://wiki.sagemath.org/Conda section "Conda for sage developers" if you want to do that. (Btw, that hasn't been updated in a while and might not work due t

Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-11 Thread Dima Pasechnik
On Thu, Nov 11, 2021 at 9:56 PM Isuru Fernando wrote: > > Can one install Sage on macOS 12 using (mini)Conda at all ? > > Sure. It should work fine. Bug reports are welcome. > > Am I right that it's possible to change Sage's Cython files in such an installation, and update Sage this way? Isuru

Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-11 Thread Isuru Fernando
For this issue, you need setuptools 58 or higher. Or remove the line https://github.com/sagemath/sage/blob/f5efe4883f348e01ca3069ed82bf517a4de337f6/build/bin/sage-build-env#L174 Isuru -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe

Re: [sage-devel] Re: pip-21.1.2 compile fails on MacOS

2021-11-11 Thread Isuru Fernando
> Can one install Sage on macOS 12 using (mini)Conda at all ? Sure. It should work fine. Bug reports are welcome. Isuru On Thu, Nov 11, 2021 at 3:38 PM Dima Pasechnik wrote: > Hi Harald, > > We don't have Sage ported to macos 12 yet, I am afraid. > We have been fighting macos 11 until April, s