Skip to content

Commit

Permalink
tests: dont restrict python versions in bzlmod example
Browse files Browse the repository at this point in the history
  • Loading branch information
rickeylev committed Oct 30, 2024
1 parent 3e552df commit a877ef7
Show file tree
Hide file tree
Showing 2 changed files with 2,628 additions and 3,683 deletions.
18 changes: 10 additions & 8 deletions examples/bzlmod/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,16 @@ python.toolchain(
# One can override the actual toolchain versions that are available, which can be useful
# when optimizing what gets downloaded and when.
python.override(
available_python_versions = [
"3.10.9",
"3.9.18",
"3.9.19",
# The following is used by the `other_module` and we need to include it here
# as well.
"3.11.8",
],
# NOTE: These are disabled in the example because transitive dependencies
# require versions not listed here.
# available_python_versions = [
# "3.10.9",
# "3.9.18",
# "3.9.19",
# # The following is used by the `other_module` and we need to include it here
# # as well.
# "3.11.8",
# ],
# Also override the `minor_mapping` so that the root module,
# instead of rules_python's defaulting to the latest available version,
# controls what full version is used when `3.x` is requested.
Expand Down
Loading

0 comments on commit a877ef7

Please sign in to comment.