Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructure sage.*.all for modularization, replace relative by absolute imports #37900

Open
wants to merge 33 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
e4b376b
Set up all__sage_categories.py
mkoeppe Jun 29, 2020
a960393
sage.*.all*: Update from #35095
mkoeppe Nov 8, 2023
2a71fe1
relative to absolute imports
mkoeppe Nov 8, 2023
0b7f892
Fixups in .all*
mkoeppe Nov 8, 2023
6a8f404
Reverts
mkoeppe Nov 8, 2023
c791f78
Restores
mkoeppe Nov 8, 2023
366035e
src/sage/misc/dev_tools.py: Update doctest output
mkoeppe Nov 9, 2023
a96f570
src/sage/misc/sageinspect.py: Update doctests for increased use of la…
mkoeppe Nov 9, 2023
c749f35
Defer some changes to all__sagemath_{objects,categories} until #36566
mkoeppe Nov 9, 2023
563a3f2
sage -fixdoctests --no-test --distribution sagemath_categories --upda…
mkoeppe Nov 10, 2023
22395ae
Defer some changes to all__sagemath_repl until #36566
mkoeppe Nov 10, 2023
7de8387
src/sage/calculus/all.py: Move 'symbolic_expression' to new module .expr
mkoeppe Nov 10, 2023
e411118
for a in $(git --no-pager grep -l lazy_import src/sage/**/all*.py); d…
mkoeppe Nov 11, 2023
7a07f69
Manual fixes re 'del lazy_import'
mkoeppe Nov 11, 2023
dfc6cca
autopep8 --in-place --ignore E402 --max-line-length=88 src/sage/**/al…
mkoeppe Nov 12, 2023
a7fdfc9
sed -i.bak 's,http:,https:,g' src/sage/**/all*.py
mkoeppe Nov 12, 2023
e630e90
Fix errors from 'sage -tox -e pycodestyle -- --ignore E402 src/sage/*…
mkoeppe Nov 12, 2023
bcc7137
src/doc/en/reference/calculus/index.rst: Add sage.calculus.expr to to…
mkoeppe Nov 13, 2023
80d33ee
src/sage/calculus/expr.py: Move imports from method to module
mkoeppe Nov 13, 2023
49a508d
for a in $(git --no-pager grep -l install_doc src/sage/**/all*.py); d…
mkoeppe Nov 13, 2023
91ad68f
src/sage/combinat/all.py: Also del install_dict
mkoeppe Nov 13, 2023
e9f86a0
src/sage/rings/all__sagemath_categories.py: Add import of lazy_import
mkoeppe Mar 14, 2024
2c6dd83
Fixup changes to reestablish #36676
saraedum Apr 14, 2024
f8cda25
Merge remote-tracking branch 'origin/develop' into 36676
saraedum Apr 28, 2024
ac36cbc
Merge tag '10.4.beta5' into 36676
mkoeppe May 12, 2024
45cc4bd
Merge remote-tracking branch 'upstream/develop' into 36676
mkoeppe May 19, 2024
0a27566
Merge remote-tracking branch 'upstream/develop' into 36676
mkoeppe May 25, 2024
20e6cda
sage.combinat, sage.games: Use more lazy_import in all.py files
mkoeppe May 27, 2024
a34bd71
src/sage/structure/parent.pyx: In doctest, use SymmetricFunctions fro…
mkoeppe May 27, 2024
327fb5c
src/sage/categories/weyl_groups.py: Fix import
mkoeppe May 27, 2024
af1ff33
Merge branch 'lazy_import_combinat' into 36676
mkoeppe Jun 1, 2024
fd5ba9a
Merge remote-tracking branch 'upstream/develop' into 36676
mkoeppe Jun 9, 2024
8865085
src/sage/matrix/args.pyx: late-import MatrixSpace in all code paths
mkoeppe Jun 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 40 additions & 56 deletions pkgs/sagemath-categories/known-test-failures.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"sage.categories.algebras": {
"failed": true,
"ntests": 25
"ntests": 20
},
"sage.categories.algebras_with_basis": {
"failed": true,
Expand Down Expand Up @@ -126,7 +126,7 @@
},
"sage.categories.commutative_rings": {
"failed": true,
"ntests": 41
"ntests": 39
},
"sage.categories.complete_discrete_valuation": {
"failed": true,
Expand All @@ -148,19 +148,15 @@
},
"sage.categories.coxeter_groups": {
"failed": true,
"ntests": 392
"ntests": 363
},
"sage.categories.cw_complexes": {
"failed": true,
"ntests": 36
},
"sage.categories.dedekind_domains": {
"failed": true,
"ntests": 30
},
"sage.categories.discrete_valuation": {
"failed": true,
"ntests": 28
"ntests": 23
},
"sage.categories.distributive_magmas_and_additive_magmas": {
"failed": true,
Expand All @@ -173,6 +169,9 @@
"failed": true,
"ntests": 7
},
"sage.categories.drinfeld_modules": {
"ntests": 2
},
"sage.categories.dual": {
"failed": true,
"ntests": 1
Expand Down Expand Up @@ -298,18 +297,18 @@
},
"sage.categories.filtered_modules_with_basis": {
"failed": true,
"ntests": 74
"ntests": 65
},
"sage.categories.finite_complex_reflection_groups": {
"failed": true,
"ntests": 189
"ntests": 199
},
"sage.categories.finite_coxeter_groups": {
"ntests": 6
},
"sage.categories.finite_dimensional_algebras_with_basis": {
"failed": true,
"ntests": 91
"ntests": 87
},
"sage.categories.finite_dimensional_bialgebras_with_basis": {
"failed": true,
Expand All @@ -329,11 +328,11 @@
},
"sage.categories.finite_dimensional_lie_algebras_with_basis": {
"failed": true,
"ntests": 73
"ntests": 34
},
"sage.categories.finite_dimensional_modules_with_basis": {
"failed": true,
"ntests": 89
"ntests": 55
},
"sage.categories.finite_dimensional_nilpotent_lie_algebras_with_basis": {
"failed": true,
Expand Down Expand Up @@ -527,7 +526,7 @@
},
"sage.categories.lie_algebras": {
"failed": true,
"ntests": 135
"ntests": 125
},
"sage.categories.lie_algebras_with_basis": {
"ntests": 19
Expand Down Expand Up @@ -583,7 +582,7 @@
},
"sage.categories.modules_with_basis": {
"failed": true,
"ntests": 240
"ntests": 221
},
"sage.categories.monoid_algebras": {
"failed": true,
Expand All @@ -595,7 +594,7 @@
},
"sage.categories.morphism": {
"failed": true,
"ntests": 126
"ntests": 99
},
"sage.categories.noetherian_rings": {
"failed": true,
Expand Down Expand Up @@ -669,14 +668,14 @@
},
"sage.categories.rings": {
"failed": true,
"ntests": 146
"ntests": 141
},
"sage.categories.rngs": {
"ntests": 6
},
"sage.categories.schemes": {
"failed": true,
"ntests": 41
"ntests": 23
},
"sage.categories.semigroups": {
"failed": true,
Expand Down Expand Up @@ -712,7 +711,7 @@
},
"sage.categories.simplicial_sets": {
"failed": true,
"ntests": 98
"ntests": 57
},
"sage.categories.subobjects": {
"ntests": 2
Expand Down Expand Up @@ -766,7 +765,7 @@
},
"sage.categories.unital_algebras": {
"failed": true,
"ntests": 37
"ntests": 39
},
"sage.categories.vector_spaces": {
"failed": true,
Expand Down Expand Up @@ -809,28 +808,29 @@
},
"sage.doctest.control": {
"failed": true,
"ntests": 230
"ntests": 0
},
"sage.doctest.external": {
"ntests": 42
},
"sage.doctest.fixtures": {
"failed": true,
"ntests": 59
},
"sage.doctest.forker": {
"failed": true,
"ntests": 413
"ntests": 433
},
"sage.doctest.parsing": {
"failed": true,
"ntests": 313
"ntests": 321
},
"sage.doctest.reporting": {
"ntests": 115
"ntests": 124
},
"sage.doctest.sources": {
"failed": true,
"ntests": 343
"ntests": 378
},
"sage.doctest.test": {
"failed": true,
Expand All @@ -845,7 +845,7 @@
"ntests": 41
},
"sage.features": {
"ntests": 143
"ntests": 145
},
"sage.features.all": {
"ntests": 14
Expand All @@ -864,23 +864,17 @@
},
"sage.features.databases": {
"failed": true,
"ntests": 38
"ntests": 26
},
"sage.features.dvipng": {
"ntests": 4
},
"sage.features.ecm": {
"ntests": 4
},
"sage.features.ffmpeg": {
"ntests": 4
},
"sage.features.four_ti_2": {
"ntests": 6
},
"sage.features.fricas": {
"ntests": 6
},
"sage.features.gap": {
"ntests": 6
},
Expand All @@ -906,11 +900,7 @@
"sage.features.internet": {
"ntests": 5
},
"sage.features.jmol": {
"ntests": 4
},
"sage.features.join_feature": {
"failed": true,
"ntests": 25
},
"sage.features.kenzo": {
Expand Down Expand Up @@ -969,24 +959,17 @@
},
"sage.features.sagemath": {
"failed": true,
"ntests": 151
"ntests": 147
},
"sage.features.singular": {
"ntests": 4
},
"sage.features.sphinx": {
"ntests": 4
},
"sage.features.symengine_py": {
"ntests": 4
},
"sage.features.tdlib": {
"ntests": 2
},
"sage.features.threejs": {
"failed": true,
"ntests": 6
},
"sage.misc.abstract_method": {
"failed": true,
"ntests": 33
Expand Down Expand Up @@ -1017,7 +1000,7 @@
},
"sage.misc.decorators": {
"failed": true,
"ntests": 125
"ntests": 126
},
"sage.misc.fast_methods": {
"failed": true,
Expand Down Expand Up @@ -1075,7 +1058,7 @@
},
"sage.misc.package_dir": {
"failed": true,
"ntests": 35
"ntests": 29
},
"sage.misc.persist": {
"failed": true,
Expand Down Expand Up @@ -1107,7 +1090,7 @@
},
"sage.misc.sageinspect": {
"failed": true,
"ntests": 322
"ntests": 332
},
"sage.misc.superseded": {
"failed": true,
Expand Down Expand Up @@ -1140,6 +1123,7 @@
"ntests": 128
},
"sage.repl.configuration": {
"failed": true,
"ntests": 22
},
"sage.repl.display.fancy_repr": {
Expand All @@ -1165,6 +1149,7 @@
"ntests": 42
},
"sage.repl.inputhook": {
"failed": true,
"ntests": 7
},
"sage.repl.interface_magic": {
Expand All @@ -1181,14 +1166,13 @@
},
"sage.repl.ipython_kernel.install": {
"failed": true,
"ntests": 35
"ntests": 40
},
"sage.repl.ipython_kernel.interact": {
"failed": true,
"ntests": 42
},
"sage.repl.ipython_kernel.kernel": {
"failed": true,
"ntests": 12
},
"sage.repl.ipython_kernel.widgets": {
Expand Down Expand Up @@ -1223,15 +1207,15 @@
},
"sage.repl.rich_output.backend_ipython": {
"failed": true,
"ntests": 75
"ntests": 78
},
"sage.repl.rich_output.buffer": {
"failed": true,
"ntests": 49
},
"sage.repl.rich_output.display_manager": {
"failed": true,
"ntests": 86
"ntests": 88
},
"sage.repl.rich_output.output_basic": {
"ntests": 47
Expand Down Expand Up @@ -1268,7 +1252,7 @@
},
"sage.rings.ring": {
"failed": true,
"ntests": 298
"ntests": 337
},
"sage.sets.pythonclass": {
"failed": true,
Expand All @@ -1280,7 +1264,7 @@
},
"sage.structure.coerce": {
"failed": true,
"ntests": 310
"ntests": 314
},
"sage.structure.coerce_actions": {
"failed": true,
Expand Down Expand Up @@ -1315,7 +1299,7 @@
},
"sage.structure.factorization": {
"failed": true,
"ntests": 200
"ntests": 203
},
"sage.structure.factorization_integer": {
"failed": true,
Expand Down Expand Up @@ -1359,7 +1343,7 @@
},
"sage.structure.parent": {
"failed": true,
"ntests": 303
"ntests": 300
},
"sage.structure.parent_gens": {
"failed": true,
Expand Down
Loading
Loading