Skip to content

Commit 1c8c2d3

Browse files
author
michaelawyu
authored
Merge pull request GoogleCloudPlatform#151 from GoogleCloudPlatform/use-new-psq
Update to use new psq
2 parents 505e6ed + fc30194 commit 1c8c2d3

26 files changed

Lines changed: 77 additions & 77 deletions
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
tox==2.9.1
22
flake8==3.5.0
33
flaky==3.4.0
4-
pytest==3.2.3
4+
pytest==3.3.1
55
pytest-cov==2.5.1
66
retrying==1.3.3

2-structured-data/requirements.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
Flask==0.12.2
2-
google-cloud==0.27.0
2+
google-cloud-datastore==1.4.0
33
gunicorn==19.7.1
4-
oauth2client==4.1.2
54
Flask-SQLAlchemy==2.3.2
65
PyMySQL==0.7.11
76
Flask-PyMongo==0.5.1
8-
PyMongo==3.5.1
7+
PyMongo==3.6.0
98
six==1.11.0

2-structured-data/tox.ini

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
[tox]
22
skipsdist = True
3-
envlist = lint,py27,py34
3+
envlist = lint,py27,py36
44

55
[testenv]
6-
basepython = python2.7
76
deps =
87
-rrequirements.txt
98
-rrequirements-dev.txt
@@ -12,9 +11,6 @@ commands =
1211
passenv = GOOGLE_APPLICATION_CREDENTIALS DATASTORE_HOST
1312
setenv = PYTHONPATH={toxinidir}
1413

15-
[testenv:py34]
16-
basepython = python3.4
17-
1814
[testenv:lint]
1915
deps =
2016
flake8

3-binary-data/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
# Google Cloud Project ID. This can be found on the 'Overview' page at
3434
# https://console.developers.google.com
35-
PROJECT_ID = 'python-docs-samples-tests'
35+
PROJECT_ID = 'your-project-id'
3636

3737
# CloudSQL & SQLAlchemy configuration
3838
# Replace the following values the respective values of your Cloud SQL
@@ -90,6 +90,6 @@
9090
#
9191
# You can adjust the max content length and allow extensions settings to allow
9292
# larger or more varied file types if desired.
93-
CLOUD_STORAGE_BUCKET = 'python-docs-samples-tests'
93+
CLOUD_STORAGE_BUCKET = 'your-bucket-name'
9494
MAX_CONTENT_LENGTH = 8 * 1024 * 1024
9595
ALLOWED_EXTENSIONS = set(['png', 'jpg', 'jpeg', 'gif'])

3-binary-data/requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
tox==2.9.1
22
flake8==3.5.0
33
flaky==3.4.0
4-
pytest==3.2.3
4+
pytest==3.3.1
55
pytest-cov==2.5.1
66
retrying==1.3.3

3-binary-data/requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
Flask==0.12.2
2-
google-cloud==0.27.0
2+
google-cloud-datastore==1.4.0
3+
google-cloud-storage==1.6.0
34
gunicorn==19.7.1
45
oauth2client==4.1.2
56
Flask-SQLAlchemy==2.3.2
67
PyMySQL==0.7.11
78
Flask-PyMongo==0.5.1
8-
PyMongo==3.5.1
9+
PyMongo==3.6.0
910
six==1.11.0

3-binary-data/tox.ini

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
[tox]
22
skipsdist = True
3-
envlist = lint,py27,py34
3+
envlist = lint,py27,py36
44

55
[testenv]
6-
basepython = python2.7
76
deps =
87
-rrequirements.txt
98
-rrequirements-dev.txt
@@ -12,9 +11,6 @@ commands =
1211
passenv = GOOGLE_APPLICATION_CREDENTIALS DATASTORE_HOST
1312
setenv = PYTHONPATH={toxinidir}
1413

15-
[testenv:py34]
16-
basepython = python3.4
17-
1814
[testenv:lint]
1915
deps =
2016
flake8

4-auth/bookshelf/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717

1818
from flask import current_app, Flask, redirect, request, session, url_for
1919
import httplib2
20-
2120
# [START include]
2221
from oauth2client.contrib.flask_util import UserOAuth2
2322

23+
2424
oauth2 = UserOAuth2()
2525
# [END include]
2626

4-auth/requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
tox==2.9.1
22
flake8==3.5.0
33
flaky==3.4.0
4-
pytest==3.2.3
4+
pytest==3.3.1
55
pytest-cov==2.5.1
66
retrying==1.3.3
77
mock==2.0.0

4-auth/requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
Flask==0.12.2
2-
google-cloud==0.27.0
2+
google-cloud-datastore==1.4.0
3+
google-cloud-storage==1.6.0
34
gunicorn==19.7.1
45
oauth2client==4.1.2
56
Flask-SQLAlchemy==2.3.2
67
PyMySQL==0.7.11
78
Flask-PyMongo==0.5.1
8-
PyMongo==3.5.1
9+
PyMongo==3.6.0
910
six==1.11.0

0 commit comments

Comments
 (0)