0.2.0
New Features
- Wheel building code has graduated out of
//experimental
. See #418 rules_python
no longer mistakenly depends on bazel-skylib.- Support for incremental wheel downloading if using a locked requirements file. See #432
Incompatible Changes
pip_install
packaging rule no longer supports Python 3.5 (which is end-of-life) due to upgrade ofpip
. See: #412
WORKSPACE setup
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_python",
sha256 = "778197e26c5fbeb07ac2a2c5ae405b30f6cb7ad1f5510ea6fdac03bded96cc6f",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_python/releases/download/0.2.0/rules_python-0.2.0.tar.gz",
"https://github.com/bazelbuild/rules_python/releases/download/0.2.0/rules_python-0.2.0.tar.gz",
],
)
Using the rules
See the source.