@@ -85,7 +85,7 @@ fn python_install() {
85
85
----- stderr -----
86
86
Searching for Python versions matching: Python 3.13
87
87
Uninstalled Python 3.13.0 in [TIME]
88
- - cpython-3.13.0-[PLATFORM]
88
+ - cpython-3.13.0-[PLATFORM] (python3.13)
89
89
"### ) ;
90
90
}
91
91
@@ -103,7 +103,7 @@ fn python_install_preview() {
103
103
104
104
----- stderr -----
105
105
Installed Python 3.13.0 in [TIME]
106
- + cpython-3.13.0-[PLATFORM]
106
+ + cpython-3.13.0-[PLATFORM] (python3.13)
107
107
"### ) ;
108
108
109
109
let bin_python = context
@@ -147,7 +147,7 @@ fn python_install_preview() {
147
147
148
148
----- stderr -----
149
149
Installed Python 3.13.0 in [TIME]
150
- ~ cpython-3.13.0-[PLATFORM]
150
+ ~ cpython-3.13.0-[PLATFORM] (python3.13)
151
151
"### ) ;
152
152
153
153
// The executable should still be present in the bin directory
@@ -161,7 +161,7 @@ fn python_install_preview() {
161
161
162
162
----- stderr -----
163
163
Installed Python 3.13.0 in [TIME]
164
- + cpython-3.13.0-[PLATFORM]
164
+ + cpython-3.13.0-[PLATFORM] (python3.13)
165
165
"### ) ;
166
166
167
167
// The executable should still be present in the bin directory
@@ -188,7 +188,7 @@ fn python_install_preview() {
188
188
189
189
----- stderr -----
190
190
Installed Python 3.13.0 in [TIME]
191
- + cpython-3.13.0-[PLATFORM]
191
+ + cpython-3.13.0-[PLATFORM] (python3.13)
192
192
"### ) ;
193
193
194
194
bin_python. assert ( predicate:: path:: exists ( ) ) ;
@@ -220,7 +220,7 @@ fn python_install_preview() {
220
220
----- stderr -----
221
221
Searching for Python versions matching: Python 3.13
222
222
Uninstalled Python 3.13.0 in [TIME]
223
- - cpython-3.13.0-[PLATFORM]
223
+ - cpython-3.13.0-[PLATFORM] (python3.13)
224
224
"### ) ;
225
225
226
226
// The executable should be removed
@@ -244,7 +244,7 @@ fn python_install_preview_upgrade() {
244
244
245
245
----- stderr -----
246
246
Installed Python 3.12.5 in [TIME]
247
- + cpython-3.12.5-[PLATFORM]
247
+ + cpython-3.12.5-[PLATFORM] (python3.12)
248
248
"### ) ;
249
249
250
250
// Installing 3.12.4 should not replace the executable, but also shouldn't fail
@@ -262,7 +262,7 @@ fn python_install_preview_upgrade() {
262
262
filters => context. filters( ) ,
263
263
} , {
264
264
insta:: assert_snapshot!(
265
- read_link_path( & bin_python) , @"[TEMP_DIR]/managed/cpython-3.12.5-[PLATFORM]"
265
+ read_link_path( & bin_python) , @"[TEMP_DIR]/managed/cpython-3.12.5-[PLATFORM]/bin/python3.12 "
266
266
) ;
267
267
} ) ;
268
268
@@ -281,7 +281,7 @@ fn python_install_preview_upgrade() {
281
281
filters => context. filters( ) ,
282
282
} , {
283
283
insta:: assert_snapshot!(
284
- read_link_path( & bin_python) , @"[TEMP_DIR]/managed/cpython-3.12.5-[PLATFORM]"
284
+ read_link_path( & bin_python) , @"[TEMP_DIR]/managed/cpython-3.12.5-[PLATFORM]/bin/python3.12 "
285
285
) ;
286
286
} ) ;
287
287
@@ -293,14 +293,14 @@ fn python_install_preview_upgrade() {
293
293
294
294
----- stderr -----
295
295
Installed Python 3.12.4 in [TIME]
296
- + cpython-3.12.4-[PLATFORM]
296
+ + cpython-3.12.4-[PLATFORM] (python3.12)
297
297
"### ) ;
298
298
299
299
insta:: with_settings!( {
300
300
filters => context. filters( ) ,
301
301
} , {
302
302
insta:: assert_snapshot!(
303
- read_link_path( & bin_python) , @"[TEMP_DIR]/managed/cpython-3.12.4-[PLATFORM]"
303
+ read_link_path( & bin_python) , @"[TEMP_DIR]/managed/cpython-3.12.4-[PLATFORM]/bin/python3.12 "
304
304
) ;
305
305
} ) ;
306
306
@@ -312,14 +312,14 @@ fn python_install_preview_upgrade() {
312
312
313
313
----- stderr -----
314
314
Installed Python 3.12.6 in [TIME]
315
- + cpython-3.12.6-[PLATFORM]
315
+ + cpython-3.12.6-[PLATFORM] (python3.12)
316
316
"### ) ;
317
317
318
318
insta:: with_settings!( {
319
319
filters => context. filters( ) ,
320
320
} , {
321
321
insta:: assert_snapshot!(
322
- read_link_path( & bin_python) , @"[TEMP_DIR]/managed/cpython-3.12.6-[PLATFORM]"
322
+ read_link_path( & bin_python) , @"[TEMP_DIR]/managed/cpython-3.12.6-[PLATFORM]/bin/python3.12 "
323
323
) ;
324
324
} ) ;
325
325
}
@@ -336,7 +336,7 @@ fn python_install_freethreaded() {
336
336
337
337
----- stderr -----
338
338
Installed Python 3.13.0 in [TIME]
339
- + cpython-3.13.0+freethreaded-[PLATFORM]
339
+ + cpython-3.13.0+freethreaded-[PLATFORM] (python3.13t)
340
340
"### ) ;
341
341
342
342
let bin_python = context
@@ -391,8 +391,8 @@ fn python_install_freethreaded() {
391
391
----- stderr -----
392
392
Searching for Python installations
393
393
Uninstalled 2 versions in [TIME]
394
- - cpython-3.13.0-[PLATFORM]
395
- - cpython-3.13.0+freethreaded-[PLATFORM]
394
+ - cpython-3.13.0-[PLATFORM] (python3.13)
395
+ - cpython-3.13.0+freethreaded-[PLATFORM] (python3.13t)
396
396
"### ) ;
397
397
}
398
398
0 commit comments