-
-
Notifications
You must be signed in to change notification settings - Fork 563
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
Extend pybamm_install_odes
to include support for macOS systems
#3417
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #3417 +/- ##
===========================================
- Coverage 99.59% 99.59% -0.01%
===========================================
Files 258 258
Lines 20797 20796 -1
===========================================
- Hits 20712 20711 -1
Misses 85 85 ☔ View full report in Codecov by Sentry. |
Seems like we were testing |
I don't remember exactly but it might be because of we wanted to cut time in CI or just might have forgotten to have a session for odes. Edit: I can make the same nox session again to test them. |
5e8d33e
to
7018c19
Compare
Co-authored-by: Agriya Khetarpal <[email protected]>
Co-authored-by: Agriya Khetarpal <[email protected]>
Thanks @agriyakhetarpal, waiting on tests to pass the initial steps and then fail while installing odes to observe logs. |
It looks like it worked without any additional configuration (just like it did for me locally). Is there an error in specific that we should reproduce to see if it is robust enough? Edit: similar to #2973, we can try installing an older version of SUNDIALS and check if it fails on macOS and GNU/Linux We could refactor the script a bit and add some additional configuration (since this entry point is for user installations, it would be wise to add
|
We should also run |
I will test the changes locally in a moment after removing my local installation of SUNDIALS |
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.
Tested locally without a pip-cached scikits.odes
wheel and without SUNDIALS installed via Homebrew nor present in ~/.local/
and it works, thanks, @arjxn-py! I left a few comments, feel free to address.
@Saransh-cpp, I remember you were having problems with getting scikits.odes
to work on your machine before, could you test this and see if it works?
Feel free to add some of the un-fixable broken links to the |
Most of them are due to file rename which I hope should be fixed except this one, let me know how should i go with this. |
It can be added to |
Added the non-fixable one in |
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 realised I missed reading through the workflow so I have a few comments. Could you please run it on your fork once and add a link to the logs here?
I think we can leave wget
as-is for this PR. We can look into removing it in #3651 together after this gets merged. Could you resolve the conflicts here?
59d4401
to
96d63de
Compare
Co-authored-by: Agriya Khetarpal <[email protected]>
Here's the link to the workflow run on the respective branch, waiting for tests to pass. |
Those failing example tests on linux are unrelated, right? |
Yes, opening a new issue about them |
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.
Looks good, thanks for picking this up, @arjxn-py!
Co-authored-by: Saransh Chopra <[email protected]>
Description
Fixes #3404
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.
Key checklist:
$ pre-commit run
(or$ nox -s pre-commit
) (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)$ python run-tests.py --all
(or$ nox -s tests
)$ python run-tests.py --doctest
(or$ nox -s doctests
)You can run integration tests, unit tests, and doctests together at once, using
$ python run-tests.py --quick
(or$ nox -s quick
).Further checks: