Skip to content

Commit

Permalink
Merge pull request #1697 from tseaver/1527-restore_grpc_for_py27_testing
Browse files Browse the repository at this point in the history
Restore 'grpc' extra for testing on Python 2.7.
  • Loading branch information
tseaver committed Apr 5, 2016
2 parents 71d2845 + 4846f86 commit 188515f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
'pyOpenSSL',
'six',
]
GRPC_EXTRAS = ['grpcio >= 0.13.0']
GRPC_EXTRAS = ['grpcio >= 0.13.1']

setup(
name='gcloud',
Expand Down
24 changes: 10 additions & 14 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,20 @@ covercmd =
--cover-branches \
--nocapture

# Until grpcio 0.13.1 ships, this environment is broken on UCS2 builds.
# See: https://github.com/grpc/grpc/issues/5280 and
# https://github.com/grpc/grpc/pull/5319
#[testenv:py27]
#basepython =
# python2.7
#deps =
# {[testenv]deps}
# grpcio >= 0.13.0
#setenv =
# PYTHONPATH =
[testenv:py27]
basepython =
python2.7
commands =
pip install gcloud[grpc]
nosetests
setenv =
PYTHONPATH =

[testenv:cover]
basepython =
python2.7
commands =
pip install gcloud[grpc]
{[testenv]covercmd} --cover-min-percentage=100
deps =
{[testenv]deps}
Expand Down Expand Up @@ -98,12 +96,10 @@ passenv = {[testenv:system-tests]passenv}
basepython =
python2.7
commands =
pip install gcloud[grpc]
python {toxinidir}/system_tests/attempt_system_tests.py
setenv =
PYTHONPATH =
deps =
{[testenv]deps}
grpcio >= 0.13.0
passenv = GOOGLE_* GCLOUD_* TRAVIS* encrypted_*

[testenv:system-tests3]
Expand Down

0 comments on commit 188515f

Please sign in to comment.