Skip to content
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

Travis-CI failure: python 3.5 segmentation fault #27

Closed
mroberge opened this issue May 16, 2018 · 3 comments · Fixed by #28
Closed

Travis-CI failure: python 3.5 segmentation fault #27

mroberge opened this issue May 16, 2018 · 3 comments · Fixed by #28

Comments

@mroberge
Copy link
Owner

  • HydroFunctions version: 0.1.6 all branches
  • Python version: 3.5
  • Operating System: Linux (Travis-ci build)
  • Travis Job #184

Description

Travis-ci suddenly exits during the first test with a segmentation fault. This does not affect Python 3.4 or 3.6.

What I Did

python setup.py test

...
running build_ext
test_charts_cycleplot_exists (tests.test_charts.TestCyclePlot) ... /home/travis/.travis/job_stages: line 57:  1794 Segmentation fault      (core dumped) python setup.py test
@mroberge
Copy link
Owner Author

I required typing==3.6.4 and this didn't affect the errors in my 3.5 build #186 from the segmentation fault described above in 184.2. See commit e587fb5

mroberge added a commit that referenced this issue May 17, 2018
See Issue #27 for details.
I am using other branches to find a better solution.
@mroberge
Copy link
Owner Author

I updated the Develop branch with the following fixes in commit bd30b73:

  • don't upgrade from Pandas 0.22.0 to 0.23.0
    - runs with Pandas 0.23.0 included ended with RecursionErrors
    - using the old Pandas fixes the Python 3.6 build
    - Python 3.4 never used Pandas 0.23.0, and it was always able to build.
    - Python 3.5 still doesn't pass: It now reaches the tests though, but gets a segmentation fault.
  • Don't test for Python 3.5
    - python setup.py test errors out due to a Segmentation Fault (described above)
    - pytest errors during tests because it can't import matplotlib.

You can see the results in TravisCI build #190

I'm still working on this issue in the require-old-pandas22 branch.
The remove-draw-map branch wasn't successful at fixing anything. It can be deleted.

@mroberge
Copy link
Owner Author

I finally resolved this issue by not including Seaborn and Bokeh in my build. I have no idea why this worked; the errors never mention seaborn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant