-
Notifications
You must be signed in to change notification settings - Fork 55
309 make pip test work in m1 mac #310
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #310 +/- ##
=======================================
Coverage 98.74% 98.74%
=======================================
Files 26 26
Lines 1749 1749
Branches 380 380
=======================================
Hits 1727 1727
Misses 2 2
Partials 20 20
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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.
Did you check that this was the only use of glob.glob()
? Any idea why this needs to be changed — it's odd that it would fail on M1?!?
In any case, it's a sensible change, so lgtm (just edited the CHANGES message).
please squash-merge yourself when ready, @xiki-tempula |
@orbeckst Sorry I guess I haven't tried other machines. I haven't tried other machines but it hangs on my M1 Mac. As is said in #309. If I pip install the source it works fine. It only hangs when I upload it to pypi and download it to install. I said it is M1 Mac as I got some other issue happening with M1 Mac in other packages so I suspect it is a M1 Mac issue. |
- fix #311 - In PR #310 (v2.0.1) we changed the behavior of the dir kwarg in ABFE: glob patterns are now part of the prefix kwar. This API change should not have been included in a patch release but because it came very soon after 2.0.0, we kept it. This PR explicitly issues a warning when a glob pattern is used so that subsequent failures (ValueError) are easier to understand. - add warning if glob pattern `*` is used in `dir` - add test - updated docs - update CHANGES
Ok, I got it to work now by changing
glob.glob
toPath.glob
, these two should be the same butPath.glob
works fine.I tried
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple alchemlyb=="2.0.1"
and then
pytest --pyargs alchemlyb
Where all tests passed fine.