Uh oh!
There was an error while loading. Please reload this page.
Install gRPC et al for testing except py26/lint/docs-rtd - #1943
Conversation
tseaver
commented
Jun 29, 2016
I'm going to go ahead with 0.17.0 without this one. |
dhermes
commented
Jun 29, 2016
Changes look mostly good. Failures caused by what? |
tseaver
commented
Jun 29, 2016
Ugh, no idea -- I can't reproduce on my Ubuntu Trusty machine here. "Two hard things in computer science: caching, naming things, and off-by-one errors." |
@tseaver it did the same thing to me on OSX, someone reported it here and I opened an issue on grpc. I believe grpc needs to do a release before this works again. How I reproduce the issue. I made a virtualenv with py34. mkvirtualenv -p /usr/local/bin/python3.4 test-multi
python setup.py install
pip install tox
tox -e py34Key points from the log output that it mentions in the error... |
daspecster
commented
Jul 13, 2016
@tseaver, should we just close this for now and hope that future |
tseaver
commented
Jul 13, 2016
I think we want to be where this PR is (the rationalize |
- Install 'grpcio' and related deps by default, and omit adding '_testing' to PYTHONPATH. - For Python 2.6, and lint, RTD, suppress installing gRPC-related deps, and add '_testing' to PYTHONPATH.
Also, pin GAX/GRPC libraries to avoid future breaking changes.
tseaver
commented
Jul 21, 2016
@dhermes, @daspecster I rebased to fix conflicts, and also updated the version pins for the gRPC-related dependencies to reflect today's grpcio-1.0rc1 release, as well as comments from @bjwatson on potential future breaking changes for the GAX libraries. |
tseaver
commented
Jul 21, 2016
Woohoo! Travis is happy, at least for the PR. |
| {[testing]deps} | ||
| {[grpc]deps} | ||
| [testenv:py26] |
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.
tseaver
commented
Jul 22, 2016
@dhermes, @daspecster any remaining issues? |
| python2.7 | ||
| [docs] | ||
| deps = | ||
| {[testenv]deps} |
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
Jul 22, 2016
LGTM |
| 'gax-google-pubsub-v1 >= 0.7.12, < 0.8dev', | ||
| 'grpc-google-pubsub-v1 >= 0.7.12, < 0.8dev', | ||
| 'gax-google-logging-v2 >= 0.7.12, < 0.8dev', | ||
| 'grpc-google-logging-v2 >= 0.7.12, < 0.8dev', |
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.
Some google3 tests were failing due to timeouts. It seems like there were some tests that preformed up to 10 retries, with exponential backoff between each one This PR mocks out sleep, so these tests will complete ~ instantly, rather than > 10 mins --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This updates tests to use `max_iterations` rather than `max_iteration` which was an alpha option. Related: b/344469351
* docs: add code snippet for storing dataframes to a CSV file * fix lint * fix more lint
Rationalize tox vs. gRPC:
grpcioand related deps by default, and omit adding_testingto PYTHONPATH._testingto PYTHONPATH.Bump minimum version for
grpcioto 0.15.0.Fix up Py3k failures with
grpcioinstalled.@daspecster, @dhermes Maybe this should land before 0.17.0?