Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Auto-update dependencies. #735

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 12, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 2 appengine/flexible/analytics/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Flask==0.11.1
Flask==0.12
gunicorn==19.6.0
requests[security]==2.12.4
2 changes: 1 addition & 1 deletion 2 appengine/flexible/cloudsql/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flask==0.11.1
Flask==0.12
Flask-SQLAlchemy==2.1
gunicorn==19.6.0
PyMySQL==0.7.9
4 changes: 2 additions & 2 deletions 4 appengine/flexible/datastore/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flask==0.11.1
google-cloud-datastore==0.22.0
Flask==0.12
google-cloud-datastore==0.22.1
gunicorn==19.6.0
oauth2client==4.0.0
2 changes: 1 addition & 1 deletion 2 appengine/flexible/disk/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Flask==0.11.1
Flask==0.12
gunicorn==19.6.0
2 changes: 1 addition & 1 deletion 2 appengine/flexible/django_cloudsql/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Django==1.10.4
Django==1.10.5
mysqlclient==1.3.9
wheel==0.30.0a0
gunicorn==19.6.0
2 changes: 1 addition & 1 deletion 2 appengine/flexible/endpoints/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flask==0.11.1
Flask==0.12
flask-cors==3.0.2
gunicorn==19.6.0
six==1.10.0
Expand Down
2 changes: 1 addition & 1 deletion 2 appengine/flexible/extending_runtime/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Flask==0.11.1
Flask==0.12
gunicorn==19.6.0
2 changes: 1 addition & 1 deletion 2 appengine/flexible/hello_world/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Flask==0.11.1
Flask==0.12
gunicorn==19.6.0
2 changes: 1 addition & 1 deletion 2 appengine/flexible/hello_world_django/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Django==1.10.4
Django==1.10.5
gunicorn==19.6.0
2 changes: 1 addition & 1 deletion 2 appengine/flexible/kinto/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
gunicorn==19.6.0
oauth2client==4.0.0
kinto==4.3.4
kinto==5.2.0
2 changes: 1 addition & 1 deletion 2 appengine/flexible/mailgun/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Flask==0.11.1
Flask==0.12
gunicorn==19.6.0
requests[security]==2.12.4
2 changes: 1 addition & 1 deletion 2 appengine/flexible/mailjet/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flask==0.11.1
Flask==0.12
gunicorn==19.6.0
requests[security]==2.12.4
mailjet-rest==v1.2.2
2 changes: 1 addition & 1 deletion 2 appengine/flexible/memcache/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Flask==0.11.1
Flask==0.12
gunicorn==19.6.0
pylibmc==1.5.1
2 changes: 1 addition & 1 deletion 2 appengine/flexible/metadata/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Flask==0.11.1
Flask==0.12
gunicorn==19.6.0
requests[security]==2.12.4
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Flask==0.11.1
Flask==0.12
gunicorn==19.6.0
requests==2.12.4
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Flask==0.11.1
Flask==0.12
gunicorn==19.6.0
requests==2.12.4
4 changes: 2 additions & 2 deletions 4 appengine/flexible/numpy/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Flask==0.11.1
Flask==0.12
gunicorn==19.6.0
numpy==1.12.0rc1
numpy==1.12.0rc2
2 changes: 1 addition & 1 deletion 2 appengine/flexible/pubsub/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flask==0.11.1
Flask==0.12
google-cloud-pubsub==0.22.0
gunicorn==19.6.0
oauth2client==4.0.0
2 changes: 1 addition & 1 deletion 2 appengine/flexible/redis/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Flask==0.11.1
Flask==0.12
gunicorn==19.6.0
redis==2.10.5
6 changes: 3 additions & 3 deletions 6 appengine/flexible/scipy/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask==0.11.1
Flask==0.12
gunicorn==19.6.0
numpy==1.12.0rc1
numpy==1.12.0rc2
scipy==0.18.1
Pillow==3.4.2
Pillow==4.0.0
2 changes: 1 addition & 1 deletion 2 appengine/flexible/sendgrid/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Flask==0.11.1
Flask==0.12
sendgrid==3.6.3
gunicorn==19.6.0
2 changes: 1 addition & 1 deletion 2 appengine/flexible/static_files/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Flask==0.11.1
Flask==0.12
gunicorn==19.6.0
2 changes: 1 addition & 1 deletion 2 appengine/flexible/storage/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Flask==0.11.1
Flask==0.12
google-cloud-storage==0.22.0
gunicorn==19.6.0
2 changes: 1 addition & 1 deletion 2 appengine/flexible/twilio/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Flask==0.11.1
Flask==0.12
gunicorn==19.6.0
twilio==6.3.dev0
2 changes: 1 addition & 1 deletion 2 appengine/standard/analytics/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Flask==0.11.1
Flask==0.12
requests==2.12.4
requests-toolbelt==0.7.0
2 changes: 1 addition & 1 deletion 2 appengine/standard/bigquery/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-api-python-client==1.5.5
google-api-python-client==1.6.1
2 changes: 1 addition & 1 deletion 2 appengine/standard/django/requirements-vendor.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Django==1.10.4
Django==1.10.5
2 changes: 1 addition & 1 deletion 2 appengine/standard/django/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
MySQL-python==1.2.5
Django==1.10.4
Django==1.10.5
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flask==0.11.1
Flask==0.12
pyjwt==1.4.2
flask-cors==3.0.2
google-auth==0.5.0
Expand Down
2 changes: 1 addition & 1 deletion 2 appengine/standard/firebase/firetactoe/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
flask==0.11.1
flask==0.12
requests==2.12.4
requests_toolbelt==0.7.0
oauth2client==4.0.0
Expand Down
2 changes: 1 addition & 1 deletion 2 appengine/standard/flask/hello_world/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Flask==0.11.1
Flask==0.12
2 changes: 1 addition & 1 deletion 2 appengine/standard/flask/tutorial/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Flask==0.11.1
Flask==0.12
2 changes: 1 addition & 1 deletion 2 appengine/standard/mailjet/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flask==0.11.1
Flask==0.12
requests==2.12.4
requests-toolbelt==0.7.0
mailjet-rest==v1.2.2
2 changes: 1 addition & 1 deletion 2 appengine/standard/ndb/transactions/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Flask==0.11.1
Flask==0.12
2 changes: 1 addition & 1 deletion 2 appengine/standard/storage/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-api-python-client==1.5.5
google-api-python-client==1.6.1
2 changes: 1 addition & 1 deletion 2 appengine/standard/urlfetch/requests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Flask==0.11.1
Flask==0.12
requests==2.12.4
requests-toolbelt==0.7.0
2 changes: 1 addition & 1 deletion 2 bigquery/api/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-api-python-client==1.5.5
google-api-python-client==1.6.1
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-cloud-datastore==0.22.0
google-cloud-datastore==0.22.1
2 changes: 1 addition & 1 deletion 2 compute/api/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-api-python-client==1.5.5
google-api-python-client==1.6.1
2 changes: 1 addition & 1 deletion 2 compute/auth/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
requests==2.12.4
google-api-python-client==1.5.5
google-api-python-client==1.6.1
2 changes: 1 addition & 1 deletion 2 compute/xmpp_wikibot/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flask==0.11.1
Flask==0.12
requests==2.12.4
sleekxmpp==1.3.1
six==1.10.0
2 changes: 1 addition & 1 deletion 2 container_engine/django_tutorial/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Django==1.10.4
Django==1.10.5
mysqlclient==1.3.9
wheel==0.30.0a0
gunicorn==19.6.0
2 changes: 1 addition & 1 deletion 2 dataproc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
google-api-python-client==1.5.5
google-api-python-client==1.6.1
google-cloud==0.22.0
2 changes: 1 addition & 1 deletion 2 datastore/cloud-client/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-cloud-datastore==0.22.0
google-cloud-datastore==0.22.1
2 changes: 1 addition & 1 deletion 2 endpoints/getting-started/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flask==0.11.1
Flask==0.12
flask-cors==3.0.2
gunicorn==19.6.0
six==1.10.0
Expand Down
2 changes: 1 addition & 1 deletion 2 kms/api/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-api-python-client==1.6.0
google-api-python-client==1.6.1
2 changes: 1 addition & 1 deletion 2 language/api/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-api-python-client==1.5.5
google-api-python-client==1.6.1
2 changes: 1 addition & 1 deletion 2 language/movie_nl/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
google-api-python-client==1.5.5
google-api-python-client==1.6.1
requests==2.12.4
14 changes: 2 additions & 12 deletions 14 language/ocr_nl/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@

from googleapiclient import discovery
from googleapiclient import errors
import httplib2
from oauth2client.client import GoogleCredentials

BATCH_SIZE = 10

Expand All @@ -54,8 +52,7 @@ class VisionApi(object):
"""Construct and use the Cloud Vision API service."""

def __init__(self):
credentials = GoogleCredentials.get_application_default()
self.service = discovery.build('vision', 'v1', credentials=credentials)
self.service = discovery.build('vision', 'v1')

def detect_text(self, input_filenames, num_retries=3, max_results=6):
"""Uses the Vision API to detect text in the given file."""
Expand Down Expand Up @@ -113,14 +110,7 @@ class TextAnalyzer(object):
"""Construct and use the Google Natural Language API service."""

def __init__(self, db_filename=None):
credentials = GoogleCredentials.get_application_default()
scoped_credentials = credentials.create_scoped(
['https://www.googleapis.com/auth/cloud-platform'])
http = httplib2.Http()
scoped_credentials.authorize(http)
self.service = discovery.build('language', 'v1',
http=http,
credentials=credentials)
self.service = discovery.build('language', 'v1')

# This list will store the entity information gleaned from the
# image files.
Expand Down
2 changes: 1 addition & 1 deletion 2 language/ocr_nl/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-api-python-client==1.5.5
google-api-python-client==1.6.1
2 changes: 1 addition & 1 deletion 2 language/syntax_triples/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-api-python-client==1.5.5
google-api-python-client==1.6.1
2 changes: 1 addition & 1 deletion 2 language/tutorial/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-api-python-client==1.5.5
google-api-python-client==1.6.1
2 changes: 1 addition & 1 deletion 2 logging/api-client/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-api-python-client==1.5.5
google-api-python-client==1.6.1
2 changes: 1 addition & 1 deletion 2 monitoring/api/v2/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-api-python-client==1.5.5
google-api-python-client==1.6.1
2 changes: 1 addition & 1 deletion 2 monitoring/api/v3/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
google-api-python-client==1.5.5
google-api-python-client==1.6.1
httplib2==0.9.2
oauth2client==4.0.0
pyasn1==0.1.9
Expand Down
2 changes: 1 addition & 1 deletion 2 speech/api-client/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-api-python-client==1.5.5
google-api-python-client==1.6.1
2 changes: 1 addition & 1 deletion 2 storage/api/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-api-python-client==1.5.5
google-api-python-client==1.6.1
2 changes: 1 addition & 1 deletion 2 storage/transfer_service/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-api-python-client==1.5.5
google-api-python-client==1.6.1
6 changes: 3 additions & 3 deletions 6 testing/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
beautifulsoup4==4.5.1
coverage==4.2
beautifulsoup4==4.5.3
coverage==4.3.1
flaky==3.3.0
funcsigs==1.0.2
mock==2.0.0
Expand All @@ -11,5 +11,5 @@ pyyaml==3.12
responses==0.5.1
WebTest==2.0.24
webapp2==3.0.0b1
google-api-python-client==1.5.5
google-api-python-client==1.6.1
google-cloud-core==0.22.1
4 changes: 2 additions & 2 deletions 4 vision/api/face_detection/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
google-api-python-client==1.5.5
Pillow==3.4.2
google-api-python-client==1.6.1
Pillow==4.0.0
2 changes: 1 addition & 1 deletion 2 vision/api/label/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
google-api-python-client==1.5.5
google-api-python-client==1.6.1
Morty Proxy This is a proxified and sanitized view of the page, visit original site.