Skip to content

Commit f3ce381

Browse files
committed
fix: wheel_test, extract_wheel_files_test, test_publish
Checksums became out of sync.
1 parent 65c4f9d commit f3ce381

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

examples/wheel/test_publish.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def test_upload_and_query_simple_api(self):
104104
</head>
105105
<body>
106106
<h1>Links for example-minimal-library</h1>
107-
<a href="/packages/example_minimal_library-0.0.1-py3-none-any.whl#sha256=554179da3b6a355d8e79a834ef36e14467f69aa2c107215ac76947267063bfe7">example_minimal_library-0.0.1-py3-none-any.whl</a><br>
107+
<a href="/packages/example_minimal_library-0.0.1-py3-none-any.whl#sha256=0cbf4ec574676015af595f570caf4ae2812f994f6338e247b002b4e496b6fbd5">example_minimal_library-0.0.1-py3-none-any.whl</a><br>
108108
</body>
109109
</html>"""
110110
self.assertEqual(

examples/wheel/wheel_test.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def test_py_library_wheel(self):
8585
],
8686
)
8787
self.assertFileSha256Equal(
88-
filename, "554179da3b6a355d8e79a834ef36e14467f69aa2c107215ac76947267063bfe7"
88+
filename, "0cbf4ec574676015af595f570caf4ae2812f994f6338e247b002b4e496b6fbd5"
8989
)
9090

9191
def test_py_package_wheel(self):
@@ -110,7 +110,7 @@ def test_py_package_wheel(self):
110110
],
111111
)
112112
self.assertFileSha256Equal(
113-
filename, "9b16dfcafd8b51a43fdaf43a0ea10478bb1362aa61c6258f7b2acdc14f0a8b1f"
113+
filename, "22aff90dd3c8c30c3ce2b729bb793cab0bd2668a6810de232677a0354ce79cae"
114114
)
115115

116116
def test_customized_wheel(self):
@@ -151,8 +151,8 @@ def test_customized_wheel(self):
151151
"examples/wheel/lib/data,with,commas.txt",sha256=9vJKEdfLu8bZRArKLroPZJh1XKkK3qFMXiM79MBL2Sg,12
152152
examples/wheel/lib/data.txt,sha256=9vJKEdfLu8bZRArKLroPZJh1XKkK3qFMXiM79MBL2Sg,12
153153
examples/wheel/lib/module_with_data.py,sha256=8s0Khhcqz3yVsBKv2IB5u4l4TMKh7-c_V6p65WVHPms,637
154-
examples/wheel/lib/module_with_type_annotations.py,sha256=zk6gGvVEzlPNKHRub7ejFB27WaLWgGV40nir8uShqMw,636
155-
examples/wheel/lib/module_with_type_annotations.pyi,sha256=-7Q8fnpVOOqLT5mXLT57Gy9-KHIh-4T0w4apAdh-Q-8,630
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
156156
examples/wheel/lib/simple_module.py,sha256=z2hwciab_XPNIBNH8B1Q5fYgnJvQTeYf0ZQJpY8yLLY,637
157157
examples/wheel/main.py,sha256=mFiRfzQEDwCHr-WVNQhOH26M42bw1UMF6IoqvtuDTrw,1047
158158
example_customized-0.0.1.dist-info/WHEEL,sha256=sobxWSyDDkdg_rinUth-jxhXHqoNqlmNMJY3aTZn2Us,91
@@ -205,7 +205,7 @@ def test_customized_wheel(self):
205205
second = second.main:s""",
206206
)
207207
self.assertFileSha256Equal(
208-
filename, "0b61feaeddf5aee70da122d660bc2052d43859c1222aa1e68530197288b94fea"
208+
filename, "657a938a6fdd6f38bf73d1d91016ffff85d68cf29ca390692a3e9d923dd0e39e"
209209
)
210210

211211
def test_filename_escaping(self):
@@ -277,7 +277,7 @@ def test_custom_package_root_wheel(self):
277277
for line in record_contents.splitlines():
278278
self.assertFalse(line.startswith("/"))
279279
self.assertFileSha256Equal(
280-
filename, "ddded99a1ac3c11775ca6c4f6552d0840f01e5a4b73ad4590baa13431f46c848"
280+
filename, "d415edbf8f326161674c1fa260e364dd44f2a0311e2f596284320ea52d2a8bdb"
281281
)
282282

283283
def test_custom_package_root_multi_prefix_wheel(self):
@@ -311,7 +311,7 @@ def test_custom_package_root_multi_prefix_wheel(self):
311311
for line in record_contents.splitlines():
312312
self.assertFalse(line.startswith("/"))
313313
self.assertFileSha256Equal(
314-
filename, "7b2c63ea57a9b7783993a9e4a8e41770fee7973425f492b22084fa3dedb4e08d"
314+
filename, "6b76a1178c90996feaf3f9417f350c4a67f90f4247647fd4fd552858dc372d4b"
315315
)
316316

317317
def test_custom_package_root_multi_prefix_reverse_order_wheel(self):
@@ -345,7 +345,7 @@ def test_custom_package_root_multi_prefix_reverse_order_wheel(self):
345345
for line in record_contents.splitlines():
346346
self.assertFalse(line.startswith("/"))
347347
self.assertFileSha256Equal(
348-
filename, "74c63fbad3badf4f6adc47d75bbc710a95b0d7e2d5b263dbdfa227765d70a565"
348+
filename, "f976f0bb1c7d753e8c41629d6b79fb09908c6ecd2fec006816879fc86b664f3f"
349349
)
350350

351351
def test_python_requires_wheel(self):
@@ -370,7 +370,7 @@ def test_python_requires_wheel(self):
370370
""",
371371
)
372372
self.assertFileSha256Equal(
373-
filename, "95aea8ae816943c4bd1d3aefcff134224ecaa7c4b74f0b6be8ab858be89760af"
373+
filename, "f3b74ce429c3324b87f8d1cc7dc33be1493f54bb88d546a7d53be7587b82c1a7"
374374
)
375375

376376
def test_python_abi3_binary_wheel(self):

tests/whl_filegroup/extract_wheel_files_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ def test_get_wheel_record(self) -> None:
1414
"examples/wheel/lib/data,with,commas.txt",
1515
"examples/wheel/lib/data.txt",
1616
"examples/wheel/lib/module_with_data.py",
17+
"examples/wheel/lib/module_with_type_annotations.py",
18+
"examples/wheel/lib/module_with_type_annotations.pyi",
1719
"examples/wheel/lib/simple_module.py",
1820
"examples/wheel/main.py",
1921
"example_minimal_package-0.0.1.dist-info/WHEEL",

0 commit comments

Comments
 (0)