Skip to content

move is_field from Ring to Rings #18583

move is_field from Ring to Rings

move is_field from Ring to Rings #18583

Triggered via pull request February 13, 2025 20:43
Status Failure
Total duration 20m 13s
Artifacts 2

build.yml

on: pull_request
Matrix: test-long
coverage-report
4m 21s
coverage-report
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 3 warnings
Failed example:: src/sage/categories/fields.py#L77
Failed example:: Got: hi The Infinity Ring False
Failed example:: src/sage/categories/fields.py#L647
Failed example:: Exception raised: Traceback (most recent call last): File "sage/structure/category_object.pyx", line 857, in sage.structure.category_object.CategoryObject.getattr_from_category return self._cached_methods[name] KeyError: 'is_field' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 728, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1152, in compile_and_execute exec(compiled, globs) File "<doctest sage.categories.fields.Fields.ParentMethods.vector_space[0]>", line 1, in <module> K = Qq(Integer(125), names=('a',)); (a,) = K._first_ngens(1) File "/sage/src/sage/rings/padics/factory.py", line 1366, in Qq base = Qp(p=p, prec=prec, type=type, print_mode=print_mode, names=ram_name, print_pos=print_pos, File "sage/structure/factory.pyx", line 373, in sage.structure.factory.UniqueFactory.__call__ return self.get_object(version, key, kwds) File "sage/structure/factory.pyx", line 416, in sage.structure.factory.UniqueFactory.get_object obj = self.create_object(version, key, **extra_args) File "/sage/src/sage/rings/padics/factory.py", line 795, in create_object return pAdicFieldCappedRelative(p, prec, {'mode': print_mode, 'pos': print_pos, 'sep': print_sep, 'alphabet': print_alphabet, File "/sage/src/sage/rings/padics/padic_base_leaves.py", line 663, in __init__ pAdicFieldBaseGeneric.__init__(self, p, prec, print_mode, names, pAdicCappedRelativeElement, category=category) File "/sage/src/sage/rings/padics/padic_base_generic.py", line 49, in __init__ self.prime_pow = PowComputer(p, max(min(prec - 1, 30), 1), prec, self.is_field(), self._prec_type()) File "sage/structure/category_object.pyx", line 851, in sage.structure.category_object.CategoryObject.__getattr__ return self.getattr_from_category(name) File "sage/structure/category_object.pyx", line 866, in sage.structure.category_object.CategoryObject.getattr_from_category attr = getattr_from_other_class(self, cls, name) File "sage/cpython/getattr.pyx", line 363, in sage.cpython.getattr.getattr_from_other_class raise AttributeError(dummy_error_message) AttributeError: 'pAdicFieldCappedRelative' object has no attribute 'is_field'. Did you mean: 'subfield'?
Failed example:: src/sage/categories/fields.py#L648
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 728, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1152, in compile_and_execute exec(compiled, globs) File "<doctest sage.categories.fields.Fields.ParentMethods.vector_space[1]>", line 1, in <module> V, fr, to = K.vector_space() NameError: name 'K' is not defined
Failed example:: src/sage/categories/fields.py#L649
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 728, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1152, in compile_and_execute exec(compiled, globs) File "<doctest sage.categories.fields.Fields.ParentMethods.vector_space[2]>", line 1, in <module> v = V([Integer(1), Integer(2), Integer(3)]) NameError: name 'V' is not defined
Failed example:: src/sage/categories/fields.py#L650
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 728, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1152, in compile_and_execute exec(compiled, globs) File "<doctest sage.categories.fields.Fields.ParentMethods.vector_space[3]>", line 1, in <module> fr(v, Integer(7)) NameError: name 'fr' is not defined
Failed example:: src/sage/algebras/cellular_basis.py#L334
Failed example:: Got: hi Temperley-Lieb Algebra of rank 2 with parameter -z5^3 - z5^2 - 1 over Cyclotomic Field of order 5 and degree 4
Failed example:: src/sage/algebras/cellular_basis.py#L335
Failed example:: Got: hi Cellular basis of Temperley-Lieb Algebra of rank 2 with parameter -z5^3 - z5^2 - 1 over Cyclotomic Field of order 5 and degree 4
Failed example:: src/sage/algebras/cellular_basis.py#L338
Failed example:: Exception raised: Traceback (most recent call last): File "sage/misc/cachefunc.pyx", line 1955, in sage.misc.cachefunc.CachedMethodCaller.__call__ return cache[k] KeyError: (((0, {{1, 2}}, {{1, 2}}), (0, {{1, 2}}, {{1, 2}})), ()) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 728, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1152, in compile_and_execute exec(compiled, globs) File "<doctest sage.algebras.cellular_basis.CellularBasis.product_on_basis[11]>", line 1, in <module> B.product_on_basis((Integer(0), c, c), (Integer(0), c, c)) File "sage/misc/cachefunc.pyx", line 1960, in sage.misc.cachefunc.CachedMethodCaller.__call__ w = self._instance_call(*args, **kwds) File "sage/misc/cachefunc.pyx", line 1836, in sage.misc.cachefunc.CachedMethodCaller._instance_call return self.f(self._instance, *args, **kwds) File "/sage/src/sage/algebras/cellular_basis.py", line 344, in product_on_basis return self(A(self.monomial(x)) * A(self.monomial(y))) File "sage/structure/parent.pyx", line 901, in sage.structure.parent.Parent.__call__ return mor._call_(x) File "sage/structure/coerce_maps.pyx", line 164, in sage.structure.coerce_maps.DefaultConvertMap_unique._call_ raise File "sage/structure/coerce_maps.pyx", line 159, in sage.structure.coerce_maps.DefaultConvertMap_unique._call_ return C._element_constructor(x) File "/sage/src/sage/combinat/free_module.py", line 771, in _element_constructor_ raise TypeError("do not know how to make x (= %s) an element of self (=%s)" % (x, self)) TypeError: do not know how to make x (= (-z5^3-z5^2-1)*T{{-2, -1}, {1, 2}}) an element of self (=Cellular basis of Temperley-Lieb Algebra of rank 2 with parameter -z5^3 - z5^2 - 1 over Cyclotomic Field of order 5 and degree 4)
Failed example:: src/sage/modules/with_basis/cell_module.py#L178
Failed example:: Got: hi Temperley-Lieb Algebra of rank 2 with parameter -z5^3 - z5^2 - 1 over Cyclotomic Field of order 5 and degree 4
Failed example:: src/sage/modules/with_basis/cell_module.py#L179
Failed example:: Got: hi Cellular basis of Temperley-Lieb Algebra of rank 2 with parameter -z5^3 - z5^2 - 1 over Cyclotomic Field of order 5 and degree 4
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.
coverage-report
$GITHUB_STEP_SUMMARY upload aborted, supports content up to a size of 1024k, got 1054k. For more information see: https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-markdown-summary
test-new
fatal: no submodule mapping found in .gitmodules for path 'subprojects/factory'
test-new
The process '/usr/bin/git' failed with exit code 128
coverage-report
The process '/usr/bin/git' failed with exit code 128

Artifacts

Produced during runtime
Name Size
sagemath~sage~0E8R39.dockerbuild
115 KB
sagemath~sage~7TA5AE.dockerbuild
195 KB