File tree Expand file tree Collapse file tree 3 files changed +717
-0
lines changed
Expand file tree Collapse file tree 3 files changed +717
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ python_init_repositories(
1313 "3.11" : "//build:requirements_lock_3_11.txt" ,
1414 "3.12" : "//build:requirements_lock_3_12.txt" ,
1515 "3.13" : "//build:requirements_lock_3_13.txt" ,
16+ "3.13-ft" : "//build:requirements_lock_3_13_ft.txt" ,
1617 },
1718 local_wheel_inclusion_list = [
1819 "jaxlib*" ,
Original file line number Diff line number Diff line change @@ -401,6 +401,11 @@ async def main():
401401 bazel_command_base .append (
402402 f"--repo_env=HERMETIC_PYTHON_VERSION={ args .python_version } "
403403 )
404+ # Let's interpret X.YY-ft version as free-threading python and set rules_python config flag:
405+ if args .python_version .endswith ("-ft" ):
406+ bazel_command_base .append (
407+ "--@rules_python//python/config_settings:py_freethreaded='yes'"
408+ )
404409
405410 # Enable verbose failures.
406411 bazel_command_base .append ("--verbose_failures=true" )
You can’t perform that action at this time.
0 commit comments