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

Cannot install for current CPython HEAD / devel for macOS #117

Open
Kentzo opened this issue Dec 30, 2017 · 6 comments
Open

Cannot install for current CPython HEAD / devel for macOS #117

Kentzo opened this issue Dec 30, 2017 · 6 comments

Comments

@Kentzo
Copy link

Kentzo commented Dec 30, 2017

See https://travis-ci.org/GreatFruitOmsk/nativeconfig/jobs/323100161 and https://travis-ci.org/GreatFruitOmsk/nativeconfig/jobs/323100162 for complete logs.

@ecederstrand
Copy link

ecederstrand commented Jan 26, 2018

Similar issue on Linux (gcc instead of clang): https://travis-ci.org/ecederstrand/exchangelib/jobs/333717892

@ecederstrand
Copy link

298e079 fixes this for me

@tacaswell
Copy link

The underlying issue is that the internals of cpython changed so the c code emitted by cython has changed (see cython/cython#1955 ) and the tarball on pypi has the pre-cythonized c code.

Re-cythonizing will also fix the problem, is there a way to do that when installing from pip install pyyaml?

@ssbarnea
Copy link

That should probably be closed

@tacaswell
Copy link

Does the sdist still include pre-cythonized output?

@ecederstrand
Copy link

@tacaswell For CPython HEAD, I just install from pyyaml HEAD: python -m pip install git+https://github.com/yaml/pyyaml.git. That installs via setup.py and runs the build_ext needed to cythonize. It's worked consistently in my CI pipeline the last four years.

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

4 participants