Skip to content

Commit e23a7f9

Browse files
committed
Use format() with version dict instead of python_version_nodot
1 parent 3213ae8 commit e23a7f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/private/hermetic_runtime_repo_setup.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def define_hermetic_runtime_toolchain_impl(
165165
],
166166
":is_freethreaded_windows": [
167167
"python3t.dll",
168-
"python{python_version_nodot}t.dll",
168+
"python{major}{minor}t.dll".format(**version_dict),
169169
"libs/python{major}{minor}t.lib".format(**version_dict),
170170
"libs/python3t.lib",
171171
],
@@ -176,7 +176,7 @@ def define_hermetic_runtime_toolchain_impl(
176176
"@platforms//os:macos": ["lib/libpython{major}.{minor}.dylib".format(**version_dict)],
177177
"@platforms//os:windows": [
178178
"python3.dll",
179-
"python{python_version_nodot}.dll",
179+
"python{major}{minor}.dll".format(**version_dict),
180180
"libs/python{major}{minor}.lib".format(**version_dict),
181181
"libs/python3.lib",
182182
],

0 commit comments

Comments
 (0)