cmutel / conda-recipes

0 stars 2 forks source link

Make pypardiso optional for MacOS ARM64 installations #6

Open michaelweinold opened 2 years ago

michaelweinold commented 2 years ago

Now that scikit-umfpack has been built for MacOS ARM64, pypardiso can be made optional in the conda recipe for brightway2.

This will likely solve the following issues:

https://github.com/brightway-lca/brightway2/issues/46 https://github.com/brightway-lca/brightway2/issues/44 https://github.com/LCA-ActivityBrowser/activity-browser/issues/705#issuecomment-1032446633

cmutel commented 2 years ago

There are two options to get this fixed. One is, as suggested, to remove the dependency on pypardiso. This would fix the problem; the tradeoff is that our installation command is slightly more complicated, and we impose a cost on all downstream users to release new packages which include a sparse solver.

The other option is to move our conda packaging to conda-forge. This would give us os- and arcitechture-specific builds, but would mean that everything should be moved to conda-forge. This is not a terrible idea, but does come at a cost to me :) Other python packages in the Industrial Ecology space have switched to conda-forge.

cmutel commented 2 years ago

I will try to find someone to port everything, and release _nosolver packages for now.