Skip to content

Commit

Permalink
Merge pull request #97 from privacysandbox/release-0.68.0
Browse files Browse the repository at this point in the history
Release 0.68.0
  • Loading branch information
a-shruti authored Aug 21, 2024
2 parents 34353f9 + 0e83389 commit cec127f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 12 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.

## 0.68.0 (2024-08-21)


### Features

* **deps:** Split python deps and registering toolchains
* **deps:** Update rules_python to 0.35.0

## 0.67.0 (2024-07-31)


Expand Down
24 changes: 13 additions & 11 deletions bazel/deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,24 @@

"""Load definitions for use in WORKSPACE files."""

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "maybe")

def python_deps(bazel_package):
"""Load rules_python and register container-based python toolchain
def python_deps():
"""Load rules_python. Use python_register_toolchains to also resgister container-based python toolchain."""
maybe(
http_archive,
name = "rules_python",
sha256 = "be04b635c7be4604be1ef20542e9870af3c49778ce841ee2d92fcb42f9d9516a",
strip_prefix = "rules_python-0.35.0",
url = "https://github.com/bazelbuild/rules_python/releases/download/0.35.0/rules_python-0.35.0.tar.gz",
)

def python_register_toolchains(bazel_package):
"""Register container-based python toolchain.
Note: the bazel_package arg will depend on the import/submodule location in your workspace
Args:
bazel_package: repo-relative bazel package to builders/bazel/BUILD eg. "//builders/bazel"
"""
http_archive(
name = "rules_python",
sha256 = "0a8003b044294d7840ac7d9d73eef05d6ceb682d7516781a4ec62eeb34702578",
strip_prefix = "rules_python-0.24.0",
urls = [
"https://github.com/bazelbuild/rules_python/releases/download/0.24.0/rules_python-0.24.0.tar.gz",
],
)
native.register_toolchains("{}:py_toolchain".format(bazel_package))
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.67.0
0.68.0

0 comments on commit cec127f

Please sign in to comment.