Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.
This repository was 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

Description

@zurk

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.

Activity

  1. self-assigned this
    on Mar 2, 2018
  2. juanjux commented on Mar 2, 2018

    @juanjux
    Contributor

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

  3. juanjux commented on Mar 2, 2018

    @juanjux
    Contributor

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

  4. mehrdada commented on Mar 2, 2018

    @mehrdada

    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.

  5. juanjux commented on Mar 2, 2018

    @juanjux
    Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions