Skip to content

Commit

Permalink
Add MODULE.bazel
Browse files Browse the repository at this point in the history
* Migrate skylib to MODULE.bazel to test it
* Add default toolchain to Python310 since Python311 caues failures
  • Loading branch information
fzakaria committed Feb 13, 2024
1 parent 65960e4 commit 8e1183a
Show file tree
Hide file tree
Showing 3 changed files with 2,297 additions and 11 deletions.
15 changes: 15 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
###############################################################################
# Bazel now uses Bzlmod by default to manage external dependencies.
# Please consider migrating your external dependencies from WORKSPACE to MODULE.bazel.
#
# For more details, please check https://github.com/bazelbuild/bazel/issues/18958
###############################################################################
bazel_dep(name = "bazel_skylib", version = "1.3.0")

bazel_dep(name = "rules_python", version = "0.30.0")

python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(
python_version = "3.10",
is_default = True,
)
Loading

0 comments on commit 8e1183a

Please sign in to comment.