-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Required dependencies for pybamm-base
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 rerender
in a comment in this PR for automated rerendering)