Skip to content

0.6.0

Compare
Choose a tag to compare
@github-actions github-actions released this 05 Jan 00:06
· 1460 commits to main since this release
b842276

WORKSPACE setup:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_python",
    sha256 = "a30abdfc7126d497a7698c29c46ea9901c6392d6ed315171a6df5ce433aa4502",
    strip_prefix = "rules_python-0.6.0",
    url = "https://github.com/bazelbuild/rules_python/archive/0.6.0.tar.gz",
)

Breaking Changes

If you used the gazelle plugin, the workspace call to modules_mapping() should now be moved to a BUILD file as it is a regular rule. See the updates to examples/build_file_generation in https://github.com/bazelbuild/rules_python/pull/578/files

Users of pip_parse (or pip_repository(incremental=True)) will have the generated repositories change, e.g. from @pip_pypi__amqp//:pkg to @amqp//:pkg. If you use the requirements() helper, this won't affect you, but if you referred to the generated labels directly it will.
You can add the attribute repo_prefix = "pip_pypi__" on pip_parse to restore the previous default.

What's Changed

New Contributors

Full Changelog: 0.4.0...0.6.0