Closed mkoeppe closed 2 years ago
Hoping we can make progress on this ticket this week - https://wiki.sagemath.org/days111
Changed keywords from none to sd111
Setting new milestone based on a cursory review of ticket status, priority, and last modification date.
Description changed:
---
+++
@@ -1,6 +1,15 @@
-This package would package at least the following:
-- `sage.repl` (and hence depends on on basic rings such as `ZZ`, hence on `sage-categories` (#29865))
+The distribution **sagemath-features** depends at most on **sagemath-objects** and contains:
+- `sage.env`
+- `sage.features`
+(The basic distributions **sagemath-objects** and **sagemath-categories** do not depend on these!)
+
+The distribution **sagemath-repl** depends on (install-requires) **sagemath-features** contains at least the following:
+- `sage.repl` (and hence depends on basic rings such as `ZZ`, hence on `sage-categories` (#29865))
- `sage.doctest` (which depends on `sage.repl`)
- `sage.misc.sage_input`
- ??
+We change the distributions **sagemath-objects** and **sagemath-categories** (#29865) so that they no longer includes the above modules but instead declare an `extras_require` "test" on **sagemath-repl**.
+
+We also rework **sagemath-objects**, **sagemath-categories** as namespace packages.
+
Dependencies: #29865
Description changed:
---
+++
@@ -3,7 +3,7 @@
- `sage.features`
(The basic distributions **sagemath-objects** and **sagemath-categories** do not depend on these!)
-The distribution **sagemath-repl** depends on (install-requires) **sagemath-features** contains at least the following:
+The distribution **sagemath-repl** depends on (install-requires) **sagemath-features** and contains at least the following:
- `sage.repl` (and hence depends on basic rings such as `ZZ`, hence on `sage-categories` (#29865))
- `sage.doctest` (which depends on `sage.repl`)
- `sage.misc.sage_input`
Description changed:
---
+++
@@ -1,9 +1,13 @@
-The distribution **sagemath-features** depends at most on **sagemath-objects** and contains:
+The distribution **sagemath-environment** depends at most on **sagemath-objects** and contains:
- `sage.env`
- `sage.features`
+- `sage.misc.sage_ostools` (?)
+- `sage.misc.cython` (?)
+- `sage.misc.package`
+- `sage.misc.viewer`
(The basic distributions **sagemath-objects** and **sagemath-categories** do not depend on these!)
-The distribution **sagemath-repl** depends on (install-requires) **sagemath-features** and contains at least the following:
+The distribution **sagemath-repl** depends on (install-requires) **sagemath-environment** and contains at least the following:
- `sage.repl` (and hence depends on basic rings such as `ZZ`, hence on `sage-categories` (#29865))
- `sage.doctest` (which depends on `sage.repl`)
- `sage.misc.sage_input`
Changed dependencies from #29865 to #29865, #32899
Branch pushed to git repo; I updated commit sha1. New commits:
23ecefc | pkgs/sagemath-environment: Edit metadata |
Commit: 23ecefc
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
c23ffa0 | pkgs/sagemath-environment: Edit metadata |
Branch pushed to git repo; I updated commit sha1. New commits:
d2c3a93 | src/doc/en/developer/packaging_sage_library.rst: Explain build/pkgs |
Author: Matthias Koeppe, ...
Changed dependencies from #29865, #32899 to #29865, #32899, #32977
Changed dependencies from #29865, #32899, #32977 to #29865, #32899, #32977, #32174
Branch pushed to git repo; I updated commit sha1. Last 10 new commits:
12a2507 | src/sage/features/interfaces.py: Fix indentation in docstring |
0dd76b6 | Merge tag '9.5.beta7' into t/32174/doctests__detect__safe__external_features_even_if____optional_external__is_not_used |
07b2512 | src/sage/misc/latex.py: Conditionalize some doctests on latex_package_tkz_graph |
cb13437 | 32174: fix the --show-skipped doctest report |
391dca1 | sage.misc.latex.png: Mark doctest # optional - imagemagick |
6f311b3 | src/sage/doctest/external.py: Revert latex features to 'external' |
3bfe1a1 | 32174: adapting the doctest listing external softwares |
827e6f8 | Merge #32174 |
16cd026 | pkgs/sagemath-environment/tox.ini: Test all_features |
7cb01cb | src/sage/features/{csdp,lrs}.py: Move imports from sage.cpython inside method |
Branch pushed to git repo; I updated commit sha1. New commits:
a216c2d | pkgs/sagemath-environment/tox.ini: Also test import sage.misc.package |
Changed dependencies from #29865, #32899, #32977, #32174 to #29865, #32899, #32977, #32174, #32671
Branch pushed to git repo; I updated commit sha1. New commits:
a9355ef | pkgs/sagemath-repl, build/pkgs/sagemath_repl: New |
d3a6fc3 | build/pkgs/pip: Update to 21.3.1 |
5b001a2 | build/bin/sage-dist-helpers: Remove '--use-feature=in-tree-build' (default since pip 21.3) |
f1f4759 | build/pkgs/distlib: Update to 0.3.3 |
760ff09 | Merge #32751 |
cbb9d40 | Merge #32671 |
7ef907f | Makefile (pypi-sdists): Add sagemath_environment, sagemath_repl |
Description changed:
---
+++
@@ -1,4 +1,4 @@
-The distribution **sagemath-environment** depends at most on **sagemath-objects** and contains:
+The distribution **sagemath-environment** has no dependencies and contains:
- `sage.env`
- `sage.features`
- `sage.misc.sage_ostools` (?)
@@ -7,7 +7,7 @@
- `sage.misc.viewer`
(The basic distributions **sagemath-objects** and **sagemath-categories** do not depend on these!)
-The distribution **sagemath-repl** depends on (install-requires) **sagemath-environment** and contains at least the following:
+The distribution **sagemath-repl** depends on (install-requires) **sagemath-environment** and **sagemath-objects** and contains at least the following:
- `sage.repl` (and hence depends on basic rings such as `ZZ`, hence on `sage-categories` (#29865))
- `sage.doctest` (which depends on `sage.repl`)
- `sage.misc.sage_input`
Description changed:
---
+++
@@ -13,6 +13,12 @@
- `sage.misc.sage_input`
- ??
+To test:
+
+```
+./bootstrap && make build V=0 && ./sage -sh -c '(cd pkgs/sagemath-repl && SAGE_NUM_THREADS=16 tox -r -v -v -v -e py39)'
+```
+
We change the distributions **sagemath-objects** and **sagemath-categories** (#29865) so that they no longer includes the above modules but instead declare an `extras_require` "test" on **sagemath-repl**.
We also rework **sagemath-objects**, **sagemath-categories** as namespace packages.
Branch pushed to git repo; I updated commit sha1. New commits:
b10b4a5 | build/pkgs/sagemath_{objects,categories}/install-requires.txt: Add version constraints |
Branch pushed to git repo; I updated commit sha1. New commits:
4e5ad96 | src/sage/all__sagemath_repl.py: New |
Branch pushed to git repo; I updated commit sha1. New commits:
fde1f21 | src/sage/doctest/forker.py: Mark a doctest # optional - sage.symbolic |
Branch pushed to git repo; I updated commit sha1. New commits:
0a505a4 | src/sage/repl/rich_output/pretty_print.py: Do not fail if sage.plot, sage.graphs cannot be imported |
Description changed:
---
+++
@@ -1,9 +1,10 @@
The distribution **sagemath-environment** has no dependencies and contains:
- `sage.env`
- `sage.features`
-- `sage.misc.sage_ostools` (?)
+- `sage.misc.sage_ostools` (need to split out Cython stuff)
- `sage.misc.cython` (?)
- `sage.misc.package`
+- `sage.misc.temporary_file` (need to remove dependency on `SAGE_TMP`/`lazy_string`)
- `sage.misc.viewer`
(The basic distributions **sagemath-objects** and **sagemath-categories** do not depend on these!)
Branch pushed to git repo; I updated commit sha1. New commits:
26e4fff | src/sage/repl/rich_output/pretty_print.py: Mark doctests # optional - sage.graphs, sage.plot, sage.symbolic, sage.combinat |
Changed dependencies from #29865, #32899, #32977, #32174, #32671 to #29865, #32899, #32977, #32174, #32671, #31306
Branch pushed to git repo; I updated commit sha1. Last 10 new commits:
4f827d0 | src/doc/en/developer/coding_basics.rst: Update section on SAGE_EXTCODE |
2807d1f | src/setup.cfg.m4: Fix up |
43ca790 | src/setup.cfg.m4: Fix syntax |
81e9c9a | Merge #32899 |
af47b5f | Merge #31386 |
b2cb173 | src/sage/repl/rich_output/: Move example files here from src/sage/ext_data, use importlib.resources |
0f63cce | src/sage/repl/display/formatter.py: Replace use of SAGE_EXTCODE in doctest by importlib.resources |
f344c63 | Merge #31306 |
a98f92b | pkgs/sagemath-repl/setup.cfg.m4: Add package_data |
a9bdf12 | pkgs/sagemath-repl/setup.cfg.m4: List subpackages |
Branch pushed to git repo; I updated commit sha1. New commits:
7eb48a0 | src/sage/repl/ipython_extension.py: Remove .all import in doctest |
Branch pushed to git repo; I updated commit sha1. New commits:
7c56d4a | src/sage/repl/attach.py: In doctest, replace use of SAGE_TMP by tmp_dir() |
The distribution sagemath-environment has no dependencies and contains:
sage.env
sage.features
sage.misc.package
sage.misc.package_dir
(from #33033)sage.misc.temporary_file
(dependency onSAGE_TMP
/lazy_string
removed in #33797)sage.misc.viewer
(The basic distributions sagemath-objects and sagemath-categories do not depend on these!)It also includes the top-level scripts
sage
andsage-env
, and the helper scriptsage-venv-config
. This will allow users to runsage -sh
even if sagelib is not installed.To test:
The distribution sagemath-repl depends on (install-requires) sagemath-environment and sagemath-objects and contains at least the following:
sage.repl
sage.doctest
(which depends onsage.repl
)sage.misc.sage_input
sage.misc.sage_eval
It also includes scripts such as
sage-runtests
(which implementssage -t
),sage-ipython
(which is called whensage
is invoked with no arguments), etc.Of course, with nothing else installed, neither
sage -t
norsage
will work fully becausesage.all
is not available. Butsage -t
already has the option--environment
for specifying a different top-level module in which to run the doctester; we use this in the test suite of sagemath-objects and sagemath-polyhedra (#32432).To test:
Afterwards:
Note the new warning about
sage.all
.We also change all
pkgs/*/VERSION.txt
files from symlinks to regular files, updated bysage-update-version
when a new release is made. This makes it easier to cut post-versions such as9.6.rc3.post4
or dev versions such as9.6.rc4.dev1
, as was necessary during the development of this ticket. See documentation added in this ticket.Follow-ups (see Meta-ticket #29705):
setup.py
. (#33812)extras_require
"test" on sagemath-repl. (#33812)sage -help
,sage -advance
show what to install to make options work. Also show what to install on error. (#33795 comment:7)sage.misc.sage_ostools
(need to split out Cython stuff),sage.misc.cython
(?)sage_eval
work with a smaller module thansage.all
, and use this option in most uses ofsage_eval
(#33802)Depends on #33797 Depends on #33016 Depends on #33799 Depends on #33801 Depends on #33803
CC: @kwankyu @tobiasdiez @kliem @orlitzky @dimpase @jhpalmieri @kiwifb
Component: refactoring
Keywords: sd111
Author: Matthias Koeppe
Branch/Commit:
3884373
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/29941