diff --git a/third_party/systemlibs/syslibs_configure.bzl b/third_party/systemlibs/syslibs_configure.bzl index 74f15c885d9..265fe968003 100644 --- a/third_party/systemlibs/syslibs_configure.bzl +++ b/third_party/systemlibs/syslibs_configure.bzl @@ -44,6 +44,7 @@ VALID_LIBS = [ "snappy", "tblib_archive", "termcolor_archive", + "typing_extensions_archive", "wrapt", "zlib", ] diff --git a/third_party/systemlibs/typing_extensions.BUILD b/third_party/systemlibs/typing_extensions.BUILD new file mode 100644 index 00000000000..a2edac3bab5 --- /dev/null +++ b/third_party/systemlibs/typing_extensions.BUILD @@ -0,0 +1,16 @@ +# Description: +# Backports for the typing module to older Python versions. See +# https://github.com/python/typing/blob/master/typing_extensions/README.rst + +licenses(["notice"]) # PSF + +py_library( + name = "typing_extensions", + srcs_version = "PY2AND3", + visibility = ["//visibility:public"], +) + +filegroup( + name = "LICENSE", + visibility = ["//visibility:public"], +)