Opened 2 years ago
Last modified 3 months ago
#29864 new enhancement
Modularization of sagelib: Create package sagetdlib
Reported by:  mkoeppe  Owned by:  

Priority:  major  Milestone:  sage9.7 
Component:  build  Keywords:  sd111 
Cc:  ghtobiasdiez  Merged in:  
Authors:  Matthias Koeppe  Reviewers:  
Report Upstream:  N/A  Work issues:  rebase 
Branch:  u/mkoeppe/modularizationsagetdlib (Commits, GitHub, GitLab)  Commit:  16a9b2e757be1505ad3c7d714175a24757082420 
Dependencies:  #30151  Stopgaps: 
Description (last modified by )
The new package sagetdlib
represents the old OptionalExtension
sage.graphs.graph_decompositions.tdlib
(building upon #29701, #28925). We use it as a second an example package for the modularization after sagemeataxe
(#30151).
It does not use the incremental install mechanism of sagelib (sage_setup.command.sage_install.sage_install_and_clean
). It uses a simple setuptools build system.
This is part of #29705: Metaticket: Modularize sagelib into separate distributions (distutils packages)
Change History (21)
comment:1 Changed 2 years ago by
 Branch set to u/mkoeppe/modularizationsagetdlib
comment:2 Changed 2 years ago by
 Commit set to 2ccf6b72ab85e3818053608514350b6049a9ca31
 Milestone changed from sage9.2 to sage9.3
comment:3 Changed 23 months ago by
 Work issues set to rebase
comment:4 Changed 22 months ago by
 Work issues changed from rebase to rebase; create sagecore; don't change sagelib
comment:5 Changed 21 months ago by
 Dependencies changed from #29702, #29701, #28197, #28925, #29803 to #28925
 Description modified (diff)
comment:6 Changed 21 months ago by
 Description modified (diff)
 Summary changed from Modularization of sagelib: Break out a separate package sagetdlib to Modularization of sagelib: Create modular packages sagecore, sagetdlib
comment:7 Changed 21 months ago by
 Cc ghtobiasdiez added
 Dependencies changed from #28925 to #28925, #29847
comment:8 Changed 21 months ago by
 Description modified (diff)
comment:9 Changed 21 months ago by
Just for clarification, was is sagelib
and what sagecore
?
comment:10 Changed 21 months ago by
 Commit changed from 2ccf6b72ab85e3818053608514350b6049a9ca31 to bf1c01196ad763691e8afc8f454720950f3f6fda
Branch pushed to git repo; I updated commit sha1. This was a forced push. Last 10 new commits:
e8d1a23  src/setup.py: from setuptools import setup

c99dab5  Add src/setup.cfg

67189ba  WIP: Add sage_tdlib package, use symlinks for sagelib package

5d85487  build/pkgs/sage_tdlib/src/MANIFEST.in: New

bf5dddc  fixup symlinks

6d5e4f5  build/pkgs/sage_tdlib/src/sage_setup: Remove, we use the installed one

4cd5176  Use setup.py install singleversionexternallymanaged

577f338  build/pkgs/sage_tdlib/spkgsrc: New

8b972d7  build/pkgs/sage_tdlib/dependencies: Add sagelib, python toolchain

bf1c011  Install sagelib, sage_tdlib via sdist defined by MANIFEST.in

comment:11 Changed 21 months ago by
 Commit changed from bf1c01196ad763691e8afc8f454720950f3f6fda to 59a33def20d5fb672b039f1513ae2643fe315ce5
Branch pushed to git repo; I updated commit sha1. This was a forced push. Last 10 new commits:
2e61ada  sage.numerical.backends: Make it a namespace package by removing __init__.py (which was empty)

26b1ca0  Mark src and src/sage/ext_data as directories that are not namespace packages

a733af5  sage_setup.find.find_python_sources: Handle native namespace packages, 'nonamespace' files

c08c511  is_package_or_namespace_package_dir: New, recognize namespace packages by file 'namespace', monkeypatch into Cython

4407e5e  sage_setup.command.sage_install.sage_install: Rename to sage_install_and_clean, update use it in src/setup.py; refactor through new class sage_install

a13c126  Make sage.graphs, sage.matrix, sage.libs, sage.interfaces namespace packages

a967aca  WIP

c746965  sage_setup/command/sage_install.py: WIP: Disable cleaning

6ba4212  WIP: Add sage_tdlib package, use symlinks for sagelib package

59a33de  Install sagelib, sage_tdlib via sdist defined by MANIFEST.in

comment:12 Changed 21 months ago by
 Dependencies changed from #28925, #29847 to #28925, #29500, #29847
 Description modified (diff)
comment:13 Changed 21 months ago by
 Commit changed from 59a33def20d5fb672b039f1513ae2643fe315ce5 to 16a9b2e757be1505ad3c7d714175a24757082420
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
a315ba6  Merge branch 't/28925/modify_find_python_sources__clean_stale_files_to_support_modularization_of_sagelib_by_native_namespace_packages__pep_420_' into t/29864/modularizationsagetdlib

4a30688  WIP: Add sage_tdlib package, use symlinks for sagelib package

16a9b2e  Install sagelib, sage_tdlib via sdist defined by MANIFEST.in

comment:14 Changed 21 months ago by
comment:15 Changed 20 months ago by
 Description modified (diff)
comment:16 Changed 18 months ago by
 Keywords sd111 added
Hoping we can make progress on this ticket this week  https://wiki.sagemath.org/days111
comment:17 Changed 18 months ago by
 Dependencies changed from #28925, #29500, #29847 to #30151
 Description modified (diff)
 Summary changed from Modularization of sagelib: Create modular packages sagecore, sagetdlib to Modularization of sagelib: Create package sagetdlib
 Work issues changed from rebase; create sagecore; don't change sagelib to rebase
Simplified this ticket.
comment:18 Changed 15 months ago by
 Milestone changed from sage9.3 to sage9.4
Setting new milestone based on a cursory review of ticket status, priority, and last modification date.
comment:19 Changed 10 months ago by
 Milestone changed from sage9.4 to sage9.5
comment:20 Changed 5 months ago by
 Milestone changed from sage9.5 to sage9.6
comment:21 Changed 3 months ago by
 Milestone changed from sage9.6 to sage9.7
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 singleversionexternallymanaged
build/pkgs/sage_tdlib/spkgsrc: New
build/pkgs/sage_tdlib/dependencies: Add sagelib, python toolchain
build/pkgs/sagelib/spkgsrc: New
Install sagelib, sage_tdlib via sdist defined by MANIFEST.in
Merge tag '9.2.beta1' into t/29705/METAmodularizesagelib