Skip to content
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

Avoid broken 'google-common-apis 1.5.4' release. #6355

Merged
merged 2 commits into from
Oct 31, 2018
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 api_core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# 'Development Status :: 5 - Production/Stable'
release_status = 'Development Status :: 5 - Production/Stable'
dependencies = [
'googleapis-common-protos<2.0dev,>=1.5.3',
'googleapis-common-protos<2.0dev,>=1.5.3,!=1.5.4',
'protobuf>=3.4.0',
'google-auth<2.0.0dev,>=0.4.0',
'requests<3.0.0dev,>=2.18.0',
Expand Down
7 changes: 7 additions & 0 deletions asset/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,16 @@

import nox


LOCAL_DEPS = (
os.path.join('..', 'api_core'),
)

def default(session):
# Install all test dependencies, then install this package in-place.
session.install('pytest')
for local_dep in LOCAL_DEPS:
session.install('-e', local_dep)
session.install('-e', '.')

# Run py.test against the unit tests.
Expand Down
19 changes: 13 additions & 6 deletions automl/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,20 @@
import nox


def default(session):
# Install all test dependencies, then install this package in-place.
session.install('pytest')
session.install('-e', '.')
LOCAL_DEPS = (
os.path.join('..', 'api_core'),
)


# Run py.test against the unit tests.
session.run('py.test', '--quiet', os.path.join('tests', 'unit'))
def default(session):
# Install all test dependencies, then install this package in-place.
session.install('pytest')
for local_dep in LOCAL_DEPS:
session.install('-e', local_dep)
session.install('-e', '.')

# Run py.test against the unit tests.
session.run('py.test', '--quiet', os.path.join('tests', 'unit'))


@nox.session(python=['2.7', '3.5', '3.6', '3.7'])
Expand Down
9 changes: 9 additions & 0 deletions iot/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,16 @@
import nox


LOCAL_DEPS = (
os.path.join('..', 'api_core'),
)


def default(session):
# Install all test dependencies, then install this package in-place.
session.install('pytest')
for local_dep in LOCAL_DEPS:
session.install('-e', local_dep)
session.install('-e', '.')

# Run py.test against the unit tests.
Expand All @@ -43,6 +50,8 @@ def system(session):

# Install all test dependencies, then install this package in-place.
session.install('pytest')
for local_dep in LOCAL_DEPS:
session.install('-e', local_dep)
session.install('-e', '.')

# Run py.test against the unit tests.
Expand Down
7 changes: 7 additions & 0 deletions kms/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,16 @@
import nox


LOCAL_DEPS = (
os.path.join('..', 'api_core'),
)


def default(session):
# Install all test dependencies, then install this package in-place.
session.install('pytest')
for local_dep in LOCAL_DEPS:
session.install('-e', local_dep)
session.install('-e', '.')

# Run py.test against the unit tests.
Expand Down
7 changes: 7 additions & 0 deletions oslogin/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,16 @@
import nox


LOCAL_DEPS = (
os.path.join('..', 'api_core'),
)


def default(session):
# Install all test dependencies, then install this package in-place.
session.install('pytest')
for local_dep in LOCAL_DEPS:
session.install('-e', local_dep)
session.install('-e', '.')

# Run py.test against the unit tests.
Expand Down
7 changes: 7 additions & 0 deletions tasks/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,16 @@
import nox


LOCAL_DEPS = (
os.path.join('..', 'api_core'),
)


def default(session):
# Install all test dependencies, then install this package in-place.
session.install('pytest')
for local_dep in LOCAL_DEPS:
session.install('-e', local_dep)
session.install('-e', '.')

# Run py.test against the unit tests.
Expand Down
7 changes: 7 additions & 0 deletions texttospeech/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,16 @@

import nox


LOCAL_DEPS = (
os.path.join('..', 'api_core'),
)

def default(session):
# Install all test dependencies, then install this package in-place.
session.install('pytest')
for local_dep in LOCAL_DEPS:
session.install('-e', local_dep)
session.install('-e', '.')

# Run py.test against the unit tests.
Expand Down
7 changes: 7 additions & 0 deletions videointelligence/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,16 @@
import nox


LOCAL_DEPS = (
os.path.join('..', 'api_core'),
)


def default(session):
# Install all test dependencies, then install this package in-place.
session.install('pytest')
for local_dep in LOCAL_DEPS:
session.install('-e', local_dep)
session.install('-e', '.')

# Run py.test against the unit tests.
Expand Down