Skip to content

Commit a775210

Browse files
committed
fixup tests
1 parent b2451bf commit a775210

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

tests/python/python_tests.bzl

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -304,11 +304,11 @@ def _test_toolchain_ordering(env):
304304
toolchain = [
305305
_toolchain("3.10"),
306306
_toolchain("3.10.15"),
307-
_toolchain("3.10.16"),
308-
_toolchain("3.10.11"),
307+
_toolchain("3.10.18"),
308+
_toolchain("3.10.13"),
309309
_toolchain("3.11.1"),
310310
_toolchain("3.11.10"),
311-
_toolchain("3.11.11", is_default = True),
311+
_toolchain("3.11.13", is_default = True),
312312
],
313313
),
314314
_mod(name = "rules_python", toolchain = [_toolchain("3.11")]),
@@ -320,14 +320,15 @@ def _test_toolchain_ordering(env):
320320
for t in py.toolchains
321321
]
322322

323-
env.expect.that_str(py.default_python_version).equals("3.11.11")
323+
env.expect.that_str(py.default_python_version).equals("3.11.13")
324324
env.expect.that_dict(py.config.minor_mapping).contains_exactly({
325-
"3.10": "3.10.16",
326-
"3.11": "3.11.11",
327-
"3.12": "3.12.9",
328-
"3.13": "3.13.2",
325+
"3.10": "3.10.18",
326+
"3.11": "3.11.13",
327+
"3.12": "3.12.11",
328+
"3.13": "3.13.4",
329+
"3.14": "3.14.0b2",
329330
"3.8": "3.8.20",
330-
"3.9": "3.9.21",
331+
"3.9": "3.9.23",
331332
})
332333
env.expect.that_collection(got_versions).contains_exactly([
333334
# First the full-version toolchains that are in minor_mapping
@@ -336,13 +337,13 @@ def _test_toolchain_ordering(env):
336337
# The default version is always set in the `python_version` flag, so know, that
337338
# the default match will be somewhere in the first bunch.
338339
"3.10",
339-
"3.10.16",
340+
"3.10.18",
340341
"3.11",
341-
"3.11.11",
342+
"3.11.13",
342343
# Next, the rest, where we will match things based on the `python_version` being
343344
# the same
344345
"3.10.15",
345-
"3.10.11",
346+
"3.10.13",
346347
"3.11.1",
347348
"3.11.10",
348349
]).in_order()

0 commit comments

Comments
 (0)