|
3 | 3 | * Postsubmit [](https://buildkite.com/bazel/python-rules-python-postsubmit) |
4 | 4 | * Postsubmit + Current Bazel Incompatible Flags [](https://buildkite.com/bazel/rules-python-plus-bazelisk-migrate) |
5 | 5 |
|
6 | | -## Recent updates |
7 | | - |
8 | | -* 2020-10-15: Release [`0.1.0` was published](https://github.com/bazelbuild/rules_python/releases/tag/0.1.0), upstreaming |
9 | | -the `pip_install` rule functionality from [github.com/dillon-giacoppo/rules_python_external](https://github.com/dillon-giacoppo/rules_python_external) |
10 | | -to address a number of long-standing issues with `pip_import` (eg. [#96](https://github.com/bazelbuild/rules_python/issues/96), [#71](https://github.com/bazelbuild/rules_python/issues/71), [#102](https://github.com/bazelbuild/rules_python/issues/102)). |
11 | | -Note that this is a backwards-incompatible release on account of the removal of `pip_import` from `@rules_python//python:pip.bzl`. |
12 | | - |
13 | | -* 2019-11-15: Added support for `pip3_import` (and more generally, a |
14 | | -`python_interpreter` attribute to `pip_import`). The canonical naming for wheel |
15 | | -repositories has changed to accomodate loading wheels for both `pip_import` and |
16 | | -`pip3_import` in the same build. To avoid breakage, please use `requirement()` |
17 | | -instead of depending directly on wheel repo labels. |
18 | | - |
19 | | -* 2019-07-26: The canonical name of this repo has been changed from |
20 | | -`@io_bazel_rules_python` to just `@rules_python`, in accordance with |
21 | | -[convention](https://docs.bazel.build/versions/master/skylark/deploying.html#workspace). |
22 | | -Please update your `WORKSPACE` file and labels that reference this repo |
23 | | -accordingly. |
24 | | - |
25 | 6 | ## Overview |
26 | 7 |
|
27 | 8 | This repository is the home of the core Python rules -- `py_library`, |
@@ -61,8 +42,8 @@ To import rules_python in your project, you first need to add it to your |
61 | 42 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
62 | 43 | http_archive( |
63 | 44 | name = "rules_python", |
64 | | - url = "https://github.com/bazelbuild/rules_python/releases/download/0.1.0/rules_python-0.1.0.tar.gz", |
65 | | - sha256 = "b6d46438523a3ec0f3cead544190ee13223a52f6a6765a29eae7b7cc24cc83a0", |
| 45 | + url = "https://github.com/bazelbuild/rules_python/releases/download/0.2.0/rules_python-0.2.0.tar.gz", |
| 46 | + sha256 = "778197e26c5fbeb07ac2a2c5ae405b30f6cb7ad1f5510ea6fdac03bded96cc6f", |
66 | 47 | ) |
67 | 48 | ``` |
68 | 49 |
|
|
0 commit comments