@@ -413,17 +413,17 @@ def _test_add_new_version(env):
413413 strip_prefix = "python" ,
414414 platform = "aarch64-unknown-linux-gnu" ,
415415 coverage_tool = "specific_cov_tool" ,
416- python_version = "3.13.1 " ,
416+ python_version = "3.13.99 " ,
417417 patch_strip = 2 ,
418418 patches = ["specific-patch.txt" ],
419419 ),
420420 ],
421421 override = [
422422 _override (
423423 base_url = "" ,
424- available_python_versions = ["3.12.4" , "3.13.0" , "3.13.1" ],
424+ available_python_versions = ["3.12.4" , "3.13.0" , "3.13.1" , "3.13.99" ],
425425 minor_mapping = {
426- "3.13" : "3.13.0 " ,
426+ "3.13" : "3.13.99 " ,
427427 },
428428 ),
429429 ],
@@ -436,13 +436,14 @@ def _test_add_new_version(env):
436436 "3.12.4" ,
437437 "3.13.0" ,
438438 "3.13.1" ,
439+ "3.13.99" ,
439440 ])
440441 env .expect .that_dict (py .config .default ["tool_versions" ]["3.13.0" ]).contains_exactly ({
441442 "sha256" : {"aarch64-unknown-linux-gnu" : "deadbeef" },
442443 "strip_prefix" : {"aarch64-unknown-linux-gnu" : "prefix" },
443444 "url" : {"aarch64-unknown-linux-gnu" : ["example.org" ]},
444445 })
445- env .expect .that_dict (py .config .default ["tool_versions" ]["3.13.1 " ]).contains_exactly ({
446+ env .expect .that_dict (py .config .default ["tool_versions" ]["3.13.99 " ]).contains_exactly ({
446447 "coverage_tool" : {"aarch64-unknown-linux-gnu" : "specific_cov_tool" },
447448 "patch_strip" : {"aarch64-unknown-linux-gnu" : 2 },
448449 "patches" : {"aarch64-unknown-linux-gnu" : ["specific-patch.txt" ]},
@@ -452,7 +453,7 @@ def _test_add_new_version(env):
452453 })
453454 env .expect .that_dict (py .config .minor_mapping ).contains_exactly ({
454455 "3.12" : "3.12.4" , # The `minor_mapping` will be overriden only for the missing keys
455- "3.13" : "3.13.0 " ,
456+ "3.13" : "3.13.99 " ,
456457 })
457458 env .expect .that_collection (py .toolchains ).contains_exactly ([
458459 struct (
@@ -484,13 +485,13 @@ def _test_register_all_versions(env):
484485 sha256 = "deadb00f" ,
485486 urls = ["something.org" ],
486487 platform = "aarch64-unknown-linux-gnu" ,
487- python_version = "3.13.1 " ,
488+ python_version = "3.13.99 " ,
488489 ),
489490 ],
490491 override = [
491492 _override (
492493 base_url = "" ,
493- available_python_versions = ["3.12.4" , "3.13.0" , "3.13.1" ],
494+ available_python_versions = ["3.12.4" , "3.13.0" , "3.13.1" , "3.13.99" ],
494495 register_all_versions = True ,
495496 ),
496497 ],
@@ -503,11 +504,12 @@ def _test_register_all_versions(env):
503504 "3.12.4" ,
504505 "3.13.0" ,
505506 "3.13.1" ,
507+ "3.13.99" ,
506508 ])
507509 env .expect .that_dict (py .config .minor_mapping ).contains_exactly ({
508510 # The mapping is calculated automatically
509511 "3.12" : "3.12.4" ,
510- "3.13" : "3.13.1 " ,
512+ "3.13" : "3.13.99 " ,
511513 })
512514 env .expect .that_collection (py .toolchains ).contains_exactly ([
513515 struct (
@@ -521,6 +523,7 @@ def _test_register_all_versions(env):
521523 "python_3_13" : "3.13" ,
522524 "python_3_13_0" : "3.13.0" ,
523525 "python_3_13_1" : "3.13.1" ,
526+ "python_3_13_99" : "3.13.99" ,
524527 }.items ()
525528 ])
526529
0 commit comments