project-gemmi / gemmi

macromolecular crystallography library and utilities
https://project-gemmi.github.io/
Mozilla Public License 2.0
232 stars 46 forks source link

Segfault when importing `gemmi.cif` #297

Closed j-c-c closed 9 months ago

j-c-c commented 9 months ago

Dear devs,

After this latest release I'm running into a segfault using the python gemmi module. This is occurring in github's macOS-11 image environment with python 3.8.

I've set up a stripped down workflow to isolate the error. After successfully installing via pip install gemmi I get a segfault on import gemmi.cif.

I should note that macOS-11 is the only environment where this is occurring.

Thanks for any help with this.

Best, Josh

wojdyr commented 9 months ago

Thanks for letting us know. I just uploaded new wheels for macOS x86_64. Previously, I built them on macOS 13 and they didn't work on macOS 11. No idea why. They were expected to work on 10.9 and later. Now I built them on macOS 12 and they seem to work on all Github runners.

(a note to myself: how to update wheels in PyPI)

j-c-c commented 9 months ago

@wojdyr Thanks for the quick response. All is good on our end now as well.