Skip to content

Commit

Permalink
chore: Bump versions in Python examples (#7109)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Pasternak authored Dec 4, 2024
1 parent c84bf88 commit ed514c7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions examples/python/simple_code_generator/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ module(
version = "1.0.0",
)

bazel_dep(name = "rules_python", version = "0.35.0")
bazel_dep(name = "rules_python", version = "0.40.0")

python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(
configure_coverage_tool = True,
python_version = "3.12",
python_version = "3.12.7",
)
6 changes: 3 additions & 3 deletions examples/python/with_numpy/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
bazel_dep(name = "rules_python", version = "0.36.0")
bazel_dep(name = "rules_python", version = "0.40.0")

pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")

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

pip.parse(
hub_name = "my_deps",
python_version = "3.12",
python_version = "3.12.7",
requirements_lock = "//:requirements.txt",
)
use_repo(pip, "my_deps")
Expand Down
2 changes: 1 addition & 1 deletion examples/python/with_numpy/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
numpy==2.1.1
numpy==2.1.3

0 comments on commit ed514c7

Please sign in to comment.