Open danielbrown2 opened 11 months ago
Something is indeed going wrong there, but that particular build of scipy 1.11.3 is over a month old and we've had no bug reports about it being broken. So it most likely is related to something else installed in the build env.
Can you please try with cython <3
? Scipy 1.11 is not yet ready for Cython 3, and our 1.11.3 builds were done with 0.29.x as well.
What's confusing me is that our main project CI running Apple silicon macos runners on Gitlab SaaS seem ok. All the build and tests pass for making a wheel which is done with conda-forge packages:
https://gitlab.com/ifosim/finesse/finesse3/-/jobs/5577026130
+ cython 3.0.5 py310hd5a4765_0 conda-forge/osx-arm64 3MB
+ scipy 1.11.3 py310hd1cfc7d_1 conda-forge/osx-arm64 14MB
which are the same versions I mention in the first post.
Limiting it to less than Cython 3 still results in the same error:
Which also has now started using Scipy 1.11.4-py310h2b794db_0. This isn't feeling like a scipy package issue to me...
I noticed the numpy version was different, our CI was running 1.26, but fixing that to 1.22.4 works fine with this same scipy package.
Solution to issue cannot be found in the documentation.
Issue
I'm having some issues with the Apple silicon scipy package for my conda-forge feedstock CI and I am struggling to see how to fix it. All the other OSes run fine, including MacOS Intel. Some maybe relevant versions:
It fails for Python 3.9, 3.10, and 3.11.
https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=827833&view=logs&j=15f8dc28-9f6f-5e3a-5b3c-2b169071e5be&t=63fa899e-c160-5185-75c4-c5fd30c90374&l=235
The
ImportError: cannot import name '_ccallback_c'
looking around online seems to be from an improperly installed package, but considering the CI is installing all of this from scratch I don't see how that applies here.The conda forge package I'm trying to build is a more complicated one using Cython. I tried lower versions of scipy, 1.11 and 1.10 and Cython 0.29 and 3 but I get the same error.
Any tips on things to try/check would be appreciated!
Installed packages
Environment info