Skip to content

let the category of sets handle the __len__ method of rings #15447

let the category of sets handle the __len__ method of rings

let the category of sets handle the __len__ method of rings #15447

Triggered via pull request September 23, 2024 12:32
Status Failure
Total duration 1h 21m 29s
Artifacts 9

build.yml

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

Annotations

23 errors
Failed example:: src/doc/en/constructions/calculus.rst#L177
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest doc.en.constructions.calculus[2]>", line 1, in <module> g = f.convolution(f) File "sage/symbolic/expression.pyx", line 13572, in sage.symbolic.expression._eval_on_operands.new_f return f(ex, *new_args, **kwds) File "/sage/src/sage/functions/piecewise.py", line 1024, in convolution return (piecewise([[(minus_infinity,infinity),0]]).piecewise_add(h)).unextend_zero() File "sage/symbolic/expression.pyx", line 13572, in sage.symbolic.expression._eval_on_operands.new_f return f(ex, *new_args, **kwds) File "/sage/src/sage/functions/piecewise.py", line 717, in piecewise_add domain += rs File "/sage/src/sage/categories/sets_cat.py", line 1928, in __len__ raise ValueError('infinite set') ValueError: infinite set
Failed example:: src/doc/en/constructions/calculus.rst#L178
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest doc.en.constructions.calculus[3]>", line 1, in <module> h = f.convolution(g) NameError: name 'g' is not defined
Failed example:: src/doc/en/constructions/calculus.rst#L180
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest doc.en.constructions.calculus[5]>", line 1, in <module> P = f.plot(); Q = g.plot(rgbcolor=(Integer(1),Integer(1),Integer(0))); R = h.plot(rgbcolor=(Integer(0),Integer(1),Integer(1))) NameError: name 'g' is not defined
Failed example:: src/doc/en/constructions/calculus.rst#L384
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest doc.en.constructions.calculus[1]>", line 1, in <module> f.fourier_series_cosine_coefficient(Integer(0)) File "sage/symbolic/expression.pyx", line 13572, in sage.symbolic.expression._eval_on_operands.new_f return f(ex, *new_args, **kwds) File "/sage/src/sage/functions/piecewise.py", line 1218, in fourier_series_cosine_coefficient L0 = (self.domain().sup() - self.domain().inf()) / 2 File "sage/symbolic/expression.pyx", line 13572, in sage.symbolic.expression._eval_on_operands.new_f return f(ex, *new_args, **kwds) File "/sage/src/sage/functions/piecewise.py", line 408, in domain intervals += list(domain) File "/sage/src/sage/categories/sets_cat.py", line 1928, in __len__ raise ValueError('infinite set') ValueError: infinite set
Failed example:: src/doc/en/constructions/calculus.rst#L386
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest doc.en.constructions.calculus[2]>", line 1, in <module> f.fourier_series_sine_coefficient(Integer(5)) File "sage/symbolic/expression.pyx", line 13572, in sage.symbolic.expression._eval_on_operands.new_f return f(ex, *new_args, **kwds) File "/sage/src/sage/functions/piecewise.py", line 1306, in fourier_series_sine_coefficient L0 = (self.domain().sup() - self.domain().inf()) / 2 File "sage/symbolic/expression.pyx", line 13572, in sage.symbolic.expression._eval_on_operands.new_f return f(ex, *new_args, **kwds) File "/sage/src/sage/functions/piecewise.py", line 408, in domain intervals += list(domain) File "/sage/src/sage/categories/sets_cat.py", line 1928, in __len__ raise ValueError('infinite set') ValueError: infinite set
Failed example:: src/doc/en/constructions/calculus.rst#L388
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest doc.en.constructions.calculus[3]>", line 1, in <module> s5 = f.fourier_series_partial_sum(Integer(5)); s5 File "sage/symbolic/expression.pyx", line 13572, in sage.symbolic.expression._eval_on_operands.new_f return f(ex, *new_args, **kwds) File "/sage/src/sage/functions/piecewise.py", line 1397, in fourier_series_partial_sum L = (self.domain().sup() - self.domain().inf()) / 2 File "sage/symbolic/expression.pyx", line 13572, in sage.symbolic.expression._eval_on_operands.new_f return f(ex, *new_args, **kwds) File "/sage/src/sage/functions/piecewise.py", line 408, in domain intervals += list(domain) File "/sage/src/sage/categories/sets_cat.py", line 1928, in __len__ raise ValueError('infinite set') ValueError: infinite set
Failed example:: src/doc/en/constructions/calculus.rst#L390
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest doc.en.constructions.calculus[4]>", line 1, in <module> plot(f, (Integer(0),pi)) + plot(s5, (x,Integer(0),pi), color='red') NameError: name 's5' is not defined
Failed example:: src/doc/en/thematic_tutorials/coercion_and_categories.rst#L106
Failed example:: Got: ['_CommutativeRing__fraction_field', '__iter__', '__rxor__', '__xor__', '_an_element_impl', '_coerce_', '_coerce_c', '_coerce_impl', '_default_category', '_gens', '_latex_names', '_list', '_one_element', '_pseudo_fraction_field', '_zero_element', 'algebraic_closure', 'base_extend', 'divides', 'epsilon', 'extension', 'fraction_field', 'gen', 'gens', 'ideal', 'integral_closure', 'is_commutative', 'is_field', 'is_integrally_closed', 'is_prime_field', 'is_subring', 'krull_dimension', 'localization', 'ngens', 'one', 'order', 'prime_subfield', 'random_element', 'zero', 'zeta', 'zeta_order']
test-long (src/doc src/sage_docbuild src/sage_setup)
Process completed with exit code 1.
Failed example:: src/sage/categories/enumerated_sets.py#L646
Failed example:: Got: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest sage.categories.enumerated_sets.EnumeratedSets.ParentMethods._list_from_iterator[9]>", line 1, in <module> list(MyIntegers) # indirect test File "/sage/src/sage/categories/enumerated_sets.py", line 482, in __len__ raise NotImplementedError('infinite set') NotImplementedError: infinite set
Failed example:: src/sage/functions/piecewise.py#L403
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest sage.functions.piecewise.PiecewiseFunction.EvaluationMethods.domain[1]>", line 1, in <module> f.domain() File "sage/symbolic/expression.pyx", line 13572, in sage.symbolic.expression._eval_on_operands.new_f return f(ex, *new_args, **kwds) File "/sage/src/sage/functions/piecewise.py", line 408, in domain intervals += list(domain) File "/sage/src/sage/categories/sets_cat.py", line 1928, in __len__ raise ValueError('infinite set') ValueError: infinite set
Failed example:: src/sage/functions/piecewise.py#L563
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest sage.functions.piecewise.PiecewiseFunction.EvaluationMethods.extension[2]>", line 1, in <module> g = f.extension(Integer(0)); g File "sage/symbolic/expression.pyx", line 13572, in sage.symbolic.expression._eval_on_operands.new_f return f(ex, *new_args, **kwds) File "/sage/src/sage/functions/piecewise.py", line 575, in extension extension_domain = self.domain().complement() File "sage/symbolic/expression.pyx", line 13572, in sage.symbolic.expression._eval_on_operands.new_f return f(ex, *new_args, **kwds) File "/sage/src/sage/functions/piecewise.py", line 408, in domain intervals += list(domain) File "/sage/src/sage/categories/sets_cat.py", line 1928, in __len__ raise ValueError('infinite set') ValueError: infinite set
Failed example:: src/sage/functions/piecewise.py#L565
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest sage.functions.piecewise.PiecewiseFunction.EvaluationMethods.extension[3]>", line 1, in <module> g(Integer(3)) NameError: name 'g' is not defined
Failed example:: src/sage/functions/piecewise.py#L587
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest sage.functions.piecewise.PiecewiseFunction.EvaluationMethods.unextend_zero[1]>", line 1, in <module> g = f.extension(Integer(0)); g File "sage/symbolic/expression.pyx", line 13572, in sage.symbolic.expression._eval_on_operands.new_f return f(ex, *new_args, **kwds) File "/sage/src/sage/functions/piecewise.py", line 575, in extension extension_domain = self.domain().complement() File "sage/symbolic/expression.pyx", line 13572, in sage.symbolic.expression._eval_on_operands.new_f return f(ex, *new_args, **kwds) File "/sage/src/sage/functions/piecewise.py", line 408, in domain intervals += list(domain) File "/sage/src/sage/categories/sets_cat.py", line 1928, in __len__ raise ValueError('infinite set') ValueError: infinite set
Failed example:: src/sage/functions/piecewise.py#L589
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest sage.functions.piecewise.PiecewiseFunction.EvaluationMethods.unextend_zero[2]>", line 1, in <module> g(Integer(3)) NameError: name 'g' is not defined
Failed example:: src/sage/functions/piecewise.py#L591
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest sage.functions.piecewise.PiecewiseFunction.EvaluationMethods.unextend_zero[3]>", line 1, in <module> h = g.unextend_zero() NameError: name 'g' is not defined
Failed example:: src/sage/functions/piecewise.py#L592
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest sage.functions.piecewise.PiecewiseFunction.EvaluationMethods.unextend_zero[4]>", line 1, in <module> bool(h == f) NameError: name 'h' is not defined
Failed example:: src/sage/functions/piecewise.py#L656
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest sage.functions.piecewise.PiecewiseFunction.EvaluationMethods.piecewise_add[2]>", line 1, in <module> f.piecewise_add(g).unextend_zero() File "sage/symbolic/expression.pyx", line 13572, in sage.symbolic.expression._eval_on_operands.new_f return f(ex, *new_args, **kwds) File "/sage/src/sage/functions/piecewise.py", line 717, in piecewise_add domain += rs File "/sage/src/sage/categories/sets_cat.py", line 1928, in __len__ raise ValueError('infinite set') ValueError: infinite set
Failed example:: src/sage/functions/piecewise.py#L940
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest sage.functions.piecewise.PiecewiseFunction.EvaluationMethods.convolution[2]>", line 1, in <module> g = f.convolution(f); g File "sage/symbolic/expression.pyx", line 13572, in sage.symbolic.expression._eval_on_operands.new_f return f(ex, *new_args, **kwds) File "/sage/src/sage/functions/piecewise.py", line 1024, in convolution return (piecewise([[(minus_infinity,infinity),0]]).piecewise_add(h)).unextend_zero() File "sage/symbolic/expression.pyx", line 13572, in sage.symbolic.expression._eval_on_operands.new_f return f(ex, *new_args, **kwds) File "/sage/src/sage/functions/piecewise.py", line 717, in piecewise_add domain += rs File "/sage/src/sage/categories/sets_cat.py", line 1928, in __len__ raise ValueError('infinite set') ValueError: infinite set
Failed example:: src/sage/matrix/matrix_space.py#L1552
Failed example:: Got: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest sage.matrix.matrix_space.MatrixSpace.__len__[4]>", line 1, in <module> len(MatrixSpace(QQ,Integer(3),Integer(2))) File "/sage/src/sage/matrix/matrix_space.py", line 1557, in __len__ return len(self.base_ring())**(self.nrows() * self.ncols()) File "/sage/src/sage/categories/sets_cat.py", line 1928, in __len__ raise ValueError('infinite set') ValueError: infinite set
Failed example:: src/sage/matrix/matrix_space.py#L1732
Failed example:: Got: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest sage.matrix.matrix_space.MatrixSpace.__iter__[33]>", line 1, in <module> a = list(MS) File "/sage/src/sage/matrix/matrix_space.py", line 1739, in __iter__ base_iter = iter(base_ring) File "sage/rings/ring.pyx", line 288, in sage.rings.ring.Ring.__iter__ raise NotImplementedError("object does not support iteration") NotImplementedError: object does not support iteration
test-long (src/sage/[g-o]*)
Process completed with exit code 1.
test-long (src/sage/[p-z]*)
The hosted runner: GitHub Actions 53 lost communication with the server. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error.

Artifacts

Produced during runtime
Name Size
coverage-src_doc--src_sage_docbuild--src_sage_setup
141 KB
coverage-src_sage_a-f
218 KB
coverage-src_sage_g-o
206 KB
sagemath~sage~6BQCTW.dockerbuild
112 KB
sagemath~sage~EYMPFZ.dockerbuild
104 KB
sagemath~sage~H7ZOJT.dockerbuild
104 KB
sagemath~sage~IVHLBB.dockerbuild
104 KB
sagemath~sage~SUP16Y.dockerbuild
101 KB
sagemath~sage~T6LM0W.dockerbuild
170 KB