@@ -76,14 +76,16 @@ def test_py_library_wheel(self):
76
76
zf .namelist (),
77
77
[
78
78
"examples/wheel/lib/module_with_data.py" ,
79
+ "examples/wheel/lib/module_with_type_annotations.py" ,
80
+ "examples/wheel/lib/module_with_type_annotations.pyi" ,
79
81
"examples/wheel/lib/simple_module.py" ,
80
82
"example_minimal_library-0.0.1.dist-info/WHEEL" ,
81
83
"example_minimal_library-0.0.1.dist-info/METADATA" ,
82
84
"example_minimal_library-0.0.1.dist-info/RECORD" ,
83
85
],
84
86
)
85
87
self .assertFileSha256Equal (
86
- filename , "79a4e9c1838c0631d5d8fa49a26efd6e9a364f6b38d9597c0f6df112271a0e28 "
88
+ filename , "0cbf4ec574676015af595f570caf4ae2812f994f6338e247b002b4e496b6fbd5 "
87
89
)
88
90
89
91
def test_py_package_wheel (self ):
@@ -98,6 +100,8 @@ def test_py_package_wheel(self):
98
100
"examples/wheel/lib/data,with,commas.txt" ,
99
101
"examples/wheel/lib/data.txt" ,
100
102
"examples/wheel/lib/module_with_data.py" ,
103
+ "examples/wheel/lib/module_with_type_annotations.py" ,
104
+ "examples/wheel/lib/module_with_type_annotations.pyi" ,
101
105
"examples/wheel/lib/simple_module.py" ,
102
106
"examples/wheel/main.py" ,
103
107
"example_minimal_package-0.0.1.dist-info/WHEEL" ,
@@ -106,7 +110,7 @@ def test_py_package_wheel(self):
106
110
],
107
111
)
108
112
self .assertFileSha256Equal (
109
- filename , "82370bf61310e2d3c7b1218368457dc7e161bf5dc1a280d7d45102b5e56acf43 "
113
+ filename , "22aff90dd3c8c30c3ce2b729bb793cab0bd2668a6810de232677a0354ce79cae "
110
114
)
111
115
112
116
def test_customized_wheel (self ):
@@ -121,6 +125,8 @@ def test_customized_wheel(self):
121
125
"examples/wheel/lib/data,with,commas.txt" ,
122
126
"examples/wheel/lib/data.txt" ,
123
127
"examples/wheel/lib/module_with_data.py" ,
128
+ "examples/wheel/lib/module_with_type_annotations.py" ,
129
+ "examples/wheel/lib/module_with_type_annotations.pyi" ,
124
130
"examples/wheel/lib/simple_module.py" ,
125
131
"examples/wheel/main.py" ,
126
132
"example_customized-0.0.1.dist-info/WHEEL" ,
@@ -145,8 +151,10 @@ def test_customized_wheel(self):
145
151
"examples/wheel/lib/data,with,commas.txt",sha256=9vJKEdfLu8bZRArKLroPZJh1XKkK3qFMXiM79MBL2Sg,12
146
152
examples/wheel/lib/data.txt,sha256=9vJKEdfLu8bZRArKLroPZJh1XKkK3qFMXiM79MBL2Sg,12
147
153
examples/wheel/lib/module_with_data.py,sha256=8s0Khhcqz3yVsBKv2IB5u4l4TMKh7-c_V6p65WVHPms,637
154
+ examples/wheel/lib/module_with_type_annotations.py,sha256=MM2cFQsCBaUnzGiEGT5r07jhKSaCVRh5Paw_YLyrS-w,636
155
+ examples/wheel/lib/module_with_type_annotations.pyi,sha256=fja3ql_WRJ1qO8jyZjWWrTTMcg1J7EpOQivOHY_8vI4,630
148
156
examples/wheel/lib/simple_module.py,sha256=z2hwciab_XPNIBNH8B1Q5fYgnJvQTeYf0ZQJpY8yLLY,637
149
- examples/wheel/main.py,sha256=sgg5iWN_9inYBjm6_Zw27hYdmo-l24fA-2rfphT-IlY,909
157
+ examples/wheel/main.py,sha256=mFiRfzQEDwCHr-WVNQhOH26M42bw1UMF6IoqvtuDTrw,1047
150
158
example_customized-0.0.1.dist-info/WHEEL,sha256=sobxWSyDDkdg_rinUth-jxhXHqoNqlmNMJY3aTZn2Us,91
151
159
example_customized-0.0.1.dist-info/METADATA,sha256=QYQcDJFQSIqan8eiXqL67bqsUfgEAwf2hoK_Lgi1S-0,559
152
160
example_customized-0.0.1.dist-info/entry_points.txt,sha256=pqzpbQ8MMorrJ3Jp0ntmpZcuvfByyqzMXXi2UujuXD0,137
@@ -197,7 +205,7 @@ def test_customized_wheel(self):
197
205
second = second.main:s""" ,
198
206
)
199
207
self .assertFileSha256Equal (
200
- filename , "706e8dd45884d8cb26e92869f7d29ab7ed9f683b4e2d08f06c03dbdaa12191b8 "
208
+ filename , "657a938a6fdd6f38bf73d1d91016ffff85d68cf29ca390692a3e9d923dd0e39e "
201
209
)
202
210
203
211
def test_filename_escaping (self ):
@@ -211,6 +219,8 @@ def test_filename_escaping(self):
211
219
"examples/wheel/lib/data,with,commas.txt" ,
212
220
"examples/wheel/lib/data.txt" ,
213
221
"examples/wheel/lib/module_with_data.py" ,
222
+ "examples/wheel/lib/module_with_type_annotations.py" ,
223
+ "examples/wheel/lib/module_with_type_annotations.pyi" ,
214
224
"examples/wheel/lib/simple_module.py" ,
215
225
"examples/wheel/main.py" ,
216
226
# PEP calls for replacing only in the archive filename.
@@ -248,6 +258,8 @@ def test_custom_package_root_wheel(self):
248
258
"wheel/lib/data,with,commas.txt" ,
249
259
"wheel/lib/data.txt" ,
250
260
"wheel/lib/module_with_data.py" ,
261
+ "wheel/lib/module_with_type_annotations.py" ,
262
+ "wheel/lib/module_with_type_annotations.pyi" ,
251
263
"wheel/lib/simple_module.py" ,
252
264
"wheel/main.py" ,
253
265
"examples_custom_package_root-0.0.1.dist-info/WHEEL" ,
@@ -265,7 +277,7 @@ def test_custom_package_root_wheel(self):
265
277
for line in record_contents .splitlines ():
266
278
self .assertFalse (line .startswith ("/" ))
267
279
self .assertFileSha256Equal (
268
- filename , "568922541703f6edf4b090a8413991f9fa625df2844e644dd30bdbe9deb660be "
280
+ filename , "d415edbf8f326161674c1fa260e364dd44f2a0311e2f596284320ea52d2a8bdb "
269
281
)
270
282
271
283
def test_custom_package_root_multi_prefix_wheel (self ):
@@ -281,6 +293,8 @@ def test_custom_package_root_multi_prefix_wheel(self):
281
293
"data,with,commas.txt" ,
282
294
"data.txt" ,
283
295
"module_with_data.py" ,
296
+ "module_with_type_annotations.py" ,
297
+ "module_with_type_annotations.pyi" ,
284
298
"simple_module.py" ,
285
299
"main.py" ,
286
300
"example_custom_package_root_multi_prefix-0.0.1.dist-info/WHEEL" ,
@@ -297,7 +311,7 @@ def test_custom_package_root_multi_prefix_wheel(self):
297
311
for line in record_contents .splitlines ():
298
312
self .assertFalse (line .startswith ("/" ))
299
313
self .assertFileSha256Equal (
300
- filename , "a8b91ce9d6f570e97b40a357a292a6f595d3470f07c479cb08550257cc9c8306 "
314
+ filename , "6b76a1178c90996feaf3f9417f350c4a67f90f4247647fd4fd552858dc372d4b "
301
315
)
302
316
303
317
def test_custom_package_root_multi_prefix_reverse_order_wheel (self ):
@@ -313,6 +327,8 @@ def test_custom_package_root_multi_prefix_reverse_order_wheel(self):
313
327
"lib/data,with,commas.txt" ,
314
328
"lib/data.txt" ,
315
329
"lib/module_with_data.py" ,
330
+ "lib/module_with_type_annotations.py" ,
331
+ "lib/module_with_type_annotations.pyi" ,
316
332
"lib/simple_module.py" ,
317
333
"main.py" ,
318
334
"example_custom_package_root_multi_prefix_reverse_order-0.0.1.dist-info/WHEEL" ,
@@ -329,7 +345,7 @@ def test_custom_package_root_multi_prefix_reverse_order_wheel(self):
329
345
for line in record_contents .splitlines ():
330
346
self .assertFalse (line .startswith ("/" ))
331
347
self .assertFileSha256Equal (
332
- filename , "8f44e940731757c186079a42cfe7ea3d43cd96b526e3fb2ca2a3ea3048a9d489 "
348
+ filename , "f976f0bb1c7d753e8c41629d6b79fb09908c6ecd2fec006816879fc86b664f3f "
333
349
)
334
350
335
351
def test_python_requires_wheel (self ):
@@ -354,7 +370,7 @@ def test_python_requires_wheel(self):
354
370
""" ,
355
371
)
356
372
self .assertFileSha256Equal (
357
- filename , "ba32493f5e43e481346384aaab9e8fa09c23884276ad057c5f432096a0350101 "
373
+ filename , "f3b74ce429c3324b87f8d1cc7dc33be1493f54bb88d546a7d53be7587b82c1a7 "
358
374
)
359
375
360
376
def test_python_abi3_binary_wheel (self ):
@@ -419,7 +435,7 @@ def test_rule_creates_directory_and_is_included_in_wheel(self):
419
435
],
420
436
)
421
437
self .assertFileSha256Equal (
422
- filename , "ac9216bd54dcae1a6270c35fccf8a73b0be87c1b026c28e963b7c76b2f9b722b "
438
+ filename , "d8e874b807e5574bd11a9312c58ce7fe7055afb80412d0d0e7ed21fc9223cd53 "
423
439
)
424
440
425
441
def test_rule_expands_workspace_status_keys_in_wheel_metadata (self ):
0 commit comments