Re: [sage-devel] updating README.md
On Monday, May 20, 2019 at 1:48:40 PM UTC+2, Dima Pasechnik wrote: > > How about using conda's > goodies for Sage deps which already optionally may come from the > "system", as on https://trac.sagemath.org/ticket/27330 > (that is, gmp, yasm, pcre, etc etc etc) > It's possible but it won't work out of the box so I wouldn't recommend it. julian -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/9f356ae5-71cd-4f1e-82fd-3a3980d1d8f0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] updating README.md
Am Montag, 20. Mai 2019 10:21:05 UTC schrieb Dima Pasechnik: > * what is the status of Nix(OS) support for building/installing Sage? Sage builds and passes its test suite. It uses system dependencies and is patched to work with newer versions where necessary. These patches are listed here[1] (should be readable even if you don't know the nix language). [1] The latest stable release (19.03) has sage 8.6 (build status here[2]). The unstable channel (which effectively acts as a rolling release) has 8.7 (build status here[3]). Betas/RCs are usually packaged in a long running WIP PR, currently here[4]. Users of NixOS can install either the `sage` or the `sageWithDoc` package (the first option does not have offline html docs, the second does). Nix has transparent binary substitution, so while it could build from source it usually won't. Instead it will detect that the result of the build recipe with the current dependency versions is already available and fetch the binaries instead. If a user modifies sage or one of its dependencies, it will detect that and build from source instead. Users of any other linux distro can still install nix ([5], [6]) and then install `sage`, for example by running `nix-env -i sage`. Might work on WSL, but that is untested. In theory the same would be true for darwin, but it currently isn't since no darwin user has stepped up to make the necessary fixes yet. Also no optional dependencies are packaged, since I don't have any use for them and I have my hands full with plain sage. Feel free to reach out if you want to improve either of these. I'm not sure about the bsd situation. [1] https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/science/math/sage/sage-src.nix [2] https://hydra.nixos.org/job/nixos/release-19.03/nixpkgs.sageWithDoc.x86_64-linux [3] https://hydra.nixos.org/job/nixpkgs/trunk/sageWithDoc.x86_64-linux [4] https://github.com/NixOS/nixpkgs/pull/59989 [5] https://nixos.org/nix/download.html [6] https://aur.archlinux.org/packages/nix -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/a7171fe3-5424-4270-96d2-ed703f548584%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] updating README.md
On Mon, May 20, 2019 at 12:28 PM Julian Rüth wrote: > > On Monday, May 20, 2019 at 12:21:05 PM UTC+2, Dima Pasechnik wrote: >> >> * what is the status of Sage's support in conda(-forge). > > Sage is packade by conda-forge but stuck at 8.3 and needs to be updated. For > people familiar with conda the installation instructions would be `conda > install -c conda-forge sage`, more detailed instructions are at > https://wiki.sagemath.org/Conda. > >> >> Specifically, >> is it possible to build Sage in (mini)-conda environment? > > If you mean using dependencies from conda-forge instead of SPKGs, then no, > there is at least no reasonably documented way to do this. Building from > source with SPKGs should work fine (on Linux & macOS.) The necessary > dependencies can be installed with `conda install -c conda-forge make > cxx-compiler c-compiler m4 perl git tar fortran-compiler binutils`. > Does that answer your question? Thanks, in part, yes, in part, not fully. How about using conda's goodies for Sage deps which already optionally may come from the "system", as on https://trac.sagemath.org/ticket/27330 (that is, gmp, yasm, pcre, etc etc etc) > > julian > > -- > 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. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/601dd8b1-dc01-4d16-ad15-98b83253ce29%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq34t-28SYbzu5g9E1EnRKs5gJJ2xQRW6PSvikjqCdRF2A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] updating README.md
On Monday, May 20, 2019 at 12:21:05 PM UTC+2, Dima Pasechnik wrote: > > * what is the status of Sage's support in conda(-forge). Sage is packade by conda-forge but stuck at 8.3 and needs to be updated. For people familiar with conda the installation instructions would be `conda install -c conda-forge sage`, more detailed instructions are at https://wiki.sagemath.org/Conda. > Specifically, > is it possible to build Sage in (mini)-conda environment? > If you mean using dependencies from conda-forge instead of SPKGs, then no, there is at least no reasonably documented way to do this. Building from source with SPKGs should work fine (on Linux & macOS.) The necessary dependencies can be installed with `conda install -c conda-forge make cxx-compiler c-compiler m4 perl git tar fortran-compiler binutils`. Does that answer your question? julian -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/601dd8b1-dc01-4d16-ad15-98b83253ce29%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] updating README.md
On Mon, May 20, 2019 at 11:14 AM Vincent Delecroix <20100.delecr...@gmail.com> wrote: > > For information on Sage installation, you can read the manual > which contains information about conda and NixOS NixOS users are sent to http://doc.sagemath.org/html/en/installation/linux.html#sec-gnu-linux which does not mention NixOS ;-) You can check by sageroot$ grep -R Nix . src/doc/ - there is exactly 1 reference... //trac.sagemath.org/ticket/27817 > > I have updated quite outdated main README.md file, > > see > > https://git.sagemath.org/sage.git/tree/README.md?id=4b5129c8df93fa2fc277cb4e1ed94622ea3ec176 > > > > Please review/comment/update on https://trac.sagemath.org/ticket/27817 > > > > I guess there are platforms like NixOS and (mini)conda which may be > > used to install Sage from source, and of which I have no clue, please > > educate me or contribute directly to the branch. > > > > Thanks, > > Dima > > > > -- > 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. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/e52d0cbd-9a15-f867-09c8-c6222f8bd1d6%40gmail.com. > For more options, visit https://groups.google.com/d/optout. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq2pOTi1H2kYeEQF9D_XuV55HXia3AhE9jU%3Djj%3DE6Gahmw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] updating README.md
On Mon, May 20, 2019 at 11:14 AM Vincent Delecroix <20100.delecr...@gmail.com> wrote: > > For information on Sage installation, you can read the manual > which contains information about conda and NixOS > > http://doc.sagemath.org/html/en/installation/index.html > > I don't think there is a need to duplicate this information > in the README Sorry, we need to mention it there. Otherwise 95% of potential users won't notice. I also am working on updating (even more outdated) Installation manual, and I cannot possibly test all the things mentioned there. So, questions: * what is the status of Sage's support in conda(-forge). Specifically, is it possible to build Sage in (mini)-conda environment? * what is the status of Nix(OS) support for building/installing Sage? > > Vincent > > Le 20/05/2019 à 12:10, Dima Pasechnik a écrit : > > As a part of https://trac.sagemath.org/ticket/27817 > > I have updated quite outdated main README.md file, > > see > > https://git.sagemath.org/sage.git/tree/README.md?id=4b5129c8df93fa2fc277cb4e1ed94622ea3ec176 > > > > Please review/comment/update on https://trac.sagemath.org/ticket/27817 > > > > I guess there are platforms like NixOS and (mini)conda which may be > > used to install Sage from source, and of which I have no clue, please > > educate me or contribute directly to the branch. > > > > Thanks, > > Dima > > > > -- > 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. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/e52d0cbd-9a15-f867-09c8-c6222f8bd1d6%40gmail.com. > For more options, visit https://groups.google.com/d/optout. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq2a_9hocuZ2U4rmTAUxkYNsOwDDRZWSGo83L%2BiS-MzxXA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] updating README.md
For information on Sage installation, you can read the manual which contains information about conda and NixOS http://doc.sagemath.org/html/en/installation/index.html I don't think there is a need to duplicate this information in the README Vincent Le 20/05/2019 à 12:10, Dima Pasechnik a écrit : As a part of https://trac.sagemath.org/ticket/27817 I have updated quite outdated main README.md file, see https://git.sagemath.org/sage.git/tree/README.md?id=4b5129c8df93fa2fc277cb4e1ed94622ea3ec176 Please review/comment/update on https://trac.sagemath.org/ticket/27817 I guess there are platforms like NixOS and (mini)conda which may be used to install Sage from source, and of which I have no clue, please educate me or contribute directly to the branch. Thanks, Dima -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/e52d0cbd-9a15-f867-09c8-c6222f8bd1d6%40gmail.com. For more options, visit https://groups.google.com/d/optout.
[sage-devel] updating README.md
As a part of https://trac.sagemath.org/ticket/27817 I have updated quite outdated main README.md file, see https://git.sagemath.org/sage.git/tree/README.md?id=4b5129c8df93fa2fc277cb4e1ed94622ea3ec176 Please review/comment/update on https://trac.sagemath.org/ticket/27817 I guess there are platforms like NixOS and (mini)conda which may be used to install Sage from source, and of which I have no clue, please educate me or contribute directly to the branch. Thanks, Dima -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq2vN0XgDDfR7Ok1rmuGxkUT1pRPVqzSBfw7VbJUn9nFwg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.