Skip to content

Commit

Permalink
Remove srcs_version and python_version attributes, as they alread…
Browse files Browse the repository at this point in the history
…y default to `"PY3"`

PiperOrigin-RevId: 721276691
Change-Id: Ida0daf6810a383109a9ff511144fbff9a4ddc163
  • Loading branch information
oprypin authored and copybara-github committed Jan 30, 2025
1 parent 24a25ce commit 80be745
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 30 deletions.
25 changes: 0 additions & 25 deletions reverb/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ exports_files(["LICENSE"])
reverb_pytype_strict_library(
name = "reverb",
srcs = ["__init__.py"],
srcs_version = "PY3",
deps = [
":client",
":errors",
Expand All @@ -43,7 +42,6 @@ reverb_pytype_strict_library(
reverb_pytype_strict_library(
name = "rate_limiters",
srcs = ["rate_limiters.py"],
srcs_version = "PY3",
deps = [
":pybind",
],
Expand All @@ -52,7 +50,6 @@ reverb_pytype_strict_library(
reverb_pytype_library(
name = "client",
srcs = ["client.py"],
srcs_version = "PY3",
strict_deps = True,
deps = [
":errors",
Expand All @@ -67,15 +64,13 @@ reverb_pytype_library(
reverb_pytype_library(
name = "errors",
srcs = ["errors.py"],
srcs_version = "PY3",
strict_deps = True,
deps = [],
)

reverb_pytype_library(
name = "server",
srcs = ["server.py"],
srcs_version = "PY3",
strict_deps = True,
deps = [
":client",
Expand All @@ -90,7 +85,6 @@ reverb_pytype_library(
reverb_pytype_library(
name = "replay_sample",
srcs = ["replay_sample.py"],
srcs_version = "PY3",
strict_deps = True,
)

Expand All @@ -99,7 +93,6 @@ reverb_pybind_extension(
srcs = ["pybind.cc"],
module_name = "libpybind",
pytype_srcs = ["pybind.pyi"],
srcs_version = "PY3ONLY",
visibility = [":__subpackages__"],
deps = [
"//reverb/cc:chunker",
Expand Down Expand Up @@ -129,7 +122,6 @@ reverb_pybind_extension(
reverb_pytype_library(
name = "tf_client",
srcs = ["tf_client.py"],
srcs_version = "PY3",
strict_deps = True,
deps = [
":replay_sample",
Expand All @@ -140,7 +132,6 @@ reverb_pytype_library(
reverb_pytype_library(
name = "trajectory_dataset",
srcs = ["trajectory_dataset.py"],
srcs_version = "PY3",
strict_deps = True,
visibility = [":__subpackages__"],
deps = [
Expand All @@ -153,7 +144,6 @@ reverb_pytype_library(
reverb_pytype_library(
name = "timestep_dataset",
srcs = ["timestep_dataset.py"],
srcs_version = "PY3",
strict_deps = True,
visibility = ["//visibility:private"],
deps = [
Expand All @@ -166,7 +156,6 @@ reverb_pytype_library(
reverb_pytype_library(
name = "reverb_types",
srcs = ["reverb_types.py"],
srcs_version = "PY3",
strict_deps = True,
deps = [
":pybind",
Expand All @@ -177,7 +166,6 @@ reverb_pytype_library(
reverb_pytype_strict_library(
name = "structured_writer",
srcs = ["structured_writer.py"],
srcs_version = "PY3",
deps = [
":errors",
":pybind",
Expand All @@ -189,14 +177,12 @@ reverb_pytype_strict_library(
reverb_pytype_strict_library(
name = "item_selectors",
srcs = ["item_selectors.py"],
srcs_version = "PY3",
deps = [":pybind"],
)

reverb_pytype_library(
name = "trajectory_writer",
srcs = ["trajectory_writer.py"],
srcs_version = "PY3",
strict_deps = True,
deps = [
":errors",
Expand All @@ -207,7 +193,6 @@ reverb_pytype_library(
reverb_py_test(
name = "client_test",
srcs = ["client_test.py"],
python_version = "PY3",
shard_count = 2,
deps = [
":client",
Expand All @@ -221,7 +206,6 @@ reverb_py_test(
reverb_py_test(
name = "server_test",
srcs = ["server_test.py"],
python_version = "PY3",
deps = [
":client",
":item_selectors",
Expand All @@ -235,7 +219,6 @@ reverb_py_test(
name = "tf_client_test",
timeout = "short",
srcs = ["tf_client_test.py"],
python_version = "PY3",
deps = [
":client",
":item_selectors",
Expand All @@ -249,7 +232,6 @@ reverb_py_test(
reverb_py_test(
name = "timestep_dataset_test",
srcs = ["timestep_dataset_test.py"],
python_version = "PY3",
deps = [
":client",
":errors",
Expand All @@ -273,7 +255,6 @@ reverb_py_test(
reverb_py_test(
name = "trajectory_dataset_test",
srcs = ["trajectory_dataset_test.py"],
python_version = "PY3",
deps = [
":client",
":errors",
Expand All @@ -297,7 +278,6 @@ reverb_py_test(
reverb_py_test(
name = "rate_limiters_test",
srcs = ["rate_limiters_test.py"],
python_version = "PY3",
deps = [
":rate_limiters",
],
Expand All @@ -306,7 +286,6 @@ reverb_py_test(
reverb_py_test(
name = "pybind_test",
srcs = ["pybind_test.py"],
python_version = "PY3",
deps = [
":reverb",
],
Expand All @@ -315,7 +294,6 @@ reverb_py_test(
reverb_py_test(
name = "trajectory_writer_test",
srcs = ["trajectory_writer_test.py"],
python_version = "PY3",
deps = [
":client",
":errors",
Expand All @@ -328,7 +306,6 @@ reverb_py_test(
reverb_py_test(
name = "structured_writer_test",
srcs = ["structured_writer_test.py"],
python_version = "PY3",
deps = [
":client",
":server",
Expand All @@ -339,7 +316,6 @@ reverb_py_test(
reverb_py_test(
name = "replay_sample_test",
srcs = ["replay_sample_test.py"],
python_version = "PY3",
deps = [
":pybind",
":replay_sample",
Expand All @@ -349,7 +325,6 @@ reverb_py_test(
reverb_pytype_library(
name = "pattern_dataset",
srcs = ["pattern_dataset.py"],
srcs_version = "PY3",
strict_deps = False,
tags = ["pytype_unchecked_annotations"],
deps = [
Expand Down
2 changes: 0 additions & 2 deletions reverb/platform/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ licenses(["notice"])
reverb_pytype_strict_library(
name = "checkpointers_lib",
srcs = ["checkpointers_lib.py"],
srcs_version = "PY3",
deps = [
"//reverb:pybind",
],
Expand All @@ -22,7 +21,6 @@ reverb_pytype_strict_library(
reverb_py_test(
name = "checkpointers_lib_test",
srcs = ["checkpointers_lib_test.py"],
python_version = "PY3",
deps = [
":checkpointers_lib",
"//reverb:pybind",
Expand Down
3 changes: 0 additions & 3 deletions reverb/server_executable/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ reverb_py_proto_library(
reverb_pytype_strict_library(
name = "server_from_proto",
srcs = ["server_from_proto.py"],
srcs_version = "PY3",
deps = [
"//reverb",
"//reverb:reverb_types",
Expand All @@ -44,7 +43,6 @@ reverb_py_test(
name = "server_from_proto_test",
srcs = ["server_from_proto_test.py"],
enable_dashboard = False,
srcs_version = "PY3",
deps = [
":server_from_proto",
"//reverb",
Expand All @@ -56,7 +54,6 @@ reverb_py_test(
reverb_pytype_strict_binary(
name = "server_main",
srcs = ["server_main.py"],
srcs_version = "PY3",
deps = [
":server_from_proto",
"//reverb",
Expand Down

0 comments on commit 80be745

Please sign in to comment.