Skip to content

Commit 9644328

Browse files
committed
Make the example work
- workaround bazelbuild/rules_python#14 in rules_python - workaround bazelbuild/rules_python#30 by installing `futures` - update deps to fix an incompatibility in google.cloud.exceptions
1 parent 92e3e0e commit 9644328

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

BUILD

+3
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,8 @@ py_binary(
88
deps = [
99
requirement("google-cloud-bigquery"),
1010
requirement("google-cloud-storage"),
11+
12+
# Work around https://github.com/bazelbuild/rules_python/issues/30
13+
requirement("futures"),
1114
],
1215
)

WORKSPACE

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Helpful macros to support requirements/pip integration.
22
git_repository(
33
name = "io_bazel_rules_python",
4-
commit = "40d44a7258a9016925969e2ff41c93881ddd7155",
5-
remote = "https://github.com/bazelbuild/rules_python.git",
4+
commit = "5f78b4a04a50d660ec346df1a1ab76b02130c304",
5+
remote = "https://github.com/drigz/rules_python.git",
66
)
77

88
load("@io_bazel_rules_python//python:pip.bzl", "pip_repositories", "pip_import")

requirements.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
google-cloud-bigquery==0.27.0
2-
google-cloud-storage==1.1.1
1+
futures==3.1.1
2+
google-cloud-bigquery==0.28.0
3+
google-cloud-storage==1.6.0

0 commit comments

Comments
 (0)