pybamm-team / PyBaMM

Fast and flexible physics-based battery models in Python
https://www.pybamm.org/
BSD 3-Clause "New" or "Revised" License
1.11k stars 546 forks source link

Possible to split optional and required dependencies on conda #4342

Open Saransh-cpp opened 2 months ago

Saransh-cpp commented 2 months ago

See how hist splits its installation as hist_base (with required dependencies) and hist (with all the optional dependencies) -

https://github.com/conda-forge/hist-feedstock/blob/33fb4d946e7f9672c6b448b65ff199adcabdb8d1/recipe/meta.yaml#L15-L59

agriyakhetarpal commented 2 months ago

Another possible medium task for someone who does this is to compile the IDAKLU solver for PyBaMM in conda-forge since we currently ship without it. I shall open a new issue about this, though.