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

Doesn't build with Cython 0.22 #15

Open
qiemem opened this issue Feb 23, 2015 · 8 comments
Open

Doesn't build with Cython 0.22 #15

qiemem opened this issue Feb 23, 2015 · 8 comments

Comments

@qiemem
Copy link

qiemem commented Feb 23, 2015

Fails with

python setup.py install
Traceback (most recent call last):
  File "setup.py", line 87, in <module>
    "smoke/replay/ticker.pyx"
  File "/usr/local/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 754, in cythonize
    aliases=aliases)
  File "/usr/local/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 649, in create_extension_list
    for file in nonempty(extended_iglob(filepattern), "'%s' doesn't match any files" % filepattern):
  File "/usr/local/lib/python2.7/site-packages/Cython/Build/Dependencies.py", line 103, in nonempty
    raise ValueError(error_msg)
ValueError: 'smoke/io/const.pyx' doesn't match any files

Seen on both OS X Mavericks and Yosemite, though I guess it's probably a change in Cython's dependency handling.

I think I got around it by renaming smoke/io/const.py to smoke/io/const.pyx and commenting out line 59 in setup.py (that's "smoke/replay/decoder/recv_prop/factory.pyx",), but haven't been able to test much yet. I'll probably just downgrade cython to be sure.

@victorgan
Copy link

Same issue in Ubuntu 14.04.

@Noxville
Copy link

Removing the files that setup.py breaks on can work, but might have bad side effects.

@lukerobert
Copy link

I'm having the same issue. Is qiemem's solution the best way to get around this for now?

@yuankaiz
Copy link

yuankaiz commented Jul 1, 2015

same problem here in Ubuntu 14.04.
Anyone has any ideas?
I followed @victorgan 's way, seemed working for now.

@lukerobert
Copy link

the solution that ended up working for me was downgrading cython. It was a couple months ago now but iirc that made it work without editing any of the smoke files.

@yuankaiz
Copy link

yuankaiz commented Jul 1, 2015

@lukerobert So which cython version did you downgraded to?

@lukerobert
Copy link

I downgraded to 0.21

@dmaii dmaii mentioned this issue Jul 22, 2015
@EvO-E
Copy link

EvO-E commented Jul 16, 2018

Yep downgrading to cython 0.21 solves it.

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

No branches or pull requests

6 participants