Skip to content

Conversation

@wchargin
Copy link
Contributor

@wchargin wchargin commented Oct 24, 2019

Summary:
We depend on grpc.local_server_credentials, which was added in 1.24.0.
Installing the Pip package into a fresh virtualenv generally picks this
up, because the grpcio >= 1.6.3 will install the latest version, but
that won’t suffice for virtualenvs that already have an old version
installed. We now explicitly depend on 1.24.3.

Travis wasn’t seeing this problem because the grpcio-testing dep pulls
in a matching version of grpcio.

Test Plan:
Create a new virtualenv and install grpcio==1.16.0 (e.g.) into it.
Then, install the TensorBoard Pip package. Run

python -c 'import grpc; print(grpc.local_server_credentials)'

and note that this now passes instead of failing with AttributeError.

wchargin-branch: grpcio-1.24.3

Summary:
We depend on `grpc.local_server_credentials`, which was added in 1.24.0.
Installing the Pip package into a fresh virtualenv generally picks this
up, because the `grpcio >= 1.6.3` will install the latest version, but
that won’t suffice for virtualenvs that already have an old version
installed. We now explicitly depend on `1.24.3`.

Travis wasn’t seeing this problem because the `grpcio-testing` dep pulls
in a matching version of `grpcio`.

Test Plan:
None.

wchargin-branch: grpcio-1.24.3
@wchargin wchargin requested a review from nfelt October 24, 2019 02:04
@wchargin wchargin merged commit b4cde64 into master Oct 24, 2019
@wchargin wchargin deleted the wchargin-grpcio-1.24.3 branch October 24, 2019 05:05
wchargin added a commit to wchargin/tensorboard that referenced this pull request Oct 29, 2019
Summary:
We depend on `grpc.local_server_credentials`, which was added in 1.24.0.
Installing the Pip package into a fresh virtualenv generally picks this
up, because the `grpcio >= 1.6.3` will install the latest version, but
that won’t suffice for virtualenvs that already have an old version
installed. We now explicitly depend on `1.24.3`.

Travis wasn’t seeing this problem because the `grpcio-testing` dep pulls
in a matching version of `grpcio`.

Test Plan:
Create a new virtualenv and install `grpcio==1.16.0` (e.g.) into it.
Then, install the TensorBoard Pip package. Run

```
python -c 'import grpc; print(grpc.local_server_credentials)'
```

and note that this now passes instead of failing with `AttributeError`.

wchargin-branch: grpcio-1.24.3
@wchargin wchargin mentioned this pull request Oct 29, 2019
wchargin added a commit that referenced this pull request Oct 29, 2019
Summary:
We depend on `grpc.local_server_credentials`, which was added in 1.24.0.
Installing the Pip package into a fresh virtualenv generally picks this
up, because the `grpcio >= 1.6.3` will install the latest version, but
that won’t suffice for virtualenvs that already have an old version
installed. We now explicitly depend on `1.24.3`.

Travis wasn’t seeing this problem because the `grpcio-testing` dep pulls
in a matching version of `grpcio`.

Test Plan:
Create a new virtualenv and install `grpcio==1.16.0` (e.g.) into it.
Then, install the TensorBoard Pip package. Run

```
python -c 'import grpc; print(grpc.local_server_credentials)'
```

and note that this now passes instead of failing with `AttributeError`.

wchargin-branch: grpcio-1.24.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants