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 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.
  • Loading branch information
lukesneeringer authored Mar 30, 2017
1 parent 1a49652 commit f8234bf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
11 changes: 7 additions & 4 deletions packages/google-cloud-monitoring/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,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.
Expand All @@ -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')

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

0 comments on commit f8234bf

Please sign in to comment.