8000 Update testing to use Python 3.6 (#1111) · howinator/python-docs-samples@ec5bbad · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit ec5bbad

Browse files
author
Jon Wayne Parrott
authored
Update testing to use Python 3.6 (GoogleCloudPlatform#1111)
Change-Id: I33e152ff826cd2fac966e420d8251f4c43cc3648
1 parent 9752362 commit ec5bbad

29 files changed

+33
-33
lines changed

.kokoro/system_tests_appengine_flexible.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "py35 and flexible"
14+
value: "py36 and flexible"
1515
}

.kokoro/system_tests_auth.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "auth and py35 and not appengine"
14+
value: "auth and py36 and not appengine"
1515
}

.kokoro/system_tests_bigquery.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "bigquery and py35 and not appengine"
14+
value: "bigquery and py36 and not appengine"
1515
}

.kokoro/system_tests_bigtable.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "bigtable and py35 and not appengine"
14+
value: "bigtable and py36 and not appengine"
1515
}

.kokoro/system_tests_compute.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "compute and py35 and not appengine"
14+
value: "compute and py36 and not appengine"
1515
}

.kokoro/system_tests_container_engine.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "container_engine and py35 and not appengine"
14+
value: "container_engine and py36 and not appengine"
1515
}

.kokoro/system_tests_dataproc.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "dataproc and py35 and not appengine"
14+
value: "dataproc and py36 and not appengine"
1515
}

.kokoro/system_tests_datastore.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "datastore and py35 and not appengine"
14+
value: "datastore and py36 and not appengine"
1515
}

.kokoro/system_tests_dns.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "dns and py35 and not appengine"
14+
value: "dns and py36 and not appengine"
1515
}

.kokoro/system_tests_endpoints.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "endpoints and py35 and not appengine"
14+
value: "endpoints and py36 and not appengine"
1515
}

.kokoro/system_tests_error_reporting.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "error_reporting and py35 and not appengine"
14+
value: "error_reporting and py36 and not appengine"
1515
}

.kokoro/system_tests_iap.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "iap and py35 and not appengine"
14+
value: "iap and py36 and not appengine"
1515
}

.kokoro/system_tests_iot.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "iot and py35 and not appengine"
14+
value: "iot and py36 and not appengine"
1515
}

.kokoro/system_tests_kms.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "kms and py35 and not appengine"
14+
value: "kms and py36 and not appengine"
1515
}

.kokoro/system_tests_language.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "language and py35 and not appengine"
14+
value: "language and py36 and not appengine"
1515
}

.kokoro/system_tests_logging.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "logging and py35 and not appengine"
14+
value: "logging and py36 and not appengine"
1515
}

.kokoro/system_tests_ml_engine.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "ml_engine and py35 and not appengine"
14+
value: "ml_engine and py36 and not appengine"
1515
}

.kokoro/system_tests_monitoring.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "monitoring and py35 and not appengine"
14+
value: "monitoring and py36 and not appengine"
1515
}

.kokoro/system_tests_pubsub.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "pubsub and py35 and not appengine"
14+
value: "pubsub and py36 and not appengine"
1515
}

.kokoro/system_tests_spanner.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "spanner and py35 and not appengine"
14+
value: "spanner and py36 and not appengine"
1515
}

.kokoro/system_tests_speech.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "speech and py35 and not appengine"
14+
value: "speech and py36 and not appengine"
1515
}

.kokoro/system_tests_storage.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "storage and py35 and not appengine"
14+
value: "storage and py36 and not appengine"
1515
}

.kokoro/system_tests_testing.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "testing and py35 and not appengine"
14+
value: "testing and py36 and not appengine"
1515
}

.kokoro/system_tests_translate.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "translate and py35 and not appengine"
14+
value: "translate and py36 and not appengine"
1515
}

.kokoro/system_tests_video.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "video and py35 and not appengine"
14+
value: "video and py36 and not appengine"
1515
}

.kokoro/system_tests_vision.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ env_vars: {
1111

1212
env_vars: {
1313
key: "NOX_SESSION"
14-
value: "vision and py35 and not appengine"
14+
value: "vision and py36 and not appengine"
1515
}

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ addons:
1919
- deadsnakes
2020
packages:
2121
- portaudio19-dev
22-
- python3.5
23-
- python3.5-dev
22+
- python3.6
23+
- python3.6-dev
2424
install:
2525
- pip install --upgrade pip wheel virtualenv
26-
- pip install --upgrade nox-automation coverage
26+
- pip install --upgrade nox-automation
2727
- pip install --upgrade git+https://github.com/dhermes/ci-diff-helper.git
2828
script:
2929
- ./scripts/travis.sh

nox.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,9 @@ def session_py27(session, sample):
210210

211211

212212
@nox.parametrize('sample', NON_GAE_STANDARD_SAMPLES)
213-
def session_py35(session, sample):
214-
"""Runs py.test for a sample using Python 3.5"""
215-
session.interpreter = 'python3.5'
213+
def session_py36(session, sample):
214+
"""Runs py.test for a sample using Python 3.6"""
215+
session.interpreter = 'python3.6'
216216
_session_tests(session, sample)
217217

218218

scripts/travis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if [[ $TRAVIS_SECURE_ENV_VARS == "true" ]]; then
66
source ${TRAVIS_BUILD_DIR}/testing/test-env.sh;
77
export GOOGLE_APPLICATION_CREDENTIALS=${TRAVIS_BUILD_DIR}/testing/service-account.json
88
export GOOGLE_CLIENT_SECRETS=${TRAVIS_BUILD_DIR}/testing/client-secrets.json
9-
nox --envdir /tmp --stop-on-first-error -s lint gae py35 -- -m "not slow";
9+
nox --envdir /tmp --stop-on-first-error -s lint gae py36 -- -m "not slow";
1010
else
1111
# only run lint on external PRs
1212
echo 'External PR: only running lint.'

0 commit comments

Comments
 (0)
0