Skip to content

Improve is_empty and is_finite in a few cases #18265

Improve is_empty and is_finite in a few cases

Improve is_empty and is_finite in a few cases #18265

Triggered via pull request February 4, 2025 06:19
Status Failure
Total duration 29m 26s
Artifacts 2

build.yml

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

Annotations

8 errors and 3 warnings
Failed example:: src/sage/categories/sets_cat.py#L2374
Failed example:: Got: False
Failed example:: src/sage/categories/sets_cat.py#L2385
Failed example:: Got: False
Failed example:: src/sage/categories/sets_cat.py#L2387
Failed example:: Got: False
Failed example:: src/sage/categories/sets_cat.py#L2416
Failed example:: Got: False
Failed example:: src/sage/categories/sets_cat.py#L2435
Failed example:: Got: False
Failed example:: src/sage/categories/sets_cat.py#L2439
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_finite' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/sage/src/sage/categories/sets_cat.py", line 2457, in is_finite if not c.is_finite(): File "/sage/src/sage/sets/set.py", line 1417, in is_finite return self._X.is_finite() and self._Y.is_finite() 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 358, in sage.cpython.getattr.getattr_from_other_class raise AttributeError(dummy_error_message) AttributeError: 'ConditionSet_with_category' object has no attribute 'is_finite' The above exception was the direct cause of the following exception: 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.sets_cat.Sets.CartesianProducts.ParentMethods.is_finite[12]>", line 1, in <module> cartesian_product([unknown_infinite_set, Set([])]).is_finite() File "/sage/src/sage/categories/sets_cat.py", line 2462, in is_finite raise NotImplementedError from last_exception NotImplementedError
test-new
Process completed with exit code 1.
coverage-report
Process completed with exit code 1.
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
The process '/usr/bin/git' failed with exit code 128

Artifacts

Produced during runtime
Name Size
sagemath~sage~1N391B.dockerbuild
122 KB
sagemath~sage~C2HH3E.dockerbuild
124 KB