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 1/2] =?UTF-8?q?Fix=20=C2=AB=20ERROR:=20error=20loading=20p?= =?UTF-8?q?ackage=20'':=20Encountered=20error=20while=20reading=20extensio?= =?UTF-8?q?n=20file=20'python/pip.bzl':=20no=20such=20package=20'@io=5Fbaz?= =?UTF-8?q?el=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", From fe83e34965f016349d2110cd49696d08b838bc27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ste=CC=81phane=20Klein?= Date: Fri, 25 Jan 2019 00:40:12 +0100 Subject: [PATCH 2/2] Git ignore all bazel folders --- .gitignore | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index 0d20b64..a1448ab 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,6 @@ *.pyc +bazel-bin +bazel-genfiles +bazel-out +bazel-sample_app +bazel-testlogs