Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

bblfsh client-python failed to install on mac since grpcio new release 1.10 #78

Closed
zurk opened this issue Mar 2, 2018 · 4 comments
Closed
Assignees
Labels

Comments

@zurk
Copy link
Contributor

zurk commented Mar 2, 2018

the release was today: https://github.com/grpc/grpc/releases/tag/v1.10.0
issue: grpc/grpc#14573

run:

mkdir test
cd test
virtualenv -p python3 .venv-py3
source .venv-py3/bin/activate
pip install bblfsh

you will get an error from grpcio installation:

Command "/Users/k/test/.venv-py3/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/private/var/folders/v5/3pvllllj4l1dvx7s_2qkq0_40000gn/T/pip-build-y50usx77/grpcio/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/v5/3pvllllj4l1dvx7s_2qkq0_40000gn/T/pip-5owjmdjl-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/k/test/.venv-py3/bin/../include/site/python3.6/grpcio" failed with error code 1 in /private/var/folders/v5/3pvllllj4l1dvx7s_2qkq0_40000gn/T/pip-build-y50usx77/grpcio/

full log file:
grpcio.logs.zip

I can suggest fixing grpcio package version. I am also fine with any other solution, let's discuss.

@juanjux
Copy link
Contributor

juanjux commented Mar 2, 2018

Just did a PR (linked above) to fix the version to 1.9.1 (1.10.0 works on my Ubuntu, tough).

@juanjux
Copy link
Contributor

juanjux commented Mar 2, 2018

@zurk package 2.9.1 with the fixed dependency to the previous version is in pypi.

@mehrdada
Copy link

mehrdada commented Mar 2, 2018

gRPC 1.10 macOS binary wheels were not generated by our build infra for some reason and were missing on PyPI and that caused macOS clients to try to build from source, some of which would fail because they did not have the toolchain dependencies installed. They are uploaded now. Should no longer need to pin the version.

@juanjux
Copy link
Contributor

juanjux commented Mar 2, 2018

@mehrdada thanks, I'll pin version 1.10 soon then.

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

No branches or pull requests

3 participants