Skip to content

Commit 175a587

Browse files
GA and Beta Promotions (googleapis#3245)
* Make clients explicitly unpickleable. Closes googleapis#3211. * Make clients explicitly unpickleable. Closes googleapis#3211. * Add GA designator, add 1.0 version numbers. * Version changes. Eep. * Oops, Speech is still alpha. * 0.24.0, not 0.24.1 * Remove double __getstate__ goof. * Version changes. Eep. * Oops, Speech is still alpha. * Remove double __getstate__ goof. * Adding 3.6 classifier where missing and fixing bad versions. Done via "git grep '0\.24'" and "git grep '0\.23'". * Fix Noxfiles forlocal packages. * Fixing copy-pasta issue in error reporting nox config. Also fixing bad indent in same file. * Depend on stable logging in error reporting package. * Fixing lint errors in error_reporting. These were masked because error_reporting's lint nox session was linting the datastore codebase. This also means that the error reporting package has gained __all__. * Fixing a syntax error in nox config for logging. Also fixing an indent error while I was in there. * Revert "Add docs for 'result_index' usage and a system test." This reverts commit b5742aa. * Fixing docs nox session for umbrella package. Two issues: - error_reporting came BEFORE logging (which means it would try to pull in a logging dep from PyPI that doesn't exist) - dns was NOT in the list of local packages * Updating upper bound on logging in error_reporting. * Un-revert typo fix.
1 parent 5113bff commit 175a587

File tree

41 files changed

+219
-141
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+219
-141
lines changed

README.rst

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,25 @@ Google Cloud Python Client
1515
.. _API Documentation: https://googlecloudplatform.github.io/google-cloud-python/stable/
1616
.. _Read The Docs Documentation: https://google-cloud-python.readthedocs.io/en/latest/
1717

18-
This client library has **beta** support for the following Google
19-
Cloud Platform services:
18+
The following client libraries have **GA** support:
2019

21-
- `Google BigQuery`_ (`BigQuery README`_)
2220
- `Google Cloud Datastore`_ (`Datastore README`_)
2321
- `Stackdriver Logging`_ (`Logging README`_)
2422
- `Google Cloud Storage`_ (`Storage README`_)
23+
24+
**GA** (general availability) indicates that the client library for a
25+
particular service is stable, and that the code surface will not change in
26+
backwards-incompatible ways unless either absolutely necessary (e.g. because
27+
of critical security issues) or with an extensive deprecation period.
28+
Issues and requests against GA libraries are addressed with the highest
29+
priority.
30+
31+
The following client libraries have **beta** support:
32+
33+
- `Google BigQuery`_ (`BigQuery README`_)
2534
- `Google Cloud Vision`_ (`Vision README`_)
35+
- `Google Cloud Natural Language`_ (`Natural Language README`_)
36+
- `Google Cloud Translation`_ (`Translation README`_)
2637

2738
**Beta** indicates that the client library for a particular service is
2839
mostly stable and is being prepared for release. Issues and requests
@@ -37,8 +48,6 @@ Cloud Platform services:
3748
- `Google Cloud Bigtable`_ (`Bigtable README`_)
3849
- `Google Cloud DNS`_ (`DNS README`_)
3950
- `Stackdriver Error Reporting`_ (`Error Reporting README`_)
40-
- `Google Cloud Natural Language`_ (`Natural Language README`_)
41-
- `Google Cloud Translation`_ (`Translation README`_)
4251
- `Google Cloud Speech`_ (`Speech README`_)
4352
- `Google Cloud Bigtable - HappyBase`_ (`HappyBase README`_)
4453
- `Google Cloud Runtime Configuration`_ (`Runtime Config README`_)

bigquery/nox.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
import nox
2020

2121

22+
LOCAL_DEPS = ('../core/',)
23+
24+
2225
@nox.session
2326
@nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6'])
2427
def unit_tests(session, python_version):
@@ -28,7 +31,7 @@ def unit_tests(session, python_version):
2831
session.interpreter = 'python{}'.format(python_version)
2932

3033
# Install all test dependencies, then install this package in-place.
31-
session.install('mock', 'pytest', 'pytest-cov', '../core/')
34+
session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS)
3235
session.install('-e', '.')
3336

3437
# Run py.test against the unit tests.
@@ -53,9 +56,8 @@ def system_tests(session, python_version):
5356

5457
# Install all test dependencies, then install this package into the
5558
# virutalenv's dist-packages.
56-
session.install('mock', 'pytest',
57-
'../core/', '../test_utils/',
58-
'../storage/')
59+
session.install('mock', 'pytest', *LOCAL_DEPS)
60+
session.install('../storage/', '../test_utils/')
5961
session.install('.')
6062

6163
# Run py.test against the system tests.
@@ -70,7 +72,7 @@ def lint(session):
7072
serious code quality issues.
7173
"""
7274
session.interpreter = 'python3.6'
73-
session.install('flake8')
75+
session.install('flake8', *LOCAL_DEPS)
7476
session.install('.')
7577
session.run('flake8', 'google/cloud/bigquery')
7678

bigquery/setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,19 @@
4444
'Programming Language :: Python :: 3',
4545
'Programming Language :: Python :: 3.4',
4646
'Programming Language :: Python :: 3.5',
47+
'Programming Language :: Python :: 3.6',
4748
'Topic :: Internet',
4849
],
4950
}
5051

5152

5253
REQUIREMENTS = [
53-
'google-cloud-core >= 0.23.1, < 0.24dev',
54+
'google-cloud-core >= 0.24.0, < 0.25dev',
5455
]
5556

5657
setup(
5758
name='google-cloud-bigquery',
58-
version='0.23.0',
59+
version='0.24.0',
5960
description='Python Client for Google BigQuery',
6061
long_description=README,
6162
namespace_packages=[

bigtable/nox.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
import nox
1919

2020

21+
LOCAL_DEPS = ('../core/',)
22+
23+
2124
@nox.session
2225
@nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6'])
2326
def unit_tests(session, python_version):
@@ -27,7 +30,7 @@ def unit_tests(session, python_version):
2730
session.interpreter = 'python{}'.format(python_version)
2831

2932
# Install all test dependencies, then install this package in-place.
30-
session.install('mock', 'pytest', 'pytest-cov', '../core/')
33+
session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS)
3134
session.install('-e', '.')
3235

3336
# Run py.test against the unit tests.
@@ -52,8 +55,8 @@ def system_tests(session, python_version):
5255

5356
# Install all test dependencies, then install this package into the
5457
# virutalenv's dist-packages.
55-
session.install('mock', 'pytest',
56-
'../core/', '../test_utils/')
58+
session.install('mock', 'pytest', *LOCAL_DEPS)
59+
session.install('../test_utils/')
5760
session.install('.')
5861

5962
# Run py.test against the system tests.
@@ -68,7 +71,7 @@ def lint(session):
6871
serious code quality issues.
6972
"""
7073
session.interpreter = 'python3.6'
71-
session.install('flake8')
74+
session.install('flake8', *LOCAL_DEPS)
7275
session.install('.')
7376
session.run('flake8', 'google/cloud/bigtable')
7477

bigtable/setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,20 @@
4444
'Programming Language :: Python :: 3',
4545
'Programming Language :: Python :: 3.4',
4646
'Programming Language :: Python :: 3.5',
47+
'Programming Language :: Python :: 3.6',
4748
'Topic :: Internet',
4849
],
4950
}
5051

5152

5253
REQUIREMENTS = [
53-
'google-cloud-core >= 0.23.1, < 0.24dev',
54+
'google-cloud-core >= 0.24.0, < 0.25dev',
5455
'google-gax>=0.15.7, <0.16dev',
5556
]
5657

5758
setup(
5859
name='google-cloud-bigtable',
59-
version='0.23.1',
60+
version='0.24.0',
6061
description='Python Client for Google Cloud Bigtable',
6162
long_description=README,
6263
namespace_packages=[

core/setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
'Programming Language :: Python :: 3',
4545
'Programming Language :: Python :: 3.4',
4646
'Programming Language :: Python :: 3.5',
47+
'Programming Language :: Python :: 3.6',
4748
'Topic :: Internet',
4849
],
4950
}
@@ -60,7 +61,7 @@
6061

6162
setup(
6263
name='google-cloud-core',
63-
version='0.23.1',
64+
version='0.24.0',
6465
description='API Client library for Google Cloud: Core Helpers',
6566
long_description=README,
6667
namespace_packages=[

datastore/nox.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
import nox
2020

2121

22+
LOCAL_DEPS = ('../core/',)
23+
24+
2225
@nox.session
2326
@nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6'])
2427
def unit_tests(session, python_version):
@@ -28,7 +31,7 @@ def unit_tests(session, python_version):
2831
session.interpreter = 'python{}'.format(python_version)
2932

3033
# Install all test dependencies, then install this package in-place.
31-
session.install('mock', 'pytest', 'pytest-cov', '../core/')
34+
session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS)
3235
session.install('-e', '.')
3336

3437
# Run py.test against the unit tests.
@@ -53,7 +56,8 @@ def system_tests(session, python_version):
5356

5457
# Install all test dependencies, then install this package into the
5558
# virutalenv's dist-packages.
56-
session.install('mock', 'pytest', '../core/', '../test_utils/')
59+
session.install('mock', 'pytest', *LOCAL_DEPS)
60+
session.install('../test_utils/')
5761
session.install('.')
5862

5963
# Run py.test against the system tests.
@@ -76,8 +80,8 @@ def doctests(session):
7680

7781
# Install all test dependencies, then install this package into the
7882
# virutalenv's dist-packages.
79-
session.install('mock', 'pytest', 'sphinx',
80-
'../core/', '../test_utils/')
83+
session.install('mock', 'pytest', 'sphinx', *LOCAL_DEPS)
84+
session.install('../test_utils/')
8185
session.install('.')
8286

8387
# Run py.test against the system tests.
@@ -92,7 +96,7 @@ def lint(session):
9296
serious code quality issues.
9397
"""
9498
session.interpreter = 'python3.6'
95-
session.install('flake8')
99+
session.install('flake8', *LOCAL_DEPS)
96100
session.install('.')
97101
session.run('flake8', 'google/cloud/datastore')
98102

datastore/setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
'include_package_data': True,
3636
'zip_safe': False,
3737
'classifiers': [
38-
'Development Status :: 4 - Beta',
38+
'Development Status :: 5 - Production/Stable',
3939
'Intended Audience :: Developers',
4040
'License :: OSI Approved :: Apache Software License',
4141
'Operating System :: OS Independent',
@@ -44,20 +44,21 @@
4444
'Programming Language :: Python :: 3',
4545
'Programming Language :: Python :: 3.4',
4646
'Programming Language :: Python :: 3.5',
47+
'Programming Language :: Python :: 3.6',
4748
'Topic :: Internet',
4849
],
4950
}
5051

5152

5253
REQUIREMENTS = [
53-
'google-cloud-core >= 0.23.1, < 0.24dev',
54+
'google-cloud-core >= 0.24.0, < 0.25dev',
5455
'google-gax>=0.15.7, <0.16dev',
5556
'gapic-google-cloud-datastore-v1 >= 0.15.0, < 0.16dev',
5657
]
5758

5859
setup(
5960
name='google-cloud-datastore',
60-
version='0.23.0',
61+
version='1.0.0',
6162
description='Python Client for Google Cloud Datastore',
6263
long_description=README,
6364
namespace_packages=[

dns/nox.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
import nox
2020

2121

22+
LOCAL_DEPS = ('../core/',)
23+
24+
2225
@nox.session
2326
@nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6'])
2427
def unit_tests(session, python_version):
@@ -28,7 +31,7 @@ def unit_tests(session, python_version):
2831
session.interpreter = 'python{}'.format(python_version)
2932

3033
# Install all test dependencies, then install this package in-place.
31-
session.install('mock', 'pytest', 'pytest-cov', '../core/')
34+
session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS)
3235
session.install('-e', '.')
3336

3437
# Run py.test against the unit tests.
@@ -47,7 +50,7 @@ def lint(session):
4750
serious code quality issues.
4851
"""
4952
session.interpreter = 'python3.6'
50-
session.install('flake8')
53+
session.install('flake8', *LOCAL_DEPS)
5154
session.install('.')
5255
session.run('flake8', 'google/cloud/dns')
5356

dns/setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,19 @@
4444
'Programming Language :: Python :: 3',
4545
'Programming Language :: Python :: 3.4',
4646
'Programming Language :: Python :: 3.5',
47+
'Programming Language :: Python :: 3.6',
4748
'Topic :: Internet',
4849
],
4950
}
5051

5152

5253
REQUIREMENTS = [
53-
'google-cloud-core >= 0.23.1, < 0.24dev',
54+
'google-cloud-core >= 0.24.0, < 0.25dev',
5455
]
5556

5657
setup(
5758
name='google-cloud-dns',
58-
version='0.23.0',
59+
version='0.24.0',
5960
description='Python Client for Google Cloud DNS',
6061
long_description=README,
6162
namespace_packages=[

0 commit comments

Comments
 (0)