Using worktrees with mamba build

23 views
Skip to first unread message

Linden Disney

unread,
May 8, 2025, 6:04:47 PMMay 8
to sage-support
Hi,

I am trying out building from source using mamba for the dependencies following https://doc.sagemath.org/html/en/installation/conda.html#using-conda-to-provide-all-dependencies-for-the-sage-library, and this has worked for me. However I would like to also set up a worktree for developing as per https://doc.sagemath.org/html/en/installation/source.html#upgrading-sage-using-a-separate-git-worktree

In my naive approach I have followed the instructions there, but then instead of `make configure` which one would do if building with the environment set up for a standard build from source, I have just tried running 

./bootstrap
pip install --no-build-isolation --config-settings editable_mode=compat -v -v --editable ./src

This build is successful, but this doesn't actually build in the worktree branch, rather the original branch. Is this what I should expect? How would I get that build to work as intended?

Thanks in advance for any info. 
Reply all
Reply to author
Forward
0 new messages