google-deepmind / google-deepmind/xmanager

Migrate to Bzlmod

Open
#47 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
921
Forks
69
Avg merge
1d 1h
Merged PRs (30d)
1

Description

As noted in the [Bazel documentation](https://bazel.build/external/migration):
> Bzlmod will replace the legacy WORKSPACE system. The WORKSPACE file is already disabled in Bazel 8 (late 2024) and will be removed in Bazel 9 (late 2025).

It would be nice to migrate the examples and other code to use Bzlmod. This should be trivial to do at least for the examples. For example, for the `local_arg_printer` example, just replacing `WORKSPACE` with the following `MODULE.bazel` should work:
```bzl
module(
name = "xmanager_local_arg_printer_example",
version = "1.0",
)

bazel_dep(name = "rules_cc", version = "0.1.2")
```

I would expect there to not be many changes needed from the core code either, but I think e.g. #46 might be related.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.