diff --git a/WORKSPACE b/WORKSPACE index f6fb6d73ae67f..690aeceec1c58 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -160,12 +160,14 @@ rules_closure_toolchains() http_archive( name = "rules_pkg", - sha256 = "038f1caa773a7e35b3663865ffb003169c6a71dc995e39bf4815792f385d837d", urls = [ - "https://github.com/bazelbuild/rules_pkg/releases/download/0.4.0/rules_pkg-0.4.0.tar.gz", - "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.4.0/rules_pkg-0.4.0.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.5.1/rules_pkg-0.5.1.tar.gz", + "https://github.com/bazelbuild/rules_pkg/releases/download/0.5.1/rules_pkg-0.5.1.tar.gz", ], + sha256 = "a89e203d3cf264e564fcb96b6e06dd70bc0557356eb48400ce4b5d97c2c3720d", ) +load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies") +rules_pkg_dependencies() http_archive( name = "io_bazel_rules_docker", diff --git a/py/BUILD.bazel b/py/BUILD.bazel index 0c8b26764a67d..ada6017851930 100644 --- a/py/BUILD.bazel +++ b/py/BUILD.bazel @@ -1,3 +1,4 @@ +load("@rules_pkg//:pkg.bzl", "pkg_tar") load("@rules_python//python:defs.bzl", "py_binary", "py_library") load("@rules_python//python:packaging.bzl", "py_package", "py_wheel") load("@dev_requirements//:requirements.bzl", "requirement") @@ -104,6 +105,10 @@ py_package( deps = [":selenium"], ) +pkg_tar( + +) + py_wheel( name = "selenium-wheel", classifiers = [