Opened 3 years ago
Last modified 5 months ago
#28815 new enhancement
src/setup.py: Replace use of is_package_installed_and_updated by sage_conf or features — at Version 9
Reported by: | mkoeppe | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-9.7 |
Component: | build | Keywords: | sd111 |
Cc: | jdemeyer, arojas, fbissey, dimpase, embray, gh-timokau, isuruf, jhpalmieri | Merged in: | |
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | #30779 | Stopgaps: |
Description (last modified by )
Currently (after #29701), src/setup.py
determines what "distributions" to build using is_package_installed_and_updated
, which inspects the installation records found in $SAGE_SPKG_INST
= $SAGE_LOCAL/var/lib/sage/installed
and also the information in $SAGE_PKGS
= $SAGE_ROOT/build/pkgs
.
Instead, we make it configurable via sage_conf
, falling back to testing features.
(Note that after #30779, src/setup.py
is intended to be invoked by the user for user-defined venvs, and is separate from build/pkgs/sagelib/setup.py
, which is used by the Sage distribution.)
Alternative approach:
- #29119 Add an autoconf configure script for
sagelib
Change History (9)
comment:1 Changed 3 years ago by
- Dependencies set to #25828
comment:2 Changed 3 years ago by
- Milestone changed from sage-9.0 to sage-9.1
comment:3 Changed 3 years ago by
- Cc isuruf added
comment:4 Changed 2 years ago by
- Milestone changed from sage-9.1 to sage-9.2
comment:5 Changed 2 years ago by
- Cc jhpalmieri added
comment:6 Changed 2 years ago by
- Dependencies #25828 deleted
- Description modified (diff)
- Summary changed from Don't pass SAGE_PKGS to src/setup.py. Replace OptionalExtension(...., package=....) by condition=Feature.is_present(), to Meta-ticket: Don't pass SAGE_PKGS to src/setup.py. Replace OptionalExtension(...., package=....) by condition=Feature.is_present(),
comment:7 Changed 2 years ago by
- Description modified (diff)
comment:8 Changed 2 years ago by
- Milestone changed from sage-9.2 to sage-9.3
comment:9 Changed 22 months ago by
- Dependencies set to #30779
- Description modified (diff)
- Summary changed from Meta-ticket: Don't pass SAGE_PKGS to src/setup.py. Replace OptionalExtension(...., package=....) by condition=Feature.is_present(), to src/setup.py: Replace use of is_package_installed_and_updated by sage_conf or features
Note: See
TracTickets for help on using
tickets.
Ticket retargeted after milestone closed