X-DataInitiative / tick

Module for statistical learning, with a particular emphasis on time-dependent modelling
https://x-datainitiative.github.io/tick/
BSD 3-Clause "New" or "Revised" License
484 stars 105 forks source link

call import_array statically for linux/mac #401

Closed PhilipDeegan closed 4 years ago

PhilipDeegan commented 4 years ago

fixes https://github.com/X-DataInitiative/tick/issues/400 and https://github.com/X-DataInitiative/tick/issues/397

PhilipDeegan commented 4 years ago

this resolves the segfault in the "repaired" wheel, but it doesn't resolve the reason for the repair leading to the segfault

MaryanMorel commented 4 years ago

Segfault is still creeping around apparently (see Travis logs)

PhilipDeegan commented 4 years ago

Segfault is still creeping around apparently (see Travis logs)

I hope this isn't the same thing that is affecting windows with 3.7

edit: although segfaults are much easier to diagnose on linux so maybe this is a good thing?

Edit 2.0: Segfault reproduced on ubuntu, but not on Debian.