@@ -45,6 +45,12 @@ python.toolchain(
4545 python_version = "3.10" ,
4646)
4747
48+ # Adding the latest Python 3.13 version for testing
49+ python .toolchain (
50+ configure_coverage_tool = True ,
51+ python_version = "3.13" ,
52+ )
53+
4854# One can override the actual toolchain versions that are available, which can be useful
4955# when optimizing what gets downloaded and when.
5056python .override (
@@ -98,7 +104,7 @@ python.single_version_platform_override(
98104# See the tests folder for various examples on using multiple Python versions.
99105# The names "python_3_9" and "python_3_10" are autmatically created by the repo
100106# rules based on the `python_version` arg values.
101- use_repo (python , "python_3_10" , "python_3_9" , "python_versions" , "pythons_hub" )
107+ use_repo (python , "python_3_10" , "python_3_13" , " python_3_9" , "python_versions" , "pythons_hub" )
102108
103109# EXPERIMENTAL: This is experimental and may be changed or removed without notice
104110uv = use_extension (
@@ -265,6 +271,17 @@ pip.parse(
265271 "@whl_mods_hub//:wheel.json" : "wheel" ,
266272 },
267273)
274+ pip .parse (
275+ hub_name = "pip" ,
276+ python_version = "3.13" ,
277+ requirements_by_platform = {
278+ "//:requirements_lock_3_13.txt" : "linux_*,osx_*" ,
279+ },
280+ whl_modifications = {
281+ "@whl_mods_hub//:requests.json" : "requests" ,
282+ "@whl_mods_hub//:wheel.json" : "wheel" ,
283+ },
284+ )
268285
269286# You can add patches that will be applied on the whl contents.
270287#
0 commit comments