Skip to content

Remove sage-location's "sage-force-relocate" mechanism, fix script to work without SAGE_ROOT #31270

@mkoeppe

Description

@mkoeppe

#21783 removes the last productive bit of sage-location. The only thing that sage-location does now is write a warning if it notices that the tree has moved.

We want to get rid of the whole mechanism completely.... (or reuse its remains to implement #31076).

In this ticket, we remove a part of it, the "sage-force-relocate" mechanism, which used to be invoked by sage-spkg.

We also fix the script so that it works in installations without SAGE_ROOT. This is for the benefit of downstream packaging and #30913.

(When we finally get rid of sage-location, we can finally close tickets #15146, #17479, #11755.)

This is also preparation of sorts for #31076, which proposes to add a different relocation mechanism.

Depends on #21783

CC: @jhpalmieri @culler @dimpase @kiwifb @antonio-rojas @mwageringel

Component: relocation

Author: Matthias Koeppe, John Palmieri

Branch/Commit: 3035932

Reviewer: John Palmieri, Matthias Koeppe

Issue created by migration from https://trac.sagemath.org/ticket/31270

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions