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:

Status badges

Description (last modified by mkoeppe)

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 mkoeppe

  • Branch set to u/mkoeppe/modularization-sage-tdlib

comment:2 Changed 2 years ago by mkoeppe

  • Commit set to 2ccf6b72ab85e3818053608514350b6049a9ca31
  • Milestone changed from sage-9.2 to sage-9.3

Last 10 new commits:

7dd469fWIP: Add sage_tdlib package, use symlinks for sagelib package
24e9b30build/pkgs/sage_tdlib/src/MANIFEST.in: New
9b59435fixup symlinks
c3593b2build/pkgs/sage_tdlib/src/sage_setup: Remove, we use the installed one
2612091Use setup.py install --single-version-externally-managed
458d851build/pkgs/sage_tdlib/spkg-src: New
5d4e8e7build/pkgs/sage_tdlib/dependencies: Add sagelib, python toolchain
7042564build/pkgs/sagelib/spkg-src: New
90b33d8Install sagelib, sage_tdlib via sdist defined by MANIFEST.in
2ccf6b7Merge tag '9.2.beta1' into t/29705/META-modularize-sagelib

comment:3 Changed 2 years ago by mkoeppe

  • Work issues set to rebase

comment:4 Changed 2 years ago by mkoeppe

  • Work issues changed from rebase to rebase; create sage-core; don't change sagelib

comment:5 Changed 2 years ago by mkoeppe

  • Dependencies changed from #29702, #29701, #28197, #28925, #29803 to #28925
  • Description modified (diff)
Note: See TracTickets for help on using tickets.