-
Notifications
You must be signed in to change notification settings - Fork 21
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
Testing, documentation, and exception handling for Apple Silicon #111
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #111 +/- ##
==========================================
+ Coverage 82.18% 82.24% +0.06%
==========================================
Files 10 10
Lines 1448 1453 +5
Branches 250 293 +43
==========================================
+ Hits 1190 1195 +5
+ Misses 221 220 -1
- Partials 37 38 +1 ☔ View full report in Codecov by Sentry. |
Hi! I assume the job is still only running on Ubuntu. I believe you need to change https://github.com/KingsburyLab/pyEQL/actions/runs/8147303075/job/22267731867?pr=111 |
And macos-14 (the M1 macOS runner) should also be added. If you check https://github.com/KingsburyLab/pyEQL/actions/runs/8158585151/job/22300886092?pr=111, you can see that x86 packages are installed in macos-latest. |
Yes, thanks! Having some trouble getting python to install properly on that runner though. See actions/setup-python#825 |
Could you try to put it in os as well? as in https://github.com/MDAnalysis/mdanalysis/pull/4442/files |
Alright, got the M1 runner added to CI, and added a I will make an update to the docs to mention this limitation shortly. It isn't possible (without significant effort) to get the existing test suite to pass without these methods in place, so I've separated the M1 test into an optional GH action that we can use to keep an eye on this. Do you know if there's a way to mark a Github Action as an "expected failure"? |
I assume you can mark failed tests with |
ce20cb9
to
b8b0705
Compare
Summary
Partially addresses #109 by detecting
OSError
that may result from Apple silicon trying to usephreeqpython
.phreeqpython
and PHREEQC itself do not support ARM64 as far as I can tell, but we can at least detect this situation and allow everything inSolution
that does not depend onphreeqpython
to work.