Skip to content

Commit

Permalink
GA and Beta Promotions (#3245)
Browse files Browse the repository at this point in the history
* Make clients explicitly unpickleable.

Closes #3211.

* Make clients explicitly unpickleable.

Closes #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 ea8d8d85da0af8720ee919313d61df626acb9103.

* 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.
  • Loading branch information
lukesneeringer authored Mar 30, 2017
1 parent 27dc9b5 commit bc6f2ef
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
12 changes: 7 additions & 5 deletions packages/google-cloud-python-speech/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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.
Expand All @@ -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.
Expand All @@ -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')

Expand Down
5 changes: 3 additions & 2 deletions packages/google-cloud-python-speech/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=[
Expand Down

0 comments on commit bc6f2ef

Please sign in to comment.