Opened 2 years ago
Last modified 5 months ago
#29864 new enhancement
Modularization of sagelib: Break out a separate package sage-tdlib — at Version 5
Reported by: | mkoeppe | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-9.7 |
Component: | build | Keywords: | sd111 |
Cc: | gh-tobiasdiez | Merged in: | |
Authors: | Matthias Koeppe | Reviewers: | |
Report Upstream: | N/A | Work issues: | rebase; create sage-core; don't change sagelib |
Branch: | u/mkoeppe/modularization-sage-tdlib (Commits, GitHub, GitLab) | Commit: | 2ccf6b72ab85e3818053608514350b6049a9ca31 |
Dependencies: | #28925 | Stopgaps: |
Description (last modified by )
The new package represents the old OptionalExtension
sage.graphs.graph_decompositions.tdlib
(building upon #29701, #28925). We use it as an example package for the modularization.
See build/pkgs/sage_tdlib/spkg-install for an overview of the intended implementation targeting Sage 9.3.
In short, we disable the incremental install mechanism of sagelib (sage_setup.command.sage_install.sage_install_and_clean
) for sage-core
; instead, we build an sdist for sage-core
and an sdist for sage-tdlib
and then install both with pip
.
(sagelib
vs. sage-core
could either be implemented using separate directories, or using some command-line options for setup.py install
.)
This is part of #29705: Meta-ticket: Modularize sagelib into separate distributions (distutils packages)
Change History (5)
comment:1 Changed 2 years ago by
- Branch set to u/mkoeppe/modularization-sage-tdlib
comment:2 Changed 2 years ago by
- Commit set to 2ccf6b72ab85e3818053608514350b6049a9ca31
- Milestone changed from sage-9.2 to sage-9.3
comment:3 Changed 2 years ago by
- Work issues set to rebase
comment:4 Changed 2 years ago by
- Work issues changed from rebase to rebase; create sage-core; don't change sagelib
comment:5 Changed 2 years ago by
- Dependencies changed from #29702, #29701, #28197, #28925, #29803 to #28925
- Description modified (diff)
Last 10 new commits:
WIP: Add sage_tdlib package, use symlinks for sagelib package
build/pkgs/sage_tdlib/src/MANIFEST.in: New
fixup symlinks
build/pkgs/sage_tdlib/src/sage_setup: Remove, we use the installed one
Use setup.py install --single-version-externally-managed
build/pkgs/sage_tdlib/spkg-src: New
build/pkgs/sage_tdlib/dependencies: Add sagelib, python toolchain
build/pkgs/sagelib/spkg-src: New
Install sagelib, sage_tdlib via sdist defined by MANIFEST.in
Merge tag '9.2.beta1' into t/29705/META-modularize-sagelib