Opened 2 years ago

Closed 11 months ago

#28746 closed enhancement (fixed)

Developer's Guide: Add instructions for sagelib development in a conda environment

Reported by: mkoeppe Owned by:
Priority: major Milestone: sage-9.3
Component: documentation Keywords: conda, sd110, sd111
Cc: dimpase, isuruf, saraedum, gh-tobiasdiez Merged in:
Authors: Isuru Fernando, Matthias Koeppe Reviewers: Matthias Koeppe, Tobias Diez
Report Upstream: N/A Work issues:
Branch: b4e9e8c (Commits, GitHub, GitLab) Commit: b4e9e8cc42d584459cc670e1181b7a9d7767be1f
Dependencies: #28745 Stopgaps:

Status badges

Description (last modified by mkoeppe)

#28745 updates the installation manual and explains the use of SAGE_ROOT/environment[-optional].yml.

As section in the developer's guide should explain the use of SAGE_ROOT/src/environment-[optional].yml

... from https://wiki.sagemath.org/Conda

including answers to the following questions (from #31099):

  • How do I now create a conda environment with a given name in a given location with the sage dependencies installed, and activate this env later and run say the doctests? Similarly, say I've created a conda env myself and activated it.
  • How can I now install the sage dependencies and run tests/lints using tox in this env?

Change History (25)

comment:1 Changed 2 years ago by embray

  • Milestone changed from sage-9.0 to sage-9.1

Ticket retargeted after milestone closed

comment:2 Changed 23 months ago by mkoeppe

  • Cc dimpase added
  • Keywords Anaconda added

comment:3 Changed 23 months ago by mkoeppe

  • Keywords conda added

comment:4 Changed 23 months ago by mkoeppe

  • Keywords Anaconda removed

comment:5 Changed 20 months ago by mkoeppe

  • Milestone changed from sage-9.1 to sage-9.2

pushing these forward to 9.2

comment:6 Changed 14 months ago by mkoeppe

  • Milestone changed from sage-9.2 to sage-9.3

comment:7 Changed 13 months ago by mkoeppe

  • Cc isuruf added
  • Keywords sd110 added

comment:8 Changed 13 months ago by mkoeppe

  • Cc saraedum added

comment:9 Changed 13 months ago by mkoeppe

  • Description modified (diff)

comment:10 Changed 13 months ago by mkoeppe

  • Description modified (diff)

comment:11 Changed 12 months ago by mkoeppe

  • Keywords sd111 added

Hoping we can make progress on this ticket this week - https://wiki.sagemath.org/days111

comment:12 Changed 12 months ago by mkoeppe

  • Cc gh-tobiasdiez added
  • Description modified (diff)

comment:13 Changed 12 months ago by isuruf

  • Branch set to u/isuruf/sagelib
  • Commit set to 4f1ff2f4608a08ec98c0d76b74a4ffe17a7c72ac

New commits:

4f1ff2fremove sagelib conda.txt

comment:14 Changed 12 months ago by git

  • Commit changed from 4f1ff2f4608a08ec98c0d76b74a4ffe17a7c72ac to 028c702e191fe2e50bb606603e48855595326857

Branch pushed to git repo; I updated commit sha1. New commits:

028c702use conda to provide all SPKGs

comment:15 Changed 12 months ago by git

  • Commit changed from 028c702e191fe2e50bb606603e48855595326857 to b9928fd6914704049af7c3b7069ac9ad47413f9b

Branch pushed to git repo; I updated commit sha1. New commits:

b9928fdrun ./bootstrap again just in case it failed with m4/gettext errors before

comment:16 Changed 12 months ago by git

  • Commit changed from b9928fd6914704049af7c3b7069ac9ad47413f9b to 29ce3fa64a4853eba54739fb925c8f1bf10940f8

Branch pushed to git repo; I updated commit sha1. New commits:

29ce3faUse update so that it is self-explanatory

comment:17 Changed 12 months ago by isuruf

  • Authors set to Isuru Fernando
  • Status changed from new to needs_review

comment:18 Changed 12 months ago by git

  • Commit changed from 29ce3fa64a4853eba54739fb925c8f1bf10940f8 to d08601d8b7c9766621eb674e9e0707d39b06c8a8

Branch pushed to git repo; I updated commit sha1. New commits:

d08601dclarify the difference

comment:19 Changed 12 months ago by mkoeppe

Wondering if the environment files in src/ should use a different environment name...

comment:20 Changed 12 months ago by isuruf

Sure. Feel free to push a change.

comment:21 Changed 12 months ago by mkoeppe

  • Branch changed from u/isuruf/sagelib to u/mkoeppe/sagelib

comment:22 Changed 12 months ago by mkoeppe

  • Authors changed from Isuru Fernando to Isuru Fernando, Matthias Koeppe
  • Commit changed from d08601d8b7c9766621eb674e9e0707d39b06c8a8 to 5912ab30e134249e885fe3fbc3c428a44c6dd124
  • Reviewers set to Matthias Koeppe, ...

New commits:

5912ab3src/environment*.yml: Use sage, not sage-build, as environment name

comment:23 Changed 12 months ago by git

  • Commit changed from 5912ab30e134249e885fe3fbc3c428a44c6dd124 to b4e9e8cc42d584459cc670e1181b7a9d7767be1f

Branch pushed to git repo; I updated commit sha1. New commits:

b4e9e8csrc/doc/en/installation/source.rst: Expand slightly

comment:24 Changed 12 months ago by gh-tobiasdiez

  • Reviewers changed from Matthias Koeppe, ... to Matthias Koeppe, Tobias Diez
  • Status changed from needs_review to positive_review

LGTM

comment:25 Changed 11 months ago by vbraun

  • Branch changed from u/mkoeppe/sagelib to b4e9e8cc42d584459cc670e1181b7a9d7767be1f
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.