Opened 3 years ago

Last modified 15 months ago

#29013 closed enhancement

In a python3 build, install all Python packages into a venv — at Version 1

Reported by: mkoeppe Owned by:
Priority: major Milestone: sage-9.4
Component: build Keywords: sd111
Cc: dimpase, jdemeyer, embray, vbraun, jhpalmieri Merged in:
Authors: Matthias Koeppe Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by mkoeppe)

We propose to create a venv ( at $SAGE_LOCAL/lib/sage/venv/sage/, to activate the venv in the sage-env script, and to install all Python packages (including sagelib) into this venv.

This is preparation for #27824, in which the system's python3 will be used when available.

Note, the proposal is to use venv (new since Python 3.3), not virtualenv. So this change will be limited to Python 3 builds of Sage.

Change History (1)

comment:1 Changed 3 years ago by mkoeppe

  • Authors set to Matthias Koeppe
  • Description modified (diff)
Note: See TracTickets for help on using tickets.