Skip to content

[FIX] fix Cython - #3307

Merged
hroest merged 4 commits into
OpenMS:developfrom
hroest:fix/cython
Mar 16, 2018
Merged

hroest merged 4 commits into
OpenMS:developfrom
hroest:fix/cython

Conversation

@hroest

@hroest hroest commented Mar 15, 2018 •

Copy link
Copy Markdown
Contributor

seems like Cython 0.28 creates trouble:

the error logs are full of warnings instead of errors:

warning: /.../OpenMS/src/pyOpenMS/pxds/ControlledVocabulary.pxd:80:8: 'NONE' redeclared

this is potentially because the warnings are reported to stderr instead of stdout ?

@hroest

hroest commented Mar 15, 2018

Copy link
Copy Markdown
Contributor Author

this is a pretty ugly way to fix the problem but it fixes travis

@hroest

hroest commented Mar 15, 2018

Copy link
Copy Markdown
Contributor Author

it seems to fix travis for now, any comments? I suggest we merge first and can discuss potential improvements to the current solution

@hroest
hroest merged commit 28bc4dc into OpenMS:develop Mar 16, 2018
@hroest

hroest commented Mar 16, 2018

Copy link
Copy Markdown
Contributor Author

@timosachsenberg @jpfeuffer any other ideas how to approach this problem? Is there a way we could filter out these stupid warnings, e.g.

COMMAND ${PYTHON_EXECUTABLE} create_cpp_extension.py | grep -v warning 

sounds silly but it may just work :-)

@hroest
hroest deleted the fix/cython branch March 16, 2018 00:57
@hroest hroest mentioned this pull request Mar 16, 2018
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 this pull request may close these issues.

1 participant