0.3.6
github-actions
released this
07 Jun 09:01
·
7 commits
to cfbfff17f381fa18123bc6555c46d3697da0bc3d
since this release
Using Bzlmod
Add to your MODULE.bazel
file:
bazel_dep(name = "rules_poetry", version = "0.3.6")
poetry = use_extension("@rules_poetry//python:extensions.bzl", "poetry")
poetry.parse(
name = "poetry",
lock = "//:poetry.lock",
)
use_repo(poetry, "poetry")
Using WORKSPACE
Paste this snippet into your WORKSPACE
file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_poetry",
sha256 = "a393f7f8ed8579b0044deac241bd075da466dfcf3e14f2a1c738f162e73c3125",
strip_prefix = "rules_poetry-0.3.6",
url = "https://github.com/oxidase/rules_poetry/releases/download/v0.3.6/rules_poetry-0.3.6.tar.gz",
)
load("@rules_poetry//python:poetry_parse.bzl", "poetry_parse")
load("@rules_poetry//python:repositories.bzl", install_poetry_dependencies = "install_dependencies")
install_poetry_dependencies()
poetry_parse(
name = "poetry",
lock = "//:poetry.lock",
)
What's Changed
- fix: enable aspect_rules_py test by @oxidase in https://github.com/oxidase/rules_poetry/pull/66
- feat: use Python toolchain associated with poetry_deps instead of the… by @oxidase in https://github.com/oxidase/rules_poetry/pull/65
- feat: use CC toolchain to build wheels for target by @oxidase in https://github.com/oxidase/rules_poetry/pull/67
Full Changelog: oxidase/rules_poetry@v0.3.5...v0.3.6