cysignals icon indicating copy to clipboard operation
cysignals copied to clipboard

Error on Python 3.12

Open saraedum opened this issue 1 year ago • 0 comments

Building cysignals 1.11.4 with Python 3.12, we get the following test error on conda-forge:

2023-12-06T20:51:37.4462920Z File "src/cysignals/tests.pyx", line 723, in tests.pyx
2023-12-06T20:51:37.4463209Z Failed example:
2023-12-06T20:51:37.4463786Z     subpython_err('from cysignals.tests import *; test_bad_str()')
2023-12-06T20:51:37.4464061Z Expected:
2023-12-06T20:51:37.4464456Z     ---------------------------------------------------------------------...
2023-12-06T20:51:37.4464767Z     Unhandled SIGSEGV during signal handling.
2023-12-06T20:51:37.4465088Z     This probably occurred because a *compiled* module has a bug
2023-12-06T20:51:37.4465388Z     in it and is not properly wrapped with sig_on(), sig_off().
2023-12-06T20:51:37.4465676Z     Python will now terminate.
2023-12-06T20:51:37.4465895Z     ...
2023-12-06T20:51:37.4466111Z Got:
2023-12-06T20:51:37.4466487Z     ------------------------------------------------------------------------

I could not find whether cysignals is actually fully tested with Python 3.12 in the CI here. Is this something conda specific or a problem with cysignals?

This did not happen with 1.11.2.

saraedum avatar Dec 07 '23 05:12 saraedum