| module( | |
| name = "cython", | |
| version = "3.1.3", | |
| bazel_compatibility = [">=7.2.1"], | |
| ) | |
| bazel_dep(name = "rules_python", version = "0.37.1") | |
| PYTHON_VERSIONS = [ | |
| "3.8", | |
| "3.9", | |
| "3.10", | |
| "3.11", | |
| "3.12", | |
| "3.13", | |
| ] | |
| python = use_extension("@rules_python//python/extensions:python.bzl", "python") | |
| [ | |
| python.toolchain( | |
| is_default = python_version == PYTHON_VERSIONS[-1], | |
| python_version = python_version, | |
| ) | |
| for python_version in PYTHON_VERSIONS | |
| ] |