-
Notifications
You must be signed in to change notification settings - Fork 80
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
Fix Ruby 2.3 homebrew issue #392
Conversation
There is currently an issue where homebrew will always fail due to an issue with ruby. Forcing homebrew to update before installing any packages fixes this issue.
rvm apparently has some issues that use missing osx functions checking out a later version should fix
.travis.yml
Outdated
@@ -25,10 +27,10 @@ install: | |||
- conda config --add channels mosdef | |||
- conda create -n test-environment python=$PYTHON_VERSION --file requirements.txt | |||
- source activate test-environment | |||
- pip install -e . | |||
- python setup.py install |
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.
This really shouldn't be the issue here. The brew/rvm fixes were all that foyer needed, correct?
.travis.yml
Outdated
|
||
script: | ||
- py.test -v --cov=mbuild --cov-report= --pyargs mbuild | ||
- python -m pytest -v --cov=mbuild --cov-report= --pyargs mbuild |
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.
Ditto 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.
I thought so, however, our OSX builds are still failing. It is related to pytest
. These were ways to attempt to pin down the cause for failure.
A SIGABRT is happening here and although the tests pass on my machine, we cannot figure out what is causing this to fail on Travis.
https://travis-ci.org/mosdef-hub/mbuild/jobs/293851164
Here is a link to one of these instances. Have you encountered this before?
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.
Brief googling seems to hint at issues specific to python3.5 on travis OSX, perhaps memory related.
This reverts commit 93d3d64.
* Add edge buffer in packing functions * Support aspect ratio for generated boxes * Start working with compound_ratio * Support compound_ratio and add test * Cleanup * Actually build n_compounds and test it * Ensure n_compounds contains ints if list * Add docstrings for packing functions * Test for bad combinations of input parameters * Raise an error if compound and n_compounds are of different len * Add optional flag for writing packmol output * Copy packmol PDB directly; don't write from mbuild compound * First attempt at handling packmol errors * Reorder arguments to match previous versions * Force ruby 2.3 for homebrew (#392) * Test packmol error and warning * Small requested fixes * Add _run_packmol helper function and rework tempfile * Add new arguments to some docstrings * Add _check_packmol helper function * Test temp_file behavior in each packing function * Cleanup some docstrings * Cleanup in fill_region: applying edge buffer & docstrings
* Add edge buffer in packing functions * Support aspect ratio for generated boxes * Start working with compound_ratio * Support compound_ratio and add test * Cleanup * Actually build n_compounds and test it * Ensure n_compounds contains ints if list * Add docstrings for packing functions * Test for bad combinations of input parameters * Raise an error if compound and n_compounds are of different len * Add optional flag for writing packmol output * Copy packmol PDB directly; don't write from mbuild compound * First attempt at handling packmol errors * Reorder arguments to match previous versions * Force ruby 2.3 for homebrew (#392) * Test packmol error and warning * Small requested fixes * Add _run_packmol helper function and rework tempfile * Add new arguments to some docstrings * Add _check_packmol helper function * Test temp_file behavior in each packing function * Cleanup some docstrings * Cleanup in fill_region: applying edge buffer & docstrings
There is currently an issue where homebrew will always fail due to an
issue with ruby. Forcing homebrew to update before installing any
packages fixes this issue.