Skip to content

Commit

Permalink
Upgrade to 2023.34
Browse files Browse the repository at this point in the history
  • Loading branch information
pjreiniger committed Mar 31, 2024
1 parent 25cce94 commit 8083fc9
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.4.0
6.5.0
5 changes: 3 additions & 2 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module(
name = "rules_wpiformat",
version = "2023.28",
version = "2023.34",
compatibility_level = 1,
)

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

python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(
Expand All @@ -19,6 +19,7 @@ register_toolchains(
pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
pip.parse(
hub_name = "rules_wpiformat_pip",
python_version = "3.10",
requirements_lock = "//:requirements_lock.txt",
requirements_windows = "//:requirements_windows.txt",
)
Expand Down
6 changes: 3 additions & 3 deletions dependencies/load_rule_dependencies.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def load_wpiformat_rule_dependencies():
maybe(
http_archive,
name = "rules_python",
sha256 = "0a8003b044294d7840ac7d9d73eef05d6ceb682d7516781a4ec62eeb34702578",
strip_prefix = "rules_python-0.24.0",
url = "https://github.com/bazelbuild/rules_python/releases/download/0.24.0/rules_python-0.24.0.tar.gz",
sha256 = "3b8b4cdc991bc9def8833d118e4c850f1b7498b3d65d5698eea92c3528b8cf2c",
strip_prefix = "rules_python-0.30.0",
url = "https://github.com/bazelbuild/rules_python/releases/download/0.30.0/rules_python-0.30.0.tar.gz",
)
3 changes: 3 additions & 0 deletions generate/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ def main():
mandatory_dependencies = create_default_mandatory_settings(GenericCliArgs(args))
generate_styleguide_rule(REPO_DIR, group, mandatory_dependencies)

with open(os.path.join(REPO_DIR, "requirements.txt"), "w") as f:
f.write(f"wpiformat=={group.version}\n")


if __name__ == "__main__":
"""
Expand Down
2 changes: 1 addition & 1 deletion generate/get_wpiformat_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def get_wpiformat_group():
is_python=True,
include_wpiformat=False,
repo_name="rules_wpiformat",
version="2023.28",
version="2023.34",
year=1,
maven_url="",
)
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
wpiformat==2023.28
wpiformat==2023.34

0 comments on commit 8083fc9

Please sign in to comment.