Remove references to six (#9096)
We no longer support Python 2 and therefore no longer need to depend on six. I'm hoping this will make it possible to merge #8214.pull/9097/head
parent
3881f49ce9
commit
f8a22b45c0
7 changed files with 2 additions and 32 deletions
@ -1 +1 @@ |
||||
exports_files(["six.BUILD", "zlib.BUILD"]) |
||||
exports_files(["zlib.BUILD"]) |
||||
|
@ -1,19 +0,0 @@ |
||||
load("@rules_python//python:defs.bzl", "py_library") |
||||
|
||||
# Consume `six.py` as `__init__.py` for compatibility |
||||
# with `--incompatible_default_to_explicit_init_py`. |
||||
# https://github.com/protocolbuffers/protobuf/pull/6795#issuecomment-546060749 |
||||
# https://github.com/bazelbuild/bazel/issues/10076 |
||||
genrule( |
||||
name = "copy_six", |
||||
srcs = ["six-1.12.0/six.py"], |
||||
outs = ["__init__.py"], |
||||
cmd = "cp $< $(@)", |
||||
) |
||||
|
||||
py_library( |
||||
name = "six", |
||||
srcs = ["__init__.py"], |
||||
srcs_version = "PY2AND3", |
||||
visibility = ["//visibility:public"], |
||||
) |
Loading…
Reference in new issue