Skip to content

Fix remaining all imports #17633

Fix remaining all imports

Fix remaining all imports #17633

Triggered via pull request January 4, 2025 18:55
Status Failure
Total duration 10h 8m 46s
Artifacts 2

build.yml

on: pull_request
Matrix: test-long
Matrix: test-mod
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 6 warnings
Failed example:: src/sage/categories/sets_cat.py#L2830
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 726, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1147, in compile_and_execute exec(compiled, globs) File "<doctest sage.categories.sets_cat.Sets.WithRealizations.ParentMethods.inject_shorthands[0]>", line 1, in <module> S = SymmetricFunctions(ZZ); S # needs sage.combinat sage.modules File "sage/misc/lazy_import.pyx", line 406, in sage.misc.lazy_import.LazyImport.__call__ return self.get_object()(*args, **kwds) File "sage/misc/lazy_import.pyx", line 224, in sage.misc.lazy_import.LazyImport.get_object return self._get_object() File "sage/misc/lazy_import.pyx", line 265, in sage.misc.lazy_import.LazyImport._get_object raise File "sage/misc/lazy_import.pyx", line 259, in sage.misc.lazy_import.LazyImport._get_object self._object = getattr(__import__(self._module, {}, {}, [self._name]), self._name) File "/sage/src/sage/combinat/sf/sf.py", line 34, in <module> from . import schur File "/sage/src/sage/combinat/sf/schur.py", line 21, in <module> from . import classical File "/sage/src/sage/combinat/sf/classical.py", line 30, in <module> from . import jack File "/sage/src/sage/combinat/sf/jack.py", line 34, in <module> from sage.combinat.sf.sf import SymmetricFunctions ImportError: cannot import name 'SymmetricFunctions' from partially initialized module 'sage.combinat.sf.sf' (most likely due to a circular import) (/sage/src/sage/combinat/sf/sf.py)
Failed example:: src/sage/categories/sets_cat.py#L2832
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 726, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1147, in compile_and_execute exec(compiled, globs) File "<doctest sage.categories.sets_cat.Sets.WithRealizations.ParentMethods.inject_shorthands[1]>", line 1, in <module> s = S.s(); s # needs sage.combinat sage.modules NameError: name 'S' is not defined
Failed example:: src/sage/categories/sets_cat.py#L2834
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 726, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1147, in compile_and_execute exec(compiled, globs) File "<doctest sage.categories.sets_cat.Sets.WithRealizations.ParentMethods.inject_shorthands[2]>", line 1, in <module> e = S.e(); e # needs sage.combinat sage.modules NameError: name 'S' is not defined
Failed example:: src/sage/categories/sets_cat.py#L2840
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 726, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1147, in compile_and_execute exec(compiled, globs) File "<doctest sage.categories.sets_cat.Sets.WithRealizations.ParentMethods.inject_shorthands[3]>", line 1, in <module> S.inject_shorthands() NameError: name 'S' is not defined
Failed example:: src/sage/categories/sets_cat.py#L2853
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 726, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1147, in compile_and_execute exec(compiled, globs) File "<doctest sage.categories.sets_cat.Sets.WithRealizations.ParentMethods.inject_shorthands[4]>", line 1, in <module> s[Integer(1)] + e[Integer(2)] * p[Integer(1),Integer(1)] + Integer(2)*h[Integer(3)] + m[Integer(2),Integer(1)] NameError: name 's' is not defined
Failed example:: src/sage/categories/sets_cat.py#L2856
Failed example:: Got: e
Failed example:: src/sage/categories/sets_cat.py#L2858
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 726, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1147, in compile_and_execute exec(compiled, globs) File "<doctest sage.categories.sets_cat.Sets.WithRealizations.ParentMethods.inject_shorthands[6]>", line 1, in <module> p NameError: name 'p' is not defined
Failed example:: src/sage/categories/sets_cat.py#L2860
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 726, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1147, in compile_and_execute exec(compiled, globs) File "<doctest sage.categories.sets_cat.Sets.WithRealizations.ParentMethods.inject_shorthands[7]>", line 1, in <module> s NameError: name 's' is not defined
Failed example:: src/sage/categories/sets_cat.py#L2867
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 726, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1147, in compile_and_execute exec(compiled, globs) File "<doctest sage.categories.sets_cat.Sets.WithRealizations.ParentMethods.inject_shorthands[8]>", line 1, in <module> S.inject_shorthands("all") # needs lrcalc_python sage.combinat sage.modules NameError: name 'S' is not defined
Failed example:: src/sage/categories/sets_cat.py#L2896
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 726, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1147, in compile_and_execute exec(compiled, globs) File "<doctest sage.categories.sets_cat.Sets.WithRealizations.ParentMethods.inject_shorthands[9]>", line 1, in <module> Q = QuasiSymmetricFunctions(ZZ) File "sage/misc/lazy_import.pyx", line 406, in sage.misc.lazy_import.LazyImport.__call__ return self.get_object()(*args, **kwds) File "sage/misc/lazy_import.pyx", line 224, in sage.misc.lazy_import.LazyImport.get_object return self._get_object() File "sage/misc/lazy_import.pyx", line 265, in sage.misc.lazy_import.LazyImport._get_object raise File "sage/misc/lazy_import.pyx", line 259, in sage.misc.lazy_import.LazyImport._get_object self._object = getattr(__import__(self._module, {}, {}, [self._name]), self._name) File "/sage/src/sage/combinat/ncsf_qsym/qsym.py", line 92, in <module> from sage.combinat.sf.sf import SymmetricFunctions File "/sage/src/sage/combinat/sf/sf.py", line 34, in <module> from . import schur File "/sage/src/sage/combinat/sf/schur.py", line 21, in <module> from . import classical File "/sage/src/sage/combinat/sf/classical.py", line 30, in <module> from . import jack File "/sage/src/sage/combinat/sf/jack.py", line 34, in <module> from sage.combinat.sf.sf import SymmetricFunctions ImportError: cannot import name 'SymmetricFunctions' from partially initialized module 'sage.combinat.sf.sf' (most likely due to a circular import) (/sage/src/sage/combinat/sf/sf.py)
coverage-report
buildx failed with: ERROR: failed to solve: process "/bin/sh -c make SAGE_SPKG=\"sage-spkg -y -o\" ${USE_MAKEFLAGS} ${TARGETS}" did not complete successfully: exit code: 2
coverage-report
Process completed with exit code 125.
test-new
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-new
The process '/usr/bin/git' failed with exit code 128
test-new
fatal: no submodule mapping found in .gitmodules for path 'subprojects/factory'
coverage-report
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
coverage-report
The process '/usr/bin/git' failed with exit code 128

Artifacts

Produced during runtime
Name Size
sagemath~sage~MUC017.dockerbuild
116 KB
sagemath~sage~Z0FDM7.dockerbuild
56.4 KB