Uh oh!
There was an error while loading. Please reload this page.
Adding grpcio to setup.py as an extra. - #1553
Conversation
theacodes
commented
Mar 1, 2016
Would it make sense to make this an extra? |
tseaver
commented
Mar 1, 2016
I like the idea of the extra: users can make perfectly valid use of |
dhermes
commented
Mar 1, 2016
👍 I like the idea. Then we'd have for people that want to use gRPC? @jgeewax Please weigh in |
theacodes
commented
Mar 1, 2016
Actually I think it's better for the extra to the the part of this library that requires extra dependencies. So IMO it should be |
dhermes
commented
Mar 1, 2016
But in the not-too-distant future |
theacodes
commented
Mar 1, 2016
Hmm. Fair point. I'm unsure. It seems that right now grpc doesn't have a good install story (unless that's recently changed). One part of me is leaning on having grpc remain an "extra" (in one way or another) until the install story improves or the tipping point where most clients in this library use grpc. @jgeewax what do you think? |
dhermes
commented
Mar 2, 2016
|
theacodes
commented
Mar 2, 2016
That's fair, I suppose. Are any os-level dependencies needed other than just |
dhermes
commented
Mar 2, 2016
No idea. @nathanielmanistaatgoogle do you know who might be able to chime in? |
jgeewax
commented
Mar 2, 2016
I don't think even |
theacodes
commented
Mar 2, 2016
Cool, SGTM. |
dhermes
commented
Mar 2, 2016
I'm about to test it on bare GCE Debian and Ubuntu images. |
dhermes
commented
Mar 2, 2016
Seems to work on Ubuntu: $ sudo apt-get update
$ sudo apt-get -y upgrade
$ curl -O https://bootstrap.pypa.io/get-pip.py
$ sudo python get-pip.py
$ sudo -H pip install --upgrade pip
$ sudo -H pip install 'grpcio==0.13.0'# FAILURE: https://gist.github.com/dhermes/f3cc291bb289ae69c86d
$ sudo -H pip install --upgrade six
$ sudo -H pip install 'grpcio==0.13.0'
$ # SUCCESS!
$ dpkg -s build-essential
dpkg-query: package 'build-essential' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents. |
dhermes
commented
Mar 2, 2016
Confirmed it works (with the same funky |
grpcio can only be installed with Python 2.7, so the py27 tox environment is the only one that doesn't need to run without mocks.
| python2.7 | ||
| deps = | ||
| {[testenv]deps} | ||
| grpcio >= 0.13.0 |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
dhermes
commented
Mar 2, 2016
@tseaver PTAL. Updated to make it an extra. |
tseaver
commented
Mar 3, 2016
LGTM |
Adding grpcio to setup.py as an extra.
tseaver
commented
Mar 4, 2016
grpc 0.13.0 is broken on UCS2 versions of python 2.7 (which you get when you build Python 2.x from source). We should drop testing with it in tox until they make a release with the fix. |
dhermes
commented
Mar 4, 2016
@tseaver can you file an issue? I'm AFK right now |
tseaver
commented
Mar 4, 2016
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
* hotfix: handle case when expirationMs is None * Add test for unsetting table exp * Update tests/unit/test_table.py * Update exp_resource for the unsetting_exp test --------- Co-authored-by: Tim Swast <swast@google.com>
* refactor: change window package to module to simplify code structure * move Window to window/rolling.py to mimic pandas structure
grpciocan only be installed with Python 2.7, so thepy27tox environment is the only one that doesn't need to run without mocks.FYI @jgeewax the
grpcioinstall fails on Python 2.6 and 3.4 (didn't try 3.5).grpciobut will at least install it. I tried to tackle but can't write faithful powershell without a test machineattempt_system_tests.py