Skip to content

Commit

Permalink
Merge pull request #326 from google/gbm_import
Browse files Browse the repository at this point in the history
Fix dependencies
  • Loading branch information
achoum committed Dec 14, 2023
2 parents 32470e8 + dc3c389 commit a3dfdfd
Show file tree
Hide file tree
Showing 26 changed files with 171 additions and 37 deletions.
1 change: 1 addition & 0 deletions docs/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ py_test(
srcs_version = "PY3",
deps = [
# already_there/absl/testing:absltest
# already_there/absl/testing:parameterized
"//temporian",
],
)
2 changes: 1 addition & 1 deletion temporian/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ py_library(
],
srcs_version = "PY3",
deps = [
"//temporian/core:types",
"//temporian/core:compilation",
"//temporian/core:evaluation",
"//temporian/core:serialization",
"//temporian/core:typing",
"//temporian/core/data:dtype",
"//temporian/core/data:duration",
"//temporian/core/data:node",
Expand Down
3 changes: 3 additions & 0 deletions temporian/beam/io/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ py_test(
srcs_version = "PY3",
deps = [
# already_there/absl/testing:absltest
# already_there/absl/testing:parameterized
"//temporian/beam/io:dict",
"//temporian/core/data:node",
"//temporian/core/data:dtype",
Expand All @@ -28,6 +29,7 @@ py_test(
srcs_version = "PY3",
deps = [
# already_there/absl/testing:absltest
# already_there/absl/testing:parameterized
"//temporian/beam/io:tensorflow",
"//temporian/beam/io:dict",
"//temporian/core/data:node",
Expand All @@ -47,6 +49,7 @@ py_test(
srcs_version = "PY3",
deps = [
# already_there/absl/testing:absltest
# already_there/absl/testing:parameterized
"//temporian/beam/io:csv",
"//temporian/beam/io:dict",
"//temporian/core/data:node",
Expand Down
4 changes: 2 additions & 2 deletions temporian/beam/operators/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ py_library(
"//temporian/beam:implementation_lib",
"//temporian/beam:typing",
"//temporian/beam/operators:base",
"//temporian/core/operators:select",
"//temporian/core/operators:rename",
],
)

Expand All @@ -82,6 +82,6 @@ py_library(
"//temporian/beam:implementation_lib",
"//temporian/beam:typing",
"//temporian/beam/operators:base",
"//temporian/core/operators:select",
"//temporian/core/operators:prefix",
],
)
4 changes: 4 additions & 0 deletions temporian/beam/operators/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ py_test(
srcs_version = "PY3",
deps = [
# already_there/absl/testing:absltest
# already_there/absl/testing:parameterized
"//temporian/implementation/numpy/data:io",
"//temporian/beam/test:utils",
"//temporian/core/operators:select",
Expand All @@ -21,6 +22,7 @@ py_test(
srcs_version = "PY3",
deps = [
# already_there/absl/testing:absltest
# already_there/absl/testing:parameterized
"//temporian/implementation/numpy/data:io",
"//temporian/beam/test:utils",
"//temporian/core/operators:add_index",
Expand All @@ -33,6 +35,7 @@ py_test(
srcs_version = "PY3",
deps = [
# already_there/absl/testing:absltest
# already_there/absl/testing:parameterized
"//temporian/implementation/numpy/data:io",
"//temporian/beam/test:utils",
"//temporian/core/operators:rename",
Expand All @@ -46,6 +49,7 @@ py_test(
srcs_version = "PY3",
deps = [
# already_there/absl/testing:absltest
# already_there/absl/testing:parameterized
"//temporian/implementation/numpy/data:io",
"//temporian/beam/test:utils",
"//temporian/core/operators:prefix",
Expand Down
23 changes: 19 additions & 4 deletions temporian/beam/operators/window/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@ py_library(
srcs = ["base.py"],
srcs_version = "PY3",
deps = [
# already_there/apache_beam

"//temporian/beam:typing",
"//temporian/beam:implementation_lib",
"//temporian/beam/operators:base",
"//temporian/beam/io:dict",
"//temporian/implementation/numpy/operators:base",
"//temporian/core/operators/window:base",
"//temporian/implementation/numpy/operators/window:base",
],
)

Expand All @@ -28,6 +27,12 @@ py_library(
":base",
"//temporian/core/operators/window:moving_count",
"//temporian/implementation/numpy/operators/window:moving_count",
"//temporian/beam:implementation_lib",
"//temporian/beam/operators:base",
"//temporian/core/operators/window:base",
"//temporian/beam:typing",
# already_there/apache_beam
"//temporian/implementation/numpy/operators/window:base",
],
)

Expand All @@ -39,6 +44,8 @@ py_library(
":base",
"//temporian/core/operators/window:moving_max",
"//temporian/implementation/numpy/operators/window:moving_max",
"//temporian/beam:implementation_lib",
"//temporian/implementation/numpy/operators/window:base",
],
)

Expand All @@ -50,6 +57,8 @@ py_library(
":base",
"//temporian/core/operators/window:moving_min",
"//temporian/implementation/numpy/operators/window:moving_min",
"//temporian/beam:implementation_lib",
"//temporian/implementation/numpy/operators/window:base",
],
)

Expand All @@ -61,6 +70,8 @@ py_library(
":base",
"//temporian/core/operators/window:moving_standard_deviation",
"//temporian/implementation/numpy/operators/window:moving_standard_deviation",
"//temporian/beam:implementation_lib",
"//temporian/implementation/numpy/operators/window:base",
],
)

Expand All @@ -72,6 +83,8 @@ py_library(
":base",
"//temporian/core/operators/window:moving_sum",
"//temporian/implementation/numpy/operators/window:moving_sum",
"//temporian/beam:implementation_lib",
"//temporian/implementation/numpy/operators/window:base",
],
)

Expand All @@ -83,5 +96,7 @@ py_library(
":base",
"//temporian/core/operators/window:simple_moving_average",
"//temporian/implementation/numpy/operators/window:simple_moving_average",
"//temporian/beam:implementation_lib",
"//temporian/implementation/numpy/operators/window:base",
],
)
1 change: 1 addition & 0 deletions temporian/beam/operators/window/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ py_test(
srcs_version = "PY3",
deps = [
# already_there/absl/testing:absltest
# already_there/absl/testing:parameterized
"//temporian/implementation/numpy/data:io",
"//temporian/beam/test:utils",
"//temporian/core/operators/window:moving_sum",
Expand Down
3 changes: 3 additions & 0 deletions temporian/beam/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ py_test(
srcs_version = "PY3",
deps = [
# already_there/absl/testing:absltest
# already_there/absl/testing:parameterized
"//temporian/implementation/numpy/data:io",
"//temporian/beam/test:utils",
"//temporian/core/operators:select",
Expand All @@ -27,7 +28,9 @@ py_library(
srcs = ["utils.py"],
srcs_version = "PY3",
deps = [
"//temporian/core/data:dtype",
# already_there/absl/testing:absltest
# already_there/absl/testing:parameterized
# already_there/apache_beam
"//temporian/test:utils",
"//temporian/beam/io:csv",
Expand Down
4 changes: 4 additions & 0 deletions temporian/core/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ py_library(
name = "dataclasses",
srcs = ["dataclasses.py"],
srcs_version = "PY3",
deps = [
"//temporian/core:typing",
]
)

py_library(
Expand All @@ -114,5 +117,6 @@ py_library(
deps = [
":dataclasses",
":typing",
"//temporian/core/operators:map",
],
)
2 changes: 2 additions & 0 deletions temporian/core/data/test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ py_test(
srcs_version = "PY3",
deps = [
# already_there/absl/testing:absltest
# already_there/absl/testing:parameterized
"//temporian/core/test:utils",
"//temporian/implementation/numpy/data:event_set",
],
Expand All @@ -22,6 +23,7 @@ py_test(
srcs_version = "PY3",
deps = [
# already_there/absl/testing:absltest
# already_there/absl/testing:parameterized
"//temporian/core/data:dtype",
],
)
33 changes: 25 additions & 8 deletions temporian/core/operators/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ py_library(
srcs = ["base.py"],
srcs_version = "PY3",
deps = [

"//temporian/core:typing",
"//temporian/core/data:dtype",
"//temporian/core/data:node",
Expand All @@ -39,6 +40,7 @@ py_library(
"//temporian/core/data:node",
"//temporian/core/data:schema",
"//temporian/proto:core_py_proto",
"//temporian/implementation/numpy/data:dtype_normalization",
],
)

Expand Down Expand Up @@ -115,6 +117,7 @@ py_library(
"//temporian/core/data:node",
"//temporian/core/data:schema",
"//temporian/proto:core_py_proto",
"//temporian/utils:typecheck",
],
)

Expand Down Expand Up @@ -233,6 +236,7 @@ py_library(
"//temporian/core:typing",
"//temporian/core/data:node",
"//temporian/proto:core_py_proto",
"//temporian/utils:typecheck",
],
)

Expand Down Expand Up @@ -381,6 +385,11 @@ py_library(
"//temporian/core/data:node",
"//temporian/core/data:schema",
"//temporian/proto:core_py_proto",
"//temporian/core/data:dtype",
"//temporian/core:typing",
"//temporian/implementation/numpy/data:dtype_normalization",
"//temporian/utils:typecheck",
"//temporian/core:compilation",
],
)

Expand All @@ -389,11 +398,11 @@ py_library(
srcs = ["tick_calendar.py"],
srcs_version = "PY3",
deps = [
# already_there/numpy
":base",
"//temporian/core:compilation",
"//temporian/core:operator_lib",
"//temporian/core:typing",
"//temporian/core/data:dtype",
"//temporian/core/data:node",
"//temporian/proto:core_py_proto",
"//temporian/utils:typecheck",
Expand Down Expand Up @@ -426,9 +435,10 @@ py_library(
"//temporian/core:operator_lib",
"//temporian/core/data:duration_utils",
"//temporian/core/data:node",
"//temporian/core/data:schema",
"//temporian/proto:core_py_proto",
"//temporian/utils:typecheck",
"//temporian/core:typing",
"//temporian/core/data:dtype",
],
)

Expand All @@ -440,8 +450,11 @@ py_library(
":base",
"//temporian/core:operator_lib",
"//temporian/core/data:node",
"//temporian/core/data:schema",
"//temporian/proto:core_py_proto",
"//temporian/core:typing",
"//temporian/core/data:duration_utils",
"//temporian/utils:typecheck",
"//temporian/core:compilation",
],
)

Expand All @@ -453,8 +466,11 @@ py_library(
":base",
"//temporian/core:operator_lib",
"//temporian/core/data:node",
"//temporian/core/data:schema",
"//temporian/proto:core_py_proto",
"//temporian/core:typing",
"//temporian/utils:typecheck",
"//temporian/core:compilation",
"//temporian/core/data:dtype",
],
)

Expand All @@ -464,10 +480,11 @@ py_library(
srcs = ["fillna.py"],
srcs_version = "PY3",
deps = [
":base",
"//temporian/core:operator_lib",
"//temporian/core/data:node",
"//temporian/core/data:schema",
"//temporian/proto:core_py_proto",
"//temporian/core:typing",
"//temporian/core/data:dtype",
"//temporian/core/operators:glue",
"//temporian/utils:typecheck",
"//temporian/core:compilation",
],
)
1 change: 0 additions & 1 deletion temporian/core/operators/binary/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,5 @@ py_library(
"//temporian/core/data:dtype",
"//temporian/core/data:node",
"//temporian/core/data:schema",
"//temporian/core/operators/scalar:relational_scalar",
],
)
1 change: 1 addition & 0 deletions temporian/core/operators/calendar/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ py_library(
srcs = ["base.py"],
srcs_version = "PY3",
deps = [
# already_there/pytz
"//temporian/core/data:dtype",
"//temporian/core/data:node",
"//temporian/core/operators:base",
Expand Down

0 comments on commit a3dfdfd

Please sign in to comment.