Skip to content

0.3.6

Compare
Choose a tag to compare
@github-actions 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

Full Changelog: oxidase/rules_poetry@v0.3.5...v0.3.6