sagemath/sage

Refactor sagemath-standard through sagemath-{categories,environment,repl}

mkoeppe opened this issue · 11 comments

  • src/setup.py (used when --enable-editable is in use) will continue to do a monolithic build as of this ticket
  • the direct installation mode (--disable-wheels --disable-editable) will use an environment variable so that pkgs/sagemath-standard/setup.py falls back to do a monolithic build (or check if it can be done by src/setup.py)

Depends on #33812
Depends on #34344
Depends on #32874

Component: packages: standard

Issue created by migration from https://trac.sagemath.org/ticket/34587

Branch pushed to git repo; I updated commit sha1. New commits:

73eccaabuild/pkgs/sagelib: Use python-build

Changed dependencies from #33812, #32874 to #33812, #34344, #32874

Branch pushed to git repo; I updated commit sha1. Last 10 new commits:

87f2300build/pkgs/hatchling: Update to 1.10.0
045ee7dbuild/pkgs/distlib: Update to 0.3.6
7529bc4build/pkgs/importlib_metadata: Update to 4.12.0
2fa5306build/pkgs/importlib_resources: Update to 5.9.0
ab0e195build/pkgs/tomlkit: Update to 0.11.4
c7d9032build/pkgs/pathspec: Update to 0.10.1
bda724dbuild/pkgs/setuptools_wheel: Update to 65.4.0
664e98cbuild/pkgs/distlib/checksums.ini: switch to tar.gz
5af1a2cMerge #34344
483389bsrc/MANIFEST.in: Add missing files in sage.misc

Changed commit from 73eccaa to 483389b

Branch pushed to git repo; I updated commit sha1. This was a forced push. Last 10 new commits:

dde4bdbsrc/sage/misc/package_dir.py: Fix docstring markup
ffe67e8is_package_or_sage_namespace_package_dir: Add option distribution_filter
11507a5build/pkgs/sagelib/spkg-install: No need to uninstall before installing - cleaner is back in
4f94fddsrc/sage_setup/command/sage_install.py: Do not attempt to clean the install directory
a6b92b0build/pkgs/sagemath_{objects,categories,environment,repl}: Install the wheel, make standard
7a0f88fbuild/pkgs/sagelib, pkgs/sagemath-standard: Factor through sagemath-{categories,environment,repl}
40fc2f6build/pkgs/sagelib: Use python-build
0de8dc3src/sage/cpython/python_debug.pxd: Fix path of "python_debug.h"
6ffd02esrc/MANIFEST.in: Add missing files in sage.misc
ae4241abuild/pkgs/sagelib/spkg-install: Add TODO

Changed commit from 483389b to ae4241a

Description changed:

--- 
+++ 
@@ -1 +1,3 @@
+- `src/setup.py` (used when `--enable-editable` is in use) will continue to do a monolithic build as of this ticket
+- the direct installation mode (`--disable-wheels --disable-editable`) will use an environment variable so that `pkgs/sagemath-standard/setup.py` falls back to do a monolithic build
 

Description changed:

--- 
+++ 
@@ -1,3 +1,3 @@
 - `src/setup.py` (used when `--enable-editable` is in use) will continue to do a monolithic build as of this ticket
-- the direct installation mode (`--disable-wheels --disable-editable`) will use an environment variable so that `pkgs/sagemath-standard/setup.py` falls back to do a monolithic build
+- the direct installation mode (`--disable-wheels --disable-editable`) will use an environment variable so that `pkgs/sagemath-standard/setup.py` falls back to do a monolithic build (or check if it can be done by `src/setup.py`)
 

Removed branch from issue description; replaced by PR #35143