Question about cysignals installation

44 views
Skip to first unread message

JC

unread,
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!
cysignals_output

Dima Pasechnik

unread,
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

unread,
Aug 16, 2023, 11:20:49 AMAug 16
to sage-...@googlegroups.com
FWIW this PR https://github.com/sagemath/cysignals/pull/174 does this porting, I think.

CI complaints but I don’t understand the complaint.
--

_pgp: https://keybase.io/martinralbrecht
_www: https://malb.io
_prn: he/him or they/them

Dima Pasechnik

unread,
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.4155590Z   
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 sage-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/87jztvui7p.fsf%40googlemail.com.

JC

unread,
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
Forward
0 new messages