-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
change to new cython version #839
Conversation
@unoebauer - should we merge? |
I think we should - Travis is happy with both Linux and OSX builds, so I don't see a reason why we shouldn't. We might wait for @Heringer-Epson though to check whether this version works on his local installation. |
@unoebauer - no I removed the OSX build for now. |
I would merge and put a reminder in my phone to check in 3 months to reinclude the OSX build |
Sorry, I missed that the OSX is deactivated. So on OSX the segfault is still triggered? And locally on your OSX build it works? |
@unoebauer it doesn't segfault in the debugger even. I think, I will just disable it for now. |
Sorry for the delay. I will check this today. |
I tried to install the current tardis version with Cython 0.28.4. Still got a segmentation fault. To be clear, I was having trouble checking out the PR 59e625f, so I simply modified the tardis_env27.yml file to uncomment Cython and have it the 0.28.4 version. When I tried to python setup.py install, I got the following error: tardis/simulation/setup_package.py:2: RuntimeWarning: Parent module 'tardis.simulation' not found while handling absolute import |
@Heringer-Epson be sure to delete montecarlo.c (look at it - it will say |
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.
We should merge after we hear back from @Heringer-Epson
@@ -87,15 +88,9 @@ install: | |||
- cd $TRAVIS_BUILD_DIR | |||
- conda env create -f tardis_env27.yml | |||
- source activate tardis | |||
#trouble with building due to segfault at cython (https://github.com/cython/cython/issues/2199) | |||
#remove if we can get normal cython through conda |
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.
Should we leave this in as a comment? This way, we'll know what to do when some strange cython error appears in the future.
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.
That’s why I put it 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 was thinking of keeping the procedure of getting bleeding-edge cython via github and compiling it with custom flags as a comment block and providing some additional information.
Yes, this worked upon trying to rerun the installation. Note, using the conda env suggestion in tardis_env27.yml triggers an error due to Pyqt not being installed (I believe it's required for the gui interface). Installing Pyqt=4.11 on the local env then caused a bunch of packages to be downgraded. |
that's interesting. anyways. I'll merge once I add the manual cython installing instructions 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.
Excellent, exactly what I had in mind
@unoebauer, @scoder
version 0.28.4 should have the right fix in there.
cython/cython#2199