From 08b067a049abdeb5dab712836f4e4ff93c3e7ca4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ste=CC=81phane=20Klein?= Date: Fri, 25 Jan 2019 00:35:39 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20=C2=AB=20ERROR:=20error=20loading=20packa?= =?UTF-8?q?ge=20'':=20Encountered=20error=20while=20reading=20extension=20?= =?UTF-8?q?file=20'python/pip.bzl':=20no=20such=20package=20'@io=5Fbazel?= =?UTF-8?q?=5Frules=5Fpython//python':=20The=20native=20git=5Frepository?= =?UTF-8?q?=20rule=20is=20deprecated.=20load("@bazel=5Ftools//tools/build?= =?UTF-8?q?=5Fdefs/repo:git.bzl",=20"git=5Frepository")=20for=20a=20replac?= =?UTF-8?q?ement.=20=C2=BB=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sample_app/WORKSPACE | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sample_app/WORKSPACE b/sample_app/WORKSPACE index 49e4e12..07b008f 100644 --- a/sample_app/WORKSPACE +++ b/sample_app/WORKSPACE @@ -1,5 +1,7 @@ workspace(name = "sample_app") +load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") + git_repository( name = "io_bazel_rules_python", remote = "https://github.com/bazelbuild/rules_python.git",