Skip to content

Commit cc45596

Browse files
authored
Update for compatibility with rules_python 0.1 (#1650)
1 parent 7c705c2 commit cc45596

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

repositories/py_repositories.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Provides functions to pull all Python external package dependencies of this
1919
repository.
2020
"""
2121

22-
load("@rules_python//python:pip.bzl", "pip_import", "pip_repositories")
22+
load("@rules_python//python/legacy_pip_import:pip.bzl", "pip_import", "pip_repositories")
2323

2424
def py_deps():
2525
"""Pull in external Python packages needed by py binaries in this repo.

repositories/repositories.bzl

+2-3
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,8 @@ def repositories():
8888
if "rules_python" not in excludes:
8989
http_archive(
9090
name = "rules_python",
91-
sha256 = "0aa9ec790a58053e3ab5af397879b267a625955f8297c239b2d8559c6773397b",
92-
strip_prefix = "rules_python-dd7f9c5f01bafbfea08c44092b6b0c8fc8fcb77f",
93-
urls = ["https://github.com/bazelbuild/rules_python/archive/dd7f9c5f01bafbfea08c44092b6b0c8fc8fcb77f.tar.gz"],
91+
url = "https://github.com/bazelbuild/rules_python/releases/download/0.1.0/rules_python-0.1.0.tar.gz",
92+
sha256 = "b6d46438523a3ec0f3cead544190ee13223a52f6a6765a29eae7b7cc24cc83a0",
9493
)
9594

9695
# For packaging python tools.

0 commit comments

Comments
 (0)