Debian also noticed this and reported upstream. https://github.com/cython/cython/issues/5928 Errors from shard 3: ====================================================================== FAIL: cast_test (cpp_stl_any) Doctest: cpp_stl_any.cast_test ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.11/doctest.py", line 2241, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for cpp_stl_any.cast_test File "/var/tmp/portage/dev-python/cython-3.0.8/work/cython-3.0.8-python3_11/tests/3/run/cpp/cpp_stl_any/cpp_stl_any.cpython-311-i386-linux-gnu.so", line unknown line number, in cast_test ---------------------------------------------------------------------- File "/var/tmp/portage/dev-python/cython-3.0.8/work/cython-3.0.8-python3_11/tests/3/run/cpp/cpp_stl_any/cpp_stl_any.cpython-311-i386-linux-gnu.so", line ?, in cpp_stl_any.cast_test Failed example: cast_test() Exception raised: Traceback (most recent call last): File "/usr/lib/python3.11/doctest.py", line 1353, in __run exec(compile(example.source, filename, "single", File "<doctest cpp_stl_any.cast_test[0]>", line 1, in <module> cast_test() File "tests/run/cpp_stl_any.pyx", line 44, in cpp_stl_any.cast_test (cpp_stl_any.cpp:2883) assert any_cast[double](a) == 3.14 AssertionError ====================================================================== FAIL: cast_test (cpp_stl_any) Doctest: cpp_stl_any.cast_test ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.11/doctest.py", line 2241, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for cpp_stl_any.cast_test File "/var/tmp/portage/dev-python/cython-3.0.8/work/cython-3.0.8-python3_11/tests/3/run/cpp/cpp_stl_any_directives_cpp_locals_True/cpp_stl_any.cpython-311-i386-linux-gnu.so", line unknown line number, in cast_test ---------------------------------------------------------------------- File "/var/tmp/portage/dev-python/cython-3.0.8/work/cython-3.0.8-python3_11/tests/3/run/cpp/cpp_stl_any_directives_cpp_locals_True/cpp_stl_any.cpython-311-i386-linux-gnu.so", line ?, in cpp_stl_any.cast_test Failed example: cast_test() Exception raised: Traceback (most recent call last): File "/usr/lib/python3.11/doctest.py", line 1353, in __run exec(compile(example.source, filename, "single", File "<doctest cpp_stl_any.cast_test[0]>", line 1, in <module> cast_test() File "tests/run/cpp_stl_any.pyx", line 44, in cpp_stl_any.cast_test (cpp_stl_any.cpp:2883) assert any_cast[double](a) == 3.14 AssertionError Reproducible: Always
Created attachment 884504 [details] build.log and emerge --info
The failure isn't serious enough to block stabilisation given the C99 fixes.