This was added to protobuf_deps.bzl in cl/629786458 and no longer needs to be specified directly in WORKSPACE. However, an alias is needed to prevent users from breaking when upgrading from 26.x -> 27.x due to the obsolete load pointing to the wrong path. This alias will be removed in a future release, tentatively 4.30.x. PiperOrigin-RevId: 631821637pull/16786/head
parent
d8329b68e4
commit
b77343aa2c
1 changed files with 17 additions and 0 deletions
@ -0,0 +1,17 @@ |
|||||||
|
# Copyright (c) 2009-2021, Google LLC |
||||||
|
# All rights reserved. |
||||||
|
# |
||||||
|
# Use of this source code is governed by a BSD-style |
||||||
|
# license that can be found in the LICENSE file or at |
||||||
|
# https://developers.google.com/open-source/licenses/bsd |
||||||
|
|
||||||
|
"""Temporary alias to repository rule for using Python 3.x headers from the system.""" |
||||||
|
|
||||||
|
load( |
||||||
|
"//python/dist:system_python.bzl", |
||||||
|
_system_python = "system_python", |
||||||
|
) |
||||||
|
|
||||||
|
# TODO: Temporary alias. This is deprecated and to be removed in a future |
||||||
|
# release. Users should now get system_python from protobuf_deps.bzl. |
||||||
|
system_python = _system_python |
Loading…
Reference in new issue