Opened 5 months ago
Closed 5 months ago
#70132 closed defect (fixed)
py27-scipy @1.2.3: Cannot assign type 'void (object) except *' to 'PyCapsule_Destructor' (alias of 'void (*)(object) noexcept'). Exception values are incompatible.
Reported by: | srinr | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | sonoma arm64 | Cc: | |
Port: | py27-scipy |
Description
Hi,
I was trying to install py27-scipy and I got the error message " Failed to build py27-scipy: command execution failed". Could you please tell me how to fix this? I am running it on macOS Sonoma (M1 machine).
Thank you.
Attachments (1)
Change History (6)
comment:1 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | sonoma arm64 added |
---|---|
Owner: | set to michaelld |
Port: | py27-scipy added |
Priority: | High → Normal |
Status: | new → assigned |
comment:3 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)
Summary: | Failed to build py27-scipy: command execution failed → py27-scipy @1.2.3: Cannot assign type 'void (object) except *' to 'PyCapsule_Destructor' (alias of 'void (*)(object) noexcept'). Exception values are incompatible. |
---|---|
Version: | → 2.9.3 |
Looks like the first error in the log is:
Error compiling Cython file: ------------------------------------------------------------ ... if with_signature: signature = "int (double *, npy_intp, double *, npy_intp, void *)" try: capsule = PyCapsule_New(<void *>_filter1d, signature, _destructor) ^ ------------------------------------------------------------ _cytest.pyx:46:62: Cannot assign type 'void (object) except *' to 'PyCapsule_Destructor' (alias of 'void (*)(object) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_destructor'.
comment:5 Changed 5 months ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Please attach the main.log file.