Skip to content
Open
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 MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ local_path_override(
path = "modules/python",
)

bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_python", version = "1.7.0")

python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(python_version = "3.11")
Expand Down
2 changes: 1 addition & 1 deletion docs/lang/python.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The Python module can be installed by adding the following lines to your MODULE.
.. code-block:: python

bazel_dep(name = "rules_proto_grpc_python", version = "<version number here>")
bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_python", version = "1.7.0")

python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(python_version = "3.11")
Expand Down
2 changes: 1 addition & 1 deletion examples/python/python_grpc_compile/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ local_path_override(
path = "../../../modules/python",
)

bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_python", version = "1.7.0")

python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(python_version = "3.11")
2 changes: 1 addition & 1 deletion examples/python/python_grpc_library/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ local_path_override(
path = "../../../modules/python",
)

bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_python", version = "1.7.0")

python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(python_version = "3.11")
2 changes: 1 addition & 1 deletion examples/python/python_grpclib_compile/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ local_path_override(
path = "../../../modules/python",
)

bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_python", version = "1.7.0")

python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(python_version = "3.11")
2 changes: 1 addition & 1 deletion examples/python/python_grpclib_library/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ local_path_override(
path = "../../../modules/python",
)

bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_python", version = "1.7.0")

python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(python_version = "3.11")
2 changes: 1 addition & 1 deletion examples/python/python_proto_compile/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ local_path_override(
path = "../../../modules/python",
)

bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_python", version = "1.7.0")

python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(python_version = "3.11")
2 changes: 1 addition & 1 deletion examples/python/python_proto_library/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ local_path_override(
path = "../../../modules/python",
)

bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_python", version = "1.7.0")

python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(python_version = "3.11")
2 changes: 1 addition & 1 deletion modules/python/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module(
bazel_dep(name = "grpc", version = "1.74.1")
bazel_dep(name = "protobuf", version = "31.1")
bazel_dep(name = "rules_proto_grpc", version = "0.0.0.rpg.version.placeholder")
bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_python", version = "1.7.0")

PYTHON_VERSIONS = [
"3.9",
Expand Down
2 changes: 1 addition & 1 deletion test_workspaces/absolute_strip_import_prefix/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
bazel_dep(name = "protobuf", version = "31.1")
bazel_dep(name = "rules_proto_grpc_python", version = "0.0.0.rpg.version.placeholder")
bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_python", version = "1.7.0")

local_path_override(
module_name = "rules_proto_grpc",
Expand Down
2 changes: 1 addition & 1 deletion test_workspaces/combined_strip_and_add_prefix/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
bazel_dep(name = "protobuf", version = "31.1")
bazel_dep(name = "rules_proto_grpc_python", version = "0.0.0.rpg.version.placeholder")
bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_python", version = "1.7.0")

local_path_override(
module_name = "rules_proto_grpc",
Expand Down
2 changes: 1 addition & 1 deletion test_workspaces/empty_output_directory/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
bazel_dep(name = "grpc", version = "1.74.1")
bazel_dep(name = "protobuf", version = "31.1")
bazel_dep(name = "rules_proto_grpc", version = "0.0.0.rpg.version.placeholder")
bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_python", version = "1.7.0")

local_path_override(
module_name = "rules_proto_grpc",
Expand Down
2 changes: 1 addition & 1 deletion test_workspaces/exclusions/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
bazel_dep(name = "protobuf", version = "31.1")
bazel_dep(name = "rules_proto_grpc_python", version = "0.0.0.rpg.version.placeholder")
bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_python", version = "1.7.0")

local_path_override(
module_name = "rules_proto_grpc",
Expand Down
2 changes: 1 addition & 1 deletion test_workspaces/generated_proto/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
bazel_dep(name = "another_workspace", version = "0.0.0")
bazel_dep(name = "protobuf", version = "31.1")
bazel_dep(name = "rules_proto_grpc_python", version = "0.0.0.rpg.version.placeholder")
bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_python", version = "1.7.0")

local_path_override(
module_name = "another_workspace",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module(name = "another_workspace")

bazel_dep(name = "protobuf", version = "31.1")
bazel_dep(name = "rules_proto_grpc_python", version = "0.0.0.rpg.version.placeholder")
bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_python", version = "1.7.0")

local_path_override(
module_name = "rules_proto_grpc",
Expand Down
2 changes: 1 addition & 1 deletion test_workspaces/import_prefix/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
bazel_dep(name = "protobuf", version = "31.1")
bazel_dep(name = "rules_proto_grpc_python", version = "0.0.0.rpg.version.placeholder")
bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_python", version = "1.7.0")

local_path_override(
module_name = "rules_proto_grpc",
Expand Down
2 changes: 1 addition & 1 deletion test_workspaces/nested_output_directory/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ bazel_dep(name = "protobuf", version = "31.1")
bazel_dep(name = "rules_proto_grpc", version = "0.0.0.rpg.version.placeholder")
bazel_dep(name = "rules_proto_grpc_csharp", version = "0.0.0.rpg.version.placeholder")
bazel_dep(name = "rules_proto_grpc_python", version = "0.0.0.rpg.version.placeholder")
bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_python", version = "1.7.0")

local_path_override(
module_name = "rules_proto_grpc",
Expand Down
2 changes: 1 addition & 1 deletion test_workspaces/objc_capitalisation/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
bazel_dep(name = "protobuf", version = "31.1")
bazel_dep(name = "rules_cc", version = "0.2.14")
bazel_dep(name = "rules_proto_grpc_objc", version = "0.0.0.rpg.version.placeholder")
bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_python", version = "1.7.0")

local_path_override(
module_name = "rules_proto_grpc",
Expand Down
2 changes: 1 addition & 1 deletion test_workspaces/prefix_path/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
bazel_dep(name = "protobuf", version = "31.1")
bazel_dep(name = "rules_proto_grpc_python", version = "0.0.0.rpg.version.placeholder")
bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_python", version = "1.7.0")

local_path_override(
module_name = "rules_proto_grpc",
Expand Down
2 changes: 1 addition & 1 deletion test_workspaces/python3_grpc/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
bazel_dep(name = "protobuf", version = "31.1")
bazel_dep(name = "rules_proto_grpc_python", version = "0.0.0.rpg.version.placeholder")
bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_python", version = "1.7.0")

local_path_override(
module_name = "rules_proto_grpc",
Expand Down
2 changes: 1 addition & 1 deletion test_workspaces/python_dashes/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
bazel_dep(name = "protobuf", version = "31.1")
bazel_dep(name = "rules_proto_grpc_python", version = "0.0.0.rpg.version.placeholder")
bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_python", version = "1.7.0")

local_path_override(
module_name = "rules_proto_grpc",
Expand Down
2 changes: 1 addition & 1 deletion test_workspaces/python_deps/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
bazel_dep(name = "protobuf", version = "31.1")
bazel_dep(name = "rules_proto_grpc_python", version = "0.0.0.rpg.version.placeholder")
bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_python", version = "1.7.0")

local_path_override(
module_name = "rules_proto_grpc",
Expand Down
2 changes: 1 addition & 1 deletion test_workspaces/python_dots/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
bazel_dep(name = "protobuf", version = "31.1")
bazel_dep(name = "rules_proto_grpc_python", version = "0.0.0.rpg.version.placeholder")
bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_python", version = "1.7.0")

local_path_override(
module_name = "rules_proto_grpc",
Expand Down
2 changes: 1 addition & 1 deletion test_workspaces/relative_strip_import_prefix/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
bazel_dep(name = "protobuf", version = "31.1")
bazel_dep(name = "rules_proto_grpc_python", version = "0.0.0.rpg.version.placeholder")
bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_python", version = "1.7.0")

local_path_override(
module_name = "rules_proto_grpc",
Expand Down
2 changes: 1 addition & 1 deletion test_workspaces/shared_proto/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
bazel_dep(name = "protobuf", version = "31.1")
bazel_dep(name = "rules_proto_grpc_python", version = "0.0.0.rpg.version.placeholder")
bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "rules_python", version = "1.7.0")

local_path_override(
module_name = "rules_proto_grpc",
Expand Down
2 changes: 1 addition & 1 deletion tools/rulegen/python.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ GRPCLIB_DEPS = [
Label("@protobuf//:protobuf_python"),
]`)

var pythonModuleSuffixLines = `bazel_dep(name = "rules_python", version = "1.6.3")
var pythonModuleSuffixLines = `bazel_dep(name = "rules_python", version = "1.7.0")

python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(python_version = "3.11")`
Expand Down