diff --git a/README.rst b/README.rst index f1f7ff46a00b..3d7986a6e270 100644 --- a/README.rst +++ b/README.rst @@ -15,14 +15,25 @@ Google Cloud Python Client .. _API Documentation: https://googlecloudplatform.github.io/google-cloud-python/stable/ .. _Read The Docs Documentation: https://google-cloud-python.readthedocs.io/en/latest/ -This client library has **beta** support for the following Google -Cloud Platform services: +The following client libraries have **GA** support: -- `Google BigQuery`_ (`BigQuery README`_) - `Google Cloud Datastore`_ (`Datastore README`_) - `Stackdriver Logging`_ (`Logging README`_) - `Google Cloud Storage`_ (`Storage README`_) + +**GA** (general availability) indicates that the client library for a +particular service is stable, and that the code surface will not change in +backwards-incompatible ways unless either absolutely necessary (e.g. because +of critical security issues) or with an extensive deprecation period. +Issues and requests against GA libraries are addressed with the highest +priority. + +The following client libraries have **beta** support: + +- `Google BigQuery`_ (`BigQuery README`_) - `Google Cloud Vision`_ (`Vision README`_) +- `Google Cloud Natural Language`_ (`Natural Language README`_) +- `Google Cloud Translation`_ (`Translation README`_) **Beta** indicates that the client library for a particular service is mostly stable and is being prepared for release. Issues and requests @@ -37,8 +48,6 @@ Cloud Platform services: - `Google Cloud Bigtable`_ (`Bigtable README`_) - `Google Cloud DNS`_ (`DNS README`_) - `Stackdriver Error Reporting`_ (`Error Reporting README`_) -- `Google Cloud Natural Language`_ (`Natural Language README`_) -- `Google Cloud Translation`_ (`Translation README`_) - `Google Cloud Speech`_ (`Speech README`_) - `Google Cloud Bigtable - HappyBase`_ (`HappyBase README`_) - `Google Cloud Runtime Configuration`_ (`Runtime Config README`_) diff --git a/bigquery/nox.py b/bigquery/nox.py index 9a20d7e8877f..58b16e23dd86 100644 --- a/bigquery/nox.py +++ b/bigquery/nox.py @@ -19,6 +19,9 @@ import nox +LOCAL_DEPS = ('../core/',) + + @nox.session @nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6']) def unit_tests(session, python_version): @@ -28,7 +31,7 @@ def unit_tests(session, python_version): session.interpreter = 'python{}'.format(python_version) # Install all test dependencies, then install this package in-place. - session.install('mock', 'pytest', 'pytest-cov', '../core/') + session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS) session.install('-e', '.') # Run py.test against the unit tests. @@ -53,9 +56,8 @@ def system_tests(session, python_version): # Install all test dependencies, then install this package into the # virutalenv's dist-packages. - session.install('mock', 'pytest', - '../core/', '../test_utils/', - '../storage/') + session.install('mock', 'pytest', *LOCAL_DEPS) + session.install('../storage/', '../test_utils/') session.install('.') # Run py.test against the system tests. @@ -70,7 +72,7 @@ def lint(session): serious code quality issues. """ session.interpreter = 'python3.6' - session.install('flake8') + session.install('flake8', *LOCAL_DEPS) session.install('.') session.run('flake8', 'google/cloud/bigquery') diff --git a/bigquery/setup.py b/bigquery/setup.py index dd5ab25af9a1..0040dd2c16a2 100644 --- a/bigquery/setup.py +++ b/bigquery/setup.py @@ -44,18 +44,19 @@ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Topic :: Internet', ], } REQUIREMENTS = [ - 'google-cloud-core >= 0.23.1, < 0.24dev', + 'google-cloud-core >= 0.24.0, < 0.25dev', ] setup( name='google-cloud-bigquery', - version='0.23.0', + version='0.24.0', description='Python Client for Google BigQuery', long_description=README, namespace_packages=[ diff --git a/bigtable/nox.py b/bigtable/nox.py index 53e6c5d5576d..bded96fcbe29 100644 --- a/bigtable/nox.py +++ b/bigtable/nox.py @@ -18,6 +18,9 @@ import nox +LOCAL_DEPS = ('../core/',) + + @nox.session @nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6']) def unit_tests(session, python_version): @@ -27,7 +30,7 @@ def unit_tests(session, python_version): session.interpreter = 'python{}'.format(python_version) # Install all test dependencies, then install this package in-place. - session.install('mock', 'pytest', 'pytest-cov', '../core/') + session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS) session.install('-e', '.') # Run py.test against the unit tests. @@ -52,8 +55,8 @@ def system_tests(session, python_version): # Install all test dependencies, then install this package into the # virutalenv's dist-packages. - session.install('mock', 'pytest', - '../core/', '../test_utils/') + session.install('mock', 'pytest', *LOCAL_DEPS) + session.install('../test_utils/') session.install('.') # Run py.test against the system tests. @@ -68,7 +71,7 @@ def lint(session): serious code quality issues. """ session.interpreter = 'python3.6' - session.install('flake8') + session.install('flake8', *LOCAL_DEPS) session.install('.') session.run('flake8', 'google/cloud/bigtable') diff --git a/bigtable/setup.py b/bigtable/setup.py index b4fa4483490a..708eef10a407 100644 --- a/bigtable/setup.py +++ b/bigtable/setup.py @@ -44,19 +44,20 @@ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Topic :: Internet', ], } REQUIREMENTS = [ - 'google-cloud-core >= 0.23.1, < 0.24dev', + 'google-cloud-core >= 0.24.0, < 0.25dev', 'google-gax>=0.15.7, <0.16dev', ] setup( name='google-cloud-bigtable', - version='0.23.1', + version='0.24.0', description='Python Client for Google Cloud Bigtable', long_description=README, namespace_packages=[ diff --git a/core/setup.py b/core/setup.py index 73c00bf96de4..89526136b318 100644 --- a/core/setup.py +++ b/core/setup.py @@ -44,6 +44,7 @@ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Topic :: Internet', ], } @@ -60,7 +61,7 @@ setup( name='google-cloud-core', - version='0.23.1', + version='0.24.0', description='API Client library for Google Cloud: Core Helpers', long_description=README, namespace_packages=[ diff --git a/datastore/nox.py b/datastore/nox.py index bc380656bfc3..78a187aa51a0 100644 --- a/datastore/nox.py +++ b/datastore/nox.py @@ -19,6 +19,9 @@ import nox +LOCAL_DEPS = ('../core/',) + + @nox.session @nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6']) def unit_tests(session, python_version): @@ -28,7 +31,7 @@ def unit_tests(session, python_version): session.interpreter = 'python{}'.format(python_version) # Install all test dependencies, then install this package in-place. - session.install('mock', 'pytest', 'pytest-cov', '../core/') + session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS) session.install('-e', '.') # Run py.test against the unit tests. @@ -53,7 +56,8 @@ def system_tests(session, python_version): # Install all test dependencies, then install this package into the # virutalenv's dist-packages. - session.install('mock', 'pytest', '../core/', '../test_utils/') + session.install('mock', 'pytest', *LOCAL_DEPS) + session.install('../test_utils/') session.install('.') # Run py.test against the system tests. @@ -76,8 +80,8 @@ def doctests(session): # Install all test dependencies, then install this package into the # virutalenv's dist-packages. - session.install('mock', 'pytest', 'sphinx', - '../core/', '../test_utils/') + session.install('mock', 'pytest', 'sphinx', *LOCAL_DEPS) + session.install('../test_utils/') session.install('.') # Run py.test against the system tests. @@ -92,7 +96,7 @@ def lint(session): serious code quality issues. """ session.interpreter = 'python3.6' - session.install('flake8') + session.install('flake8', *LOCAL_DEPS) session.install('.') session.run('flake8', 'google/cloud/datastore') diff --git a/datastore/setup.py b/datastore/setup.py index b8a5ec01d109..67bb0bf9575e 100644 --- a/datastore/setup.py +++ b/datastore/setup.py @@ -35,7 +35,7 @@ 'include_package_data': True, 'zip_safe': False, 'classifiers': [ - 'Development Status :: 4 - Beta', + 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', @@ -44,20 +44,21 @@ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Topic :: Internet', ], } REQUIREMENTS = [ - 'google-cloud-core >= 0.23.1, < 0.24dev', + 'google-cloud-core >= 0.24.0, < 0.25dev', 'google-gax>=0.15.7, <0.16dev', 'gapic-google-cloud-datastore-v1 >= 0.15.0, < 0.16dev', ] setup( name='google-cloud-datastore', - version='0.23.0', + version='1.0.0', description='Python Client for Google Cloud Datastore', long_description=README, namespace_packages=[ diff --git a/dns/nox.py b/dns/nox.py index 03245df0ecd2..1e5e10be32fa 100644 --- a/dns/nox.py +++ b/dns/nox.py @@ -19,6 +19,9 @@ import nox +LOCAL_DEPS = ('../core/',) + + @nox.session @nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6']) def unit_tests(session, python_version): @@ -28,7 +31,7 @@ def unit_tests(session, python_version): session.interpreter = 'python{}'.format(python_version) # Install all test dependencies, then install this package in-place. - session.install('mock', 'pytest', 'pytest-cov', '../core/') + session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS) session.install('-e', '.') # Run py.test against the unit tests. @@ -47,7 +50,7 @@ def lint(session): serious code quality issues. """ session.interpreter = 'python3.6' - session.install('flake8') + session.install('flake8', *LOCAL_DEPS) session.install('.') session.run('flake8', 'google/cloud/dns') diff --git a/dns/setup.py b/dns/setup.py index 19bb70c8df9b..4f92a4b1c688 100644 --- a/dns/setup.py +++ b/dns/setup.py @@ -44,18 +44,19 @@ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Topic :: Internet', ], } REQUIREMENTS = [ - 'google-cloud-core >= 0.23.1, < 0.24dev', + 'google-cloud-core >= 0.24.0, < 0.25dev', ] setup( name='google-cloud-dns', - version='0.23.0', + version='0.24.0', description='Python Client for Google Cloud DNS', long_description=README, namespace_packages=[ diff --git a/docs/conf.py b/docs/conf.py index 8f56935ff640..dd50c4807e36 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -69,7 +69,7 @@ # General information about the project. project = u'google-cloud' -copyright = u'2014, Google' +copyright = u'2014-2017, Google' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the diff --git a/error_reporting/google/cloud/error_reporting/__init__.py b/error_reporting/google/cloud/error_reporting/__init__.py index bb76fb9b332a..4cecb96024a0 100644 --- a/error_reporting/google/cloud/error_reporting/__init__.py +++ b/error_reporting/google/cloud/error_reporting/__init__.py @@ -21,3 +21,5 @@ from google.cloud.error_reporting.client import Client from google.cloud.error_reporting.client import HTTPContext from google.cloud.error_reporting.util import build_flask_context + +__all__ = ['__version__', 'Client', 'HTTPContext', 'build_flask_context'] diff --git a/error_reporting/google/cloud/error_reporting/_logging.py b/error_reporting/google/cloud/error_reporting/_logging.py index 2a7b20816b57..d8bd7a12a477 100644 --- a/error_reporting/google/cloud/error_reporting/_logging.py +++ b/error_reporting/google/cloud/error_reporting/_logging.py @@ -33,9 +33,9 @@ class _ErrorReportingLoggingAPI(object): :type credentials: :class:`oauth2client.client.OAuth2Credentials` or :class:`NoneType` :param credentials: The OAuth2 Credentials to use for the connection - owned by this client. If not passed (and if no ``_http`` - object is passed), falls back to the default inferred - from the environment. + owned by this client. If not passed (and if no + ``_http`` object is passed), falls back to the default + inferred from the environment. :type _http: :class:`httplib2.Http` or class that defines ``request()``. :param _http: An optional HTTP object to make requests. If not passed, an diff --git a/error_reporting/google/cloud/error_reporting/client.py b/error_reporting/google/cloud/error_reporting/client.py index fb23cfb56b42..8be6627ada28 100644 --- a/error_reporting/google/cloud/error_reporting/client.py +++ b/error_reporting/google/cloud/error_reporting/client.py @@ -86,9 +86,9 @@ class Client(ClientWithProject): :type credentials: :class:`oauth2client.client.OAuth2Credentials` or :class:`NoneType` :param credentials: The OAuth2 Credentials to use for the connection - owned by this client. If not passed (and if no ``_http`` - object is passed), falls back to the default inferred - from the environment. + owned by this client. If not passed (and if no + ``_http`` object is passed), falls back to the default + inferred from the environment. :type _http: :class:`httplib2.Http` or class that defines ``request()``. :param _http: An optional HTTP object to make requests. If not passed, an diff --git a/error_reporting/nox.py b/error_reporting/nox.py index 29f2d5f51429..7b455a0e32b6 100644 --- a/error_reporting/nox.py +++ b/error_reporting/nox.py @@ -19,6 +19,9 @@ import nox +LOCAL_DEPS = ('../core/', '../logging/') + + @nox.session @nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6']) def unit_tests(session, python_version): @@ -28,14 +31,14 @@ def unit_tests(session, python_version): session.interpreter = 'python{}'.format(python_version) # Install all test dependencies, then install this package in-place. - session.install('mock', 'pytest', 'pytest-cov', '../core/', '../logging/') + session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS) session.install('-e', '.') # Run py.test against the unit tests. - session.run('py.test', '--quiet', - '--cov=google.cloud.datastore', '--cov=tests.unit', '--cov-append', - '--cov-config=.coveragerc', '--cov-report=', '--cov-fail-under=97', - 'tests/unit', + session.run( + 'py.test', '--quiet', '--cov=google.cloud.error_reporting', + '--cov=tests.unit', '--cov-append', '--cov-config=.coveragerc', + '--cov-report=', '--cov-fail-under=97', 'tests/unit', ) @@ -47,9 +50,9 @@ def lint(session): serious code quality issues. """ session.interpreter = 'python3.6' - session.install('flake8') + session.install('flake8', *LOCAL_DEPS) session.install('.') - session.run('flake8', 'google/cloud/datastore') + session.run('flake8', 'google/cloud/error_reporting') @nox.session diff --git a/error_reporting/setup.py b/error_reporting/setup.py index 7a165a18c9b7..e2bdd9644e72 100644 --- a/error_reporting/setup.py +++ b/error_reporting/setup.py @@ -44,20 +44,21 @@ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Topic :: Internet', ], } REQUIREMENTS = [ - 'google-cloud-core >= 0.23.1, < 0.24dev', - 'google-cloud-logging >= 0.23.0, < 0.24dev', + 'google-cloud-core >= 0.24.0, < 0.25dev', + 'google-cloud-logging >= 1.0.0, < 2.0dev', 'gapic-google-cloud-error-reporting-v1beta1 >= 0.15.0, < 0.16dev' ] setup( name='google-cloud-error-reporting', - version='0.23.2', + version='0.24.0', description='Python Client for Stackdriver Error Reporting', long_description=README, namespace_packages=[ diff --git a/language/nox.py b/language/nox.py index 3643f997fe97..5f1ce1cd597d 100644 --- a/language/nox.py +++ b/language/nox.py @@ -19,6 +19,9 @@ import nox +LOCAL_DEPS = ('../core/',) + + @nox.session @nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6']) def unit_tests(session, python_version): @@ -28,7 +31,7 @@ def unit_tests(session, python_version): session.interpreter = 'python{}'.format(python_version) # Install all test dependencies, then install this package in-place. - session.install('mock', 'pytest', 'pytest-cov', '../core/') + session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS) session.install('-e', '.') # Run py.test against the unit tests. @@ -53,8 +56,8 @@ def system_tests(session, python_version): # Install all test dependencies, then install this package into the # virutalenv's dist-packages. - session.install('mock', 'pytest', - '../core/', '../storage/', '../test_utils/') + session.install('mock', 'pytest', *LOCAL_DEPS) + session.install('../storage/', '../test_utils/') session.install('.') # Run py.test against the system tests. @@ -69,7 +72,7 @@ def lint(session): serious code quality issues. """ session.interpreter = 'python3.6' - session.install('flake8') + session.install('flake8', *LOCAL_DEPS) session.install('.') session.run('flake8', 'google/cloud/language') diff --git a/language/setup.py b/language/setup.py index ba836831d154..a269668892ce 100644 --- a/language/setup.py +++ b/language/setup.py @@ -35,7 +35,7 @@ 'include_package_data': True, 'zip_safe': False, 'classifiers': [ - 'Development Status :: 3 - Alpha', + 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', @@ -44,18 +44,19 @@ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Topic :: Internet', ], } REQUIREMENTS = [ - 'google-cloud-core >= 0.23.1, < 0.24dev', + 'google-cloud-core >= 0.24.0, < 0.25dev', ] setup( name='google-cloud-language', - version='0.23.1', + version='0.24.0', description='Python Client for Google Cloud Natural Language', long_description=README, namespace_packages=[ diff --git a/logging/nox.py b/logging/nox.py index a39551beea6b..c96ad4871a77 100644 --- a/logging/nox.py +++ b/logging/nox.py @@ -19,6 +19,9 @@ import nox +LOCAL_DEPS = ('../core/',) + + @nox.session @nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6']) def unit_tests(session, python_version): @@ -28,11 +31,12 @@ def unit_tests(session, python_version): session.interpreter = 'python{}'.format(python_version) # Install all test dependencies, then install this package in-place. - session.install('mock', 'pytest', 'pytest-cov', '../core/') + session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS) session.install('-e', '.') # Run py.test against the unit tests. - session.run('py.test', '--quiet', + session.run( + 'py.test', '--quiet', '--cov=google.cloud.logging', '--cov=tests.unit', '--cov-append', '--cov-config=.coveragerc', '--cov-report=', '--cov-fail-under=97', 'tests/unit', @@ -53,9 +57,9 @@ def system_tests(session, python_version): # Install all test dependencies, then install this package into the # virutalenv's dist-packages. - session.install('mock', 'pytest', - '../core/', '../test_utils/', - '../bigquery/', '../pubsub/', '../storage/') + session.install('mock', 'pytest', *LOCAL_DEPS) + session.install('../test_utils/', '../bigquery/', '../pubsub/', + '../storage/') session.install('.') # Run py.test against the system tests. @@ -70,7 +74,7 @@ def lint(session): serious code quality issues. """ session.interpreter = 'python3.6' - session.install('flake8') + session.install('flake8', *LOCAL_DEPS) session.install('.') session.run('flake8', 'google/cloud/logging') diff --git a/logging/setup.py b/logging/setup.py index 87a4e66fe15e..4e6054ee9e3c 100644 --- a/logging/setup.py +++ b/logging/setup.py @@ -35,7 +35,7 @@ 'include_package_data': True, 'zip_safe': False, 'classifiers': [ - 'Development Status :: 4 - Beta', + 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', @@ -44,20 +44,21 @@ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Topic :: Internet', ], } REQUIREMENTS = [ - 'google-cloud-core >= 0.23.1, < 0.24dev', + 'google-cloud-core >= 0.24.0, < 0.25dev', 'grpcio >= 1.0.2, < 2.0dev', 'gapic-google-cloud-logging-v2 >= 0.91.0, < 0.92dev', ] setup( name='google-cloud-logging', - version='0.23.1', + version='1.0.0', description='Python Client for Stackdriver Logging', long_description=README, namespace_packages=[ diff --git a/monitoring/nox.py b/monitoring/nox.py index c53cc7a880d5..b9d48d7814dc 100644 --- a/monitoring/nox.py +++ b/monitoring/nox.py @@ -19,6 +19,9 @@ import nox +LOCAL_DEPS = ('../core/',) + + @nox.session @nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6']) def unit_tests(session, python_version): @@ -28,7 +31,7 @@ def unit_tests(session, python_version): session.interpreter = 'python{}'.format(python_version) # Install all test dependencies, then install this package in-place. - session.install('mock', 'pytest', 'pytest-cov', '../core/') + session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS) session.install('-e', '.') # Run py.test against the unit tests. @@ -53,8 +56,8 @@ def system_tests(session, python_version): # Install all test dependencies, then install this package into the # virutalenv's dist-packages. - session.install('mock', 'pytest', - '../core/', '../test_utils/') + session.install('mock', 'pytest', *LOCAL_DEPS) + session.install('../test_utils/') session.install('.') # Run py.test against the system tests. @@ -69,7 +72,7 @@ def lint(session): serious code quality issues. """ session.interpreter = 'python3.6' - session.install('flake8') + session.install('flake8', *LOCAL_DEPS) session.install('.') session.run('flake8', 'google/cloud/monitoring') diff --git a/monitoring/setup.py b/monitoring/setup.py index a89408fb51b8..f4b841fc174c 100644 --- a/monitoring/setup.py +++ b/monitoring/setup.py @@ -44,18 +44,19 @@ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Topic :: Internet', ], } REQUIREMENTS = [ - 'google-cloud-core >= 0.23.1, < 0.24dev', + 'google-cloud-core >= 0.24.0, < 0.25dev', ] setup( name='google-cloud-monitoring', - version='0.23.0', + version='0.24.0', description='Python Client for Stackdriver Monitoring', long_description=README, namespace_packages=[ diff --git a/nox.py b/nox.py index 5a22ff9f4f6a..3cdcce56244c 100644 --- a/nox.py +++ b/nox.py @@ -28,10 +28,10 @@ def docs(session): session.chdir(os.path.realpath(os.path.dirname(__file__))) session.install('sphinx', 'sphinx_rtd_theme') session.install( - 'core/', 'bigquery/', 'bigtable/', 'datastore/', 'error_reporting/', - 'language/', 'logging/', 'monitoring/', 'pubsub/', 'resource_manager/', - 'runtimeconfig/', 'spanner/', 'speech/', 'storage/', 'translate/', - 'vision/', + 'core/', 'bigquery/', 'bigtable/', 'datastore/', 'dns/', 'language/', + 'logging/', 'error_reporting/', 'monitoring/', 'pubsub/', + 'resource_manager/', 'runtimeconfig/', 'spanner/', 'speech/', + 'storage/', 'translate/', 'vision/', ) session.install('.') diff --git a/pubsub/nox.py b/pubsub/nox.py index 13d73c4a2893..c9300982d6b8 100644 --- a/pubsub/nox.py +++ b/pubsub/nox.py @@ -19,6 +19,9 @@ import nox +LOCAL_DEPS = ('../core/',) + + @nox.session @nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6']) def unit_tests(session, python_version): @@ -28,7 +31,7 @@ def unit_tests(session, python_version): session.interpreter = 'python{}'.format(python_version) # Install all test dependencies, then install this package in-place. - session.install('mock', 'pytest', 'pytest-cov', '../core/') + session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS) session.install('-e', '.') # Run py.test against the unit tests. @@ -53,8 +56,8 @@ def system_tests(session, python_version): # Install all test dependencies, then install this package into the # virutalenv's dist-packages. - session.install('mock', 'pytest', - '../core/', '../test_utils/') + session.install('mock', 'pytest', *LOCAL_DEPS) + session.install('../test_utils/') session.install('.') # Run py.test against the system tests. @@ -69,7 +72,7 @@ def lint(session): serious code quality issues. """ session.interpreter = 'python3.6' - session.install('flake8') + session.install('flake8', *LOCAL_DEPS) session.install('.') session.run('flake8', 'google/cloud/pubsub') diff --git a/pubsub/setup.py b/pubsub/setup.py index 655385112b7b..d18e07fcae65 100644 --- a/pubsub/setup.py +++ b/pubsub/setup.py @@ -44,20 +44,21 @@ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Topic :: Internet', ], } REQUIREMENTS = [ - 'google-cloud-core >= 0.23.1, < 0.24dev', + 'google-cloud-core >= 0.24.0, < 0.25dev', 'grpcio >= 1.0.2, < 2.0dev', 'gapic-google-cloud-pubsub-v1 >= 0.15.0, < 0.16dev', ] setup( name='google-cloud-pubsub', - version='0.23.0', + version='0.24.0', description='Python Client for Google Cloud Pub/Sub', long_description=README, namespace_packages=[ diff --git a/resource_manager/nox.py b/resource_manager/nox.py index 45535530765c..d8851ec4bc32 100644 --- a/resource_manager/nox.py +++ b/resource_manager/nox.py @@ -19,6 +19,9 @@ import nox +LOCAL_DEPS = ('../core/',) + + @nox.session @nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6']) def unit_tests(session, python_version): @@ -28,7 +31,7 @@ def unit_tests(session, python_version): session.interpreter = 'python{}'.format(python_version) # Install all test dependencies, then install this package in-place. - session.install('mock', 'pytest', 'pytest-cov', '../core/') + session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS) session.install('-e', '.') # Run py.test against the unit tests. @@ -47,7 +50,7 @@ def lint(session): serious code quality issues. """ session.interpreter = 'python3.6' - session.install('flake8') + session.install('flake8', *LOCAL_DEPS) session.install('.') session.run('flake8', 'google/cloud/resource_manager') diff --git a/resource_manager/setup.py b/resource_manager/setup.py index 171f5377dbd2..5064f7add7e6 100644 --- a/resource_manager/setup.py +++ b/resource_manager/setup.py @@ -44,18 +44,19 @@ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Topic :: Internet', ], } REQUIREMENTS = [ - 'google-cloud-core >= 0.23.1, < 0.24dev', + 'google-cloud-core >= 0.24.0, < 0.25dev', ] setup( name='google-cloud-resource-manager', - version='0.23.0', + version='0.24.0', description='Python Client for Google Cloud Resource Manager', long_description=README, namespace_packages=[ diff --git a/runtimeconfig/nox.py b/runtimeconfig/nox.py index 4f5fef24f417..e84c6fa39ea4 100644 --- a/runtimeconfig/nox.py +++ b/runtimeconfig/nox.py @@ -19,6 +19,9 @@ import nox +LOCAL_DEPS = ('../core/',) + + @nox.session @nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6']) def unit_tests(session, python_version): @@ -28,7 +31,7 @@ def unit_tests(session, python_version): session.interpreter = 'python{}'.format(python_version) # Install all test dependencies, then install this package in-place. - session.install('mock', 'pytest', 'pytest-cov', '../core/') + session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS) session.install('-e', '.') # Run py.test against the unit tests. @@ -47,7 +50,7 @@ def lint(session): serious code quality issues. """ session.interpreter = 'python3.6' - session.install('flake8') + session.install('flake8', *LOCAL_DEPS) session.install('.') session.run('flake8', 'google/cloud/runtimeconfig') diff --git a/runtimeconfig/setup.py b/runtimeconfig/setup.py index 09c228b91597..3bf1de384092 100644 --- a/runtimeconfig/setup.py +++ b/runtimeconfig/setup.py @@ -44,18 +44,19 @@ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Topic :: Internet', ], } REQUIREMENTS = [ - 'google-cloud-core >= 0.23.1, < 0.24dev', + 'google-cloud-core >= 0.24.0, < 0.25dev', ] setup( name='google-cloud-runtimeconfig', - version='0.23.0', + version='0.24.0', description='Python Client for Google Cloud RuntimeConfig', long_description=README, namespace_packages=[ diff --git a/setup.py b/setup.py index e3f8e256560d..a5d200b150f1 100644 --- a/setup.py +++ b/setup.py @@ -43,34 +43,35 @@ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Topic :: Internet', ], } REQUIREMENTS = [ - 'google-cloud-bigquery >= 0.23.0, < 0.24dev', - 'google-cloud-bigtable >= 0.23.0, < 0.24dev', - 'google-cloud-core >= 0.23.1, < 0.24dev', - 'google-cloud-datastore >= 0.23.0, < 0.24dev', - 'google-cloud-dns >= 0.23.0, < 0.24dev', - 'google-cloud-error-reporting >= 0.23.0, < 0.24dev', - 'google-cloud-language >= 0.23.0, < 0.24dev', - 'google-cloud-logging >= 0.23.0, < 0.24dev', - 'google-cloud-monitoring >= 0.23.0, < 0.24dev', - 'google-cloud-pubsub >= 0.23.0, < 0.24dev', - 'google-cloud-resource-manager >= 0.23.0, < 0.24dev', - 'google-cloud-spanner >= 0.23.1, < 0.24dev', - 'google-cloud-speech >= 0.23.0, < 0.24dev', - 'google-cloud-storage >= 0.23.0, < 0.24dev', - 'google-cloud-translate >= 0.23.0, < 0.24dev', - 'google-cloud-vision >= 0.23.0, < 0.24dev', - 'google-cloud-runtimeconfig >= 0.23.0, < 0.24dev', + 'google-cloud-bigquery >= 0.24.0, < 0.25dev', + 'google-cloud-bigtable >= 0.24.0, < 0.25dev', + 'google-cloud-core >= 0.24.0, < 0.25dev', + 'google-cloud-datastore >= 1.0.0, < 2.0dev', + 'google-cloud-dns >= 0.24.0, < 0.25dev', + 'google-cloud-error-reporting >= 0.24.0, < 0.25dev', + 'google-cloud-language >= 0.24.0, < 0.25dev', + 'google-cloud-logging >= 1.0.0, < 2.0dev', + 'google-cloud-monitoring >= 0.24.0, < 0.25dev', + 'google-cloud-pubsub >= 0.24.0, < 0.25dev', + 'google-cloud-resource-manager >= 0.24.0, < 0.25dev', + 'google-cloud-spanner >= 0.24.0, < 0.25dev', + 'google-cloud-speech >= 0.24.0, < 0.25dev', + 'google-cloud-storage >= 1.0.0, < 2.0dev', + 'google-cloud-translate >= 0.24.0, < 0.25dev', + 'google-cloud-vision >= 0.24.0, < 0.25dev', + 'google-cloud-runtimeconfig >= 0.24.0, < 0.25dev', ] setup( name='google-cloud', - version='0.23.0', + version='0.24.0', description='API Client library for Google Cloud', long_description=README, install_requires=REQUIREMENTS, diff --git a/spanner/nox.py b/spanner/nox.py index 991095644323..ebe45f2f39bf 100644 --- a/spanner/nox.py +++ b/spanner/nox.py @@ -19,6 +19,9 @@ import nox +LOCAL_DEPS = ('../core/',) + + @nox.session @nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6']) def unit_tests(session, python_version): @@ -28,7 +31,7 @@ def unit_tests(session, python_version): session.interpreter = 'python{}'.format(python_version) # Install all test dependencies, then install this package in-place. - session.install('mock', 'pytest', 'pytest-cov', '../core/') + session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS) session.install('-e', '.') # Run py.test against the unit tests. @@ -53,8 +56,8 @@ def system_tests(session, python_version): # Install all test dependencies, then install this package into the # virutalenv's dist-packages. - session.install('mock', 'pytest', - '../core/', '../test_utils/') + session.install('mock', 'pytest', *LOCAL_DEPS) + session.install('../test_utils/') session.install('.') # Run py.test against the system tests. @@ -69,7 +72,7 @@ def lint(session): serious code quality issues. """ session.interpreter = 'python3.6' - session.install('flake8') + session.install('flake8', *LOCAL_DEPS) session.install('.') session.run('flake8', 'google/cloud/spanner') diff --git a/spanner/setup.py b/spanner/setup.py index cf59f658dd6d..69783985c670 100644 --- a/spanner/setup.py +++ b/spanner/setup.py @@ -44,13 +44,14 @@ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Topic :: Internet', ], } REQUIREMENTS = [ - 'google-cloud-core >= 0.23.1, < 0.24dev', + 'google-cloud-core >= 0.24.0, < 0.25dev', 'grpcio >= 1.2.0, < 2.0dev', 'gapic-google-cloud-spanner-v1 >= 0.15.0, < 0.16dev', 'gapic-google-cloud-spanner-admin-database-v1 >= 0.15.0, < 0.16dev', @@ -59,7 +60,7 @@ setup( name='google-cloud-spanner', - version='0.23.1', + version='0.24.0', description='Python Client for Cloud Spanner', long_description=README, namespace_packages=[ diff --git a/speech/nox.py b/speech/nox.py index 5f4b058aabe0..ed7a7e85997c 100644 --- a/speech/nox.py +++ b/speech/nox.py @@ -19,6 +19,9 @@ import nox +LOCAL_DEPS = ('../core/',) + + @nox.session @nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6']) def unit_tests(session, python_version): @@ -28,7 +31,7 @@ def unit_tests(session, python_version): session.interpreter = 'python{}'.format(python_version) # Install all test dependencies, then install this package in-place. - session.install('mock', 'pytest', 'pytest-cov', '../core/') + session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS) session.install('-e', '.') # Run py.test against the unit tests. @@ -53,9 +56,8 @@ def system_tests(session, python_version): # Install all test dependencies, then install this package into the # virutalenv's dist-packages. - session.install('mock', 'pytest', - '../core/', '../test_utils/', - '../storage/') + session.install('mock', 'pytest', *LOCAL_DEPS) + session.install('../test_utils/', '../storage/') session.install('.') # Run py.test against the system tests. @@ -70,7 +72,7 @@ def lint(session): serious code quality issues. """ session.interpreter = 'python3.6' - session.install('flake8') + session.install('flake8', *LOCAL_DEPS) session.install('.') session.run('flake8', 'google/cloud/speech') diff --git a/speech/setup.py b/speech/setup.py index dd7fc501c939..17a3d7585b70 100644 --- a/speech/setup.py +++ b/speech/setup.py @@ -44,19 +44,20 @@ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Topic :: Internet', ], } REQUIREMENTS = [ - 'google-cloud-core >= 0.23.1, < 0.24dev', + 'google-cloud-core >= 0.24.0, < 0.25dev', 'grpcio >= 1.0.2, < 2.0dev', 'gapic-google-cloud-speech-v1beta1 >= 0.15.2, < 0.16dev', ] setup( name='google-cloud-speech', - version='0.23.0', + version='0.24.0', description='Python Client for Google Cloud Speech', long_description=README, namespace_packages=[ diff --git a/storage/nox.py b/storage/nox.py index fa4de09af7d6..00a8b641897b 100644 --- a/storage/nox.py +++ b/storage/nox.py @@ -19,6 +19,9 @@ import nox +LOCAL_DEPS = ('../core/',) + + @nox.session @nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6']) def unit_tests(session, python_version): @@ -28,7 +31,7 @@ def unit_tests(session, python_version): session.interpreter = 'python{}'.format(python_version) # Install all test dependencies, then install this package in-place. - session.install('mock', 'pytest', 'pytest-cov', '../core/') + session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS) session.install('-e', '.') # Run py.test against the unit tests. @@ -53,8 +56,8 @@ def system_tests(session, python_version): # Install all test dependencies, then install this package into the # virutalenv's dist-packages. - session.install('mock', 'pytest', - '../core/', '../test_utils/') + session.install('mock', 'pytest', *LOCAL_DEPS) + session.install('../test_utils/') session.install('.') # Run py.test against the system tests. @@ -69,7 +72,7 @@ def lint(session): serious code quality issues. """ session.interpreter = 'python3.6' - session.install('flake8') + session.install('flake8', *LOCAL_DEPS) session.install('.') session.run('flake8', 'google/cloud/storage') diff --git a/storage/setup.py b/storage/setup.py index f44f9dcf988c..1df63934ebf6 100644 --- a/storage/setup.py +++ b/storage/setup.py @@ -35,7 +35,7 @@ 'include_package_data': True, 'zip_safe': False, 'classifiers': [ - 'Development Status :: 4 - Beta', + 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', @@ -44,18 +44,19 @@ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Topic :: Internet', ], } REQUIREMENTS = [ - 'google-cloud-core >= 0.23.1, < 0.24dev', + 'google-cloud-core >= 0.24.0, < 0.25dev', ] setup( name='google-cloud-storage', - version='0.23.1', + version='1.0.0', description='Python Client for Google Cloud Storage', long_description=README, namespace_packages=[ diff --git a/test_utils/setup.py b/test_utils/setup.py index c293d1d5ac15..b913d6e0f1dd 100644 --- a/test_utils/setup.py +++ b/test_utils/setup.py @@ -42,20 +42,21 @@ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Topic :: Internet', ], } REQUIREMENTS = [ - 'google-cloud-core >= 0.23.1, < 0.24dev', + 'google-cloud-core >= 0.24.0, < 0.25dev', 'google-auth >= 0.4.0', 'six', ] setup( name='google-cloud-testutils', - version='0.23.0', + version='0.24.0', description='System test utilities for google-cloud-python', packages=find_packages(), install_requires=REQUIREMENTS, diff --git a/translate/nox.py b/translate/nox.py index f5a98426609c..43d3622a6562 100644 --- a/translate/nox.py +++ b/translate/nox.py @@ -19,6 +19,9 @@ import nox +LOCAL_DEPS = ('../core/',) + + @nox.session @nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6']) def unit_tests(session, python_version): @@ -28,7 +31,7 @@ def unit_tests(session, python_version): session.interpreter = 'python{}'.format(python_version) # Install all test dependencies, then install this package in-place. - session.install('mock', 'pytest', 'pytest-cov', '../core/') + session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS) session.install('-e', '.') # Run py.test against the unit tests. @@ -53,8 +56,8 @@ def system_tests(session, python_version): # Install all test dependencies, then install this package into the # virutalenv's dist-packages. - session.install('mock', 'pytest', - '../core/', '../test_utils/') + session.install('mock', 'pytest', *LOCAL_DEPS) + session.install('../test_utils/') session.install('.') # Run py.test against the system tests. @@ -69,7 +72,7 @@ def lint(session): serious code quality issues. """ session.interpreter = 'python3.6' - session.install('flake8') + session.install('flake8', *LOCAL_DEPS) session.install('.') session.run('flake8', 'google/cloud/translate') diff --git a/translate/setup.py b/translate/setup.py index 9fa55a825f7f..1ad5c323d4ef 100644 --- a/translate/setup.py +++ b/translate/setup.py @@ -35,7 +35,7 @@ 'include_package_data': True, 'zip_safe': False, 'classifiers': [ - 'Development Status :: 3 - Alpha', + 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', @@ -44,18 +44,19 @@ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Topic :: Internet', ], } REQUIREMENTS = [ - 'google-cloud-core >= 0.23.1, < 0.24dev', + 'google-cloud-core >= 0.24.0, < 0.25dev', ] setup( name='google-cloud-translate', - version='0.23.0', + version='0.24.0', description='Python Client for Google Cloud Translation API', long_description=README, namespace_packages=[ diff --git a/vision/nox.py b/vision/nox.py index dde7c7320184..d8f4cd8cb4f6 100644 --- a/vision/nox.py +++ b/vision/nox.py @@ -19,6 +19,9 @@ import nox +LOCAL_DEPS = ('../core/',) + + @nox.session @nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6']) def unit_tests(session, python_version): @@ -28,7 +31,7 @@ def unit_tests(session, python_version): session.interpreter = 'python{}'.format(python_version) # Install all test dependencies, then install this package in-place. - session.install('mock', 'pytest', 'pytest-cov', '../core/') + session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS) session.install('-e', '.') # Run py.test against the unit tests. @@ -53,8 +56,8 @@ def system_tests(session, python_version): # Install all test dependencies, then install this package into the # virutalenv's dist-packages. - session.install('mock', 'pytest', - '../core/', '../test_utils/', '../storage/') + session.install('mock', 'pytest', *LOCAL_DEPS) + session.install('../test_utils/', '../storage/') session.install('.') # Run py.test against the system tests. @@ -69,7 +72,7 @@ def lint(session): serious code quality issues. """ session.interpreter = 'python3.6' - session.install('flake8') + session.install('flake8', *LOCAL_DEPS) session.install('.') session.run('flake8', 'google/cloud/vision') diff --git a/vision/setup.py b/vision/setup.py index 56dc50646c68..476fb354623d 100644 --- a/vision/setup.py +++ b/vision/setup.py @@ -44,6 +44,7 @@ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Topic :: Internet', ], } @@ -51,13 +52,13 @@ REQUIREMENTS = [ 'enum34', - 'google-cloud-core >= 0.23.1, < 0.24dev', + 'google-cloud-core >= 0.24.0, < 0.25dev', 'gapic-google-cloud-vision-v1 >= 0.90.3, < 0.91dev', ] setup( name='google-cloud-vision', - version='0.23.3', + version='0.24.0', description='Python Client for Google Cloud Vision', long_description=README, namespace_packages=[