Question about cysignals installation

Skip to first unread message


Aug 16, 2023, 11:00:24 AMAug 16
to sage-devel
Dear Sage developers,

I'm trying to install the cysignals 1.11.2 package in Python 3.9.7 using pip (on a computer with macOS system and Apple M2 chip) and have already installed the prerequisite packages Cython and Sphinx, but still failed with some Cython compiling errors (please see the error message attached). Do you know what the problem might be and how I can fix it?

Thank you very much!

Dima Pasechnik

Aug 16, 2023, 11:02:07 AMAug 16
to sage-devel
I think your cython is too new (3.0.0).

Cysignals has not been ported to it yet.

Martin R. Albrecht

Aug 16, 2023, 11:20:49 AMAug 16
FWIW this PR does this porting, I think.

CI complaints but I don’t understand the complaint.

_prn: he/him or they/them

Dima Pasechnik

Aug 16, 2023, 12:36:49 PMAug 16
to sage-devel
this seems to be the CI  error, something with setuptools version

2023-08-04T14:47:05.9834230Z config.status: creating src/config.h
2023-08-04T14:47:06.0117040Z config.status: creating src/cysignals/cysignals_config.h
2023-08-04T14:47:06.0928570Z python3 -m pip -v install --no-index --ignore-installed --no-deps .
2023-08-04T14:47:06.5479190Z Using pip 23.2.1 from /Users/runner/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/site-packages/pip (python 3.10)
2023-08-04T14:47:06.7102480Z Processing /Users/runner/work/cysignals/cysignals
2023-08-04T14:47:06.7169520Z Running command pip subprocess to install build dependencies
2023-08-04T14:47:06.7169990Z Installing build dependencies: started
2023-08-04T14:47:07.3324070Z ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
2023-08-04T14:47:07.3326280Z ERROR: No matching distribution found for setuptools>=40.8.0
2023-08-04T14:47:07.4154720Z error: subprocess-exited-with-error
2023-08-04T14:47:07.4156570Z × pip subprocess to install build dependencies did not run successfully.
2023-08-04T14:47:07.4157390Z │ exit code: 1

You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit


Aug 16, 2023, 1:06:09 PMAug 16
to sage-devel
Thanks for your replies! So is there a way to let cysignals use an older version of Cython?
Reply all
Reply to author
0 new messages