Skip to content

Commit

Permalink
Need to install from local deps first.
Browse files Browse the repository at this point in the history
The `pip install --upgrade` still is needed to ensure
freshness but by removing the filesystem paths from deps
we made the initial install grab from PyPI (by mistake).
This way, all local package deps are grabbed from
the local filesystem.
  • Loading branch information
dhermes committed Nov 14, 2016
1 parent ab5c2bd commit 066a199
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 35 deletions.
5 changes: 2 additions & 3 deletions bigquery/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ envlist =
localdeps =
pip install --quiet --upgrade {toxinidir}/../core
deps =
pytest
{toxinidir}/../core
mock
pytest
covercmd =
py.test --quiet \
--cov=google.cloud.bigquery \
Expand All @@ -17,7 +18,6 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -26,7 +26,6 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down
3 changes: 1 addition & 2 deletions bigtable/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ envlist =
localdeps =
pip install --quiet --upgrade {toxinidir}/../core
deps =
{toxinidir}/../core
pytest
covercmd =
py.test --quiet \
Expand All @@ -16,7 +17,6 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -25,7 +25,6 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down
5 changes: 2 additions & 3 deletions datastore/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ envlist =
localdeps =
pip install --quiet --upgrade {toxinidir}/../core
deps =
pytest
{toxinidir}/../core
mock
pytest
covercmd =
py.test --quiet \
--cov=google.cloud.datastore \
Expand All @@ -17,7 +18,6 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -26,7 +26,6 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down
3 changes: 1 addition & 2 deletions dns/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ envlist =
localdeps =
pip install --quiet --upgrade {toxinidir}/../core
deps =
{toxinidir}/../core
pytest
covercmd =
py.test --quiet \
Expand All @@ -16,7 +17,6 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -25,7 +25,6 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down
4 changes: 2 additions & 2 deletions error_reporting/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ localdeps =
{toxinidir}/../core \
{toxinidir}/../logging
deps =
{toxinidir}/../core
{toxinidir}/../logging
pytest
covercmd =
py.test --quiet \
Expand All @@ -18,7 +20,6 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -27,7 +28,6 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down
3 changes: 1 addition & 2 deletions language/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ envlist =
localdeps =
pip install --quiet --upgrade {toxinidir}/../core
deps =
{toxinidir}/../core
pytest
covercmd =
py.test --quiet \
Expand All @@ -16,7 +17,6 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -25,7 +25,6 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down
5 changes: 2 additions & 3 deletions logging/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ envlist =
localdeps =
pip install --quiet --upgrade {toxinidir}/../core
deps =
pytest
{toxinidir}/../core
mock
pytest
covercmd =
py.test --quiet \
--cov=google.cloud.logging \
Expand All @@ -17,7 +18,6 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -26,7 +26,6 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down
3 changes: 1 addition & 2 deletions monitoring/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ envlist =
localdeps =
pip install --quiet --upgrade {toxinidir}/../core
deps =
{toxinidir}/../core
pytest
covercmd =
py.test --quiet \
Expand All @@ -16,7 +17,6 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -26,7 +26,6 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testing]deps}
Expand Down
5 changes: 2 additions & 3 deletions pubsub/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ envlist =
localdeps =
pip install --quiet --upgrade {toxinidir}/../core
deps =
pytest
{toxinidir}/../core
mock
pytest
covercmd =
py.test --quiet \
--cov=google.cloud.pubsub \
Expand All @@ -17,7 +18,6 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -26,7 +26,6 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down
3 changes: 1 addition & 2 deletions resource_manager/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ envlist =
localdeps =
pip install --quiet --upgrade {toxinidir}/../core
deps =
{toxinidir}/../core
pytest
covercmd =
py.test --quiet \
Expand All @@ -16,7 +17,6 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -25,7 +25,6 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down
3 changes: 1 addition & 2 deletions runtimeconfig/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ envlist =
localdeps =
pip install --quiet --upgrade {toxinidir}/../core
deps =
{toxinidir}/../core
pytest
covercmd =
py.test --quiet \
Expand All @@ -16,7 +17,6 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -25,7 +25,6 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down
3 changes: 1 addition & 2 deletions speech/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ envlist =
localdeps =
pip install --quiet --upgrade {toxinidir}/../core
deps =
{toxinidir}/../core
pytest
covercmd =
py.test --quiet \
Expand All @@ -16,7 +17,6 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -25,7 +25,6 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down
5 changes: 2 additions & 3 deletions storage/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ envlist =
localdeps =
pip install --quiet --upgrade {toxinidir}/../core
deps =
pytest
{toxinidir}/../core
mock
pytest
covercmd =
py.test --quiet \
--cov=google.cloud.storage \
Expand All @@ -17,7 +18,6 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -26,7 +26,6 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down
3 changes: 1 addition & 2 deletions translate/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ envlist =
localdeps =
pip install --quiet --upgrade {toxinidir}/../core
deps =
{toxinidir}/../core
mock
pytest
covercmd =
Expand All @@ -17,7 +18,6 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -26,7 +26,6 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down
3 changes: 1 addition & 2 deletions vision/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ envlist =
localdeps =
pip install --quiet --upgrade {toxinidir}/../core
deps =
{toxinidir}/../core
pytest
covercmd =
py.test --quiet \
Expand All @@ -16,7 +17,6 @@ covercmd =

[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
Expand All @@ -25,7 +25,6 @@ deps =
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
Expand Down

0 comments on commit 066a199

Please sign in to comment.