Skip to content

Commit

Permalink
Upgrade to Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
shaldengeki committed Jul 15, 2024
1 parent 51587d7 commit 48b9723
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .python_version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.12.4
6 changes: 3 additions & 3 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ bazel_dep(name = "rules_oci", version = "1.7.6")

python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(
python_version = "3.11",
python_version = "3.12",
)
use_repo(python, "python_3_11")
use_repo(python, "python_3_12")

pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
pip.parse(
hub_name = "py_deps",
python_version = "3.11",
python_version = "3.12",
requirements_lock = "//:requirements.lock.txt",
)
use_repo(pip, "py_deps")
Expand Down
2 changes: 1 addition & 1 deletion requirements.lock.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# bazel run //:requirements.update
Expand Down

0 comments on commit 48b9723

Please sign in to comment.