Upgrade six from 1.12 to 1.16 in Bazel (#26451)

This commit is contained in:
Lidi Zheng 2021-06-08 14:37:44 -07:00 committed by GitHub
parent b69c0c171a
commit afc040b07a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -24,8 +24,8 @@ def grpc_python_deps():
http_archive(
name = "six",
build_file = "@com_github_grpc_grpc//third_party:six.BUILD",
sha256 = "d16a0141ec1a18405cd4ce8b4613101da75da0e9a7aec5bdd4fa804d0e0eba73",
urls = ["https://files.pythonhosted.org/packages/dd/bf/4138e7bfb757de47d1f4b6994648ec67a51efe58fa907c1e11e350cddfca/six-1.12.0.tar.gz"],
sha256 = "1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926",
urls = ["https://files.pythonhosted.org/packages/71/39/171f1c67cd00715f190ba0b100d606d440a28c93c7714febeca8b79af85e/six-1.16.0.tar.gz"],
)
if "enum34" not in native.existing_rules():

View File

@ -1,6 +1,6 @@
genrule(
name = "copy_six",
srcs = ["six-1.12.0/six.py"],
srcs = ["six-1.16.0/six.py"],
outs = ["__init__.py"],
cmd = "cp $< $(@)",
)