Skip to content

Commit 69d956e

Browse files
committed
fix build
1 parent 0b70fa8 commit 69d956e

1 file changed

Lines changed: 2 additions & 44 deletions

File tree

packages/google-cloud-runtimeconfig/noxfile.py

Lines changed: 2 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -432,37 +432,12 @@ def prerelease_deps(session, protobuf_implementation):
432432
session.install(*constraints_deps)
433433

434434
prerel_deps = [
435-
"protobuf",
436-
# dependency of grpc
437-
"six",
438-
"grpc-google-iam-v1",
439-
"googleapis-common-protos",
440-
"grpcio",
441-
"grpcio-status",
442-
"google-api-core",
443-
"google-auth",
444-
"proto-plus",
445-
"google-cloud-testutils",
446-
# dependencies of google-cloud-testutils"
447-
"click",
435+
"google-cloud-core",
448436
]
449437

450438
for dep in prerel_deps:
451439
session.install("--pre", "--no-deps", "--upgrade", dep)
452440

453-
# Remaining dependencies
454-
other_deps = [
455-
"requests",
456-
]
457-
session.install(*other_deps)
458-
459-
# Print out prerelease package versions
460-
session.run(
461-
"python", "-c", "import google.protobuf; print(google.protobuf.__version__)"
462-
)
463-
session.run("python", "-c", "import grpc; print(grpc.__version__)")
464-
session.run("python", "-c", "import google.auth; print(google.auth.__version__)")
465-
466441
session.run(
467442
"py.test",
468443
"tests/unit",
@@ -549,29 +524,12 @@ def core_deps_from_source(session, protobuf_implementation):
549524
# Note: If a dependency is added to the `core_dependencies_from_source` list,
550525
# the `prerel_deps` list in the `prerelease_deps` nox session should also be updated.
551526
core_dependencies_from_source = [
552-
"googleapis-common-protos @ git+https://github.com/googleapis/google-cloud-python#egg=googleapis-common-protos&subdirectory=packages/googleapis-common-protos",
553-
"google-api-core @ git+https://github.com/googleapis/python-api-core.git",
554-
"google-auth @ git+https://github.com/googleapis/google-auth-library-python.git",
555-
"grpc-google-iam-v1 @ git+https://github.com/googleapis/google-cloud-python#egg=grpc-google-iam-v1&subdirectory=packages/grpc-google-iam-v1",
556-
"proto-plus @ git+https://github.com/googleapis/proto-plus-python.git",
527+
"google-cloud-core @ git+https://github.com/googleapis/python-cloud-core.git",
557528
]
558529

559530
for dep in core_dependencies_from_source:
560531
session.install("--pre", "--no-deps", "--upgrade", dep)
561532

562-
# Remaining dependencies
563-
other_deps = [
564-
"requests",
565-
]
566-
session.install(*other_deps)
567-
568-
# Print out package versions
569-
session.run(
570-
"python", "-c", "import google.protobuf; print(google.protobuf.__version__)"
571-
)
572-
session.run("python", "-c", "import grpc; print(grpc.__version__)")
573-
session.run("python", "-c", "import google.auth; print(google.auth.__version__)")
574-
575533
session.run(
576534
"py.test",
577535
"tests/unit",

0 commit comments

Comments
 (0)