Skip to content

Run sage-upgrade *outside* of the Sage shell #15517

@jdemeyer

Description

@jdemeyer

Running make inside a Sage shell doesn't really work well, because sage-env isn't resourced during the build. This breaks upgrading if new packages are installed in the upgrade which require environment variable changes. Most of the old work-arounds in spkg/install removed in #14715 existed precisely for this reason.

Now that nothing can upgrade to Sage 6.0, we should make sure that upgrading from Sage 6.0 doesn't suffer this problem.

Depends on #14715

CC: @vbraun @ohanar

Component: build

Author: Jeroen Demeyer

Branch/Commit: u/vbraun/ticket/15517 @ 1f27435

Reviewer: Volker Braun, R. Andrew Ohana

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions