build pybamm-base with no optional deps#70
Conversation
|
@conda-forge-admin, please rerender |
|
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipe/meta.yaml:
This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12138356499. Examine the logs at this URL for more detail. |
|
Hi! This is the friendly automated conda-forge-webservice. I tried to rerender for you but ran into some issues. Please check the output logs of the GitHub Actions workflow below for more details. You can also ping The following suggestions might help debug any issues:
This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12138363357. Examine the logs at this URL for more detail. |
|
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
|
Great idea, thanks for leading this effort, @Saransh-cpp! Please let me know if you would need help with testing this somehow. Would this approach remain possible with platform-specific recipes later on when we start on #65? Also, tagging @prady0t here from the PyBaMM issue in case he is interested in reviewing 👋 |
|
Tried debugging this for an hour but couldn't get it to run, and now that the hackathon is over, I would only be able to look at the error next week 😢 |
|
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( I do have some suggestions for making it better though... For recipe/meta.yaml:
This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12240964081. Examine the logs at this URL for more detail. |
|
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Saransh-cpp
left a comment
There was a problem hiding this comment.
Note for reviewers: please make sure that I did not miss any dependency 😬
| - {{ pin_subpackage('pybamm-base', exact=True) }} | ||
| # Battery Parameter eXchange format | ||
| - bpx | ||
| # Progress bars | ||
| - tqdm | ||
| # Plotting | ||
| - imageio >=2.3.0 | ||
| - matplotlib-base >=3.6.0 | ||
| # Cite | ||
| - pybtex >=0.24.0 | ||
| # JAX | ||
| - jax 0.4.27 | ||
| - jaxlib 0.4.27 | ||
| # Other dependencies | ||
| - scikit-fem >=8.1.0 | ||
| # - iree-compiler -- not available on conda |
There was a problem hiding this comment.
Everything except dev, docs, and examples.
| - python >={{ python_min }},<{{ python_max }} | ||
| - anytree >=2.8.0 | ||
| - casadi >=3.6.7 | ||
| - posthog >=3.6.5 | ||
| - numpy >=1.23.5,<2.0.0 | ||
| - pandas >=1.5.0 | ||
| - pooch >=1.8.1 | ||
| - scipy >=1.11.4 | ||
| - sympy >=1.12 | ||
| - typing-extensions >=4.10.0 | ||
| - xarray >=2022.6.0 | ||
| - pyyaml | ||
| - platformdirs |
There was a problem hiding this comment.
Required dependencies for pybamm-base.
agriyakhetarpal
left a comment
There was a problem hiding this comment.
Thanks, @Saransh-cpp! I wonder if we can document the fact that the "examples" extra isn't available in conda-forge's PyBaMM distribution and that users should run conda/mamba install -c conda-forge jupyter separately? Also, I think we should update the installation guide upstream about this change in general (and perhaps add an entry to the release notes for the next release as well).
| host: | ||
| - pip | ||
| - python {{ python_min }} | ||
| - setuptools >=64 |
There was a problem hiding this comment.
I think we will also require wheel (note that setuptools injects wheel when building wheels) for setuptools <=70.1.0; we have to list it explicitly because we import it in our setup script to override the bdist_wheel class, so setuptools's injection is not enough. It doesn't fail right now because the extension module isn't being built, but it is going to fail later. Once we bump to the noted setuptools version (I'll open a PR in PyBaMM and tag you there), we will be in a better position. Not something to do here, but we could note it as a comment here for future upgrades :)
|
Thanks for the review!
Yes, I think this would require some work on upstream docs in general. I will open an issue in PyBaMM once this is merged.
Will mention this on slack. |
Checklist
0(if the version changed)conda-smithy(Use the phrase@conda-forge-admin, please rerenderin a comment in this PR for automated rerendering)