Skip to content

Commit f2fad71

Browse files
committed
Merge branch 'main' of https://github.com/bazelbuild/rules_python into venv.site.packages
2 parents 62207c3 + f9779ee commit f2fad71

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ Unreleased changes template.
6868
specifying a library's sources follow a site-packages file layout.
6969
(only applicable with {obj}`--bootstrap_impl=script`)
7070
([#2156](https://github.com/bazelbuild/rules_python/issues/2156)).
71+
* {obj}`//python/bin:python`: convenience target for directly running an
72+
interpreter. {obj}`--//python/bin:python_src` can be used to specify a
73+
binary whose interpreter to use.
7174

7275
{#v0-0-0-removed}
7376
### Removed

python/proto/BUILD.bazel

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,11 @@
1414

1515
package(default_visibility = ["//visibility:public"])
1616

17-
# Toolchain type provided by proto_lang_toolchain rule and used by py_proto_library
18-
toolchain_type(name = "toolchain_type")
17+
# Deprecated; use @com_google_protobuf//bazel/private:python_toolchain_type instead.
18+
# Alias is here to provide backward-compatibility; see #2604
19+
# It will be removed in a future release.
20+
alias(
21+
name = "toolchain_type",
22+
actual = "@com_google_protobuf//bazel/private:python_toolchain_type",
23+
deprecation = "Use @com_google_protobuf//bazel/private:python_toolchain_type instead",
24+
)

0 commit comments

Comments
 (0)