Mention pkg name in package-data sanity output

The logs were displaying a series of numbers in parens like `(66.1.0)`
at the end of each error line. its unintuitive what that means. I had
to look into the source code to confirm my suspicion of it being the
version of `setuptools`. This patch spells it out.

(cherry picked from commit 53afc6f203)
This commit is contained in:
Sviatoslav Sydorenko
2025-10-14 11:52:40 -05:00
committed by Matt Martz
parent 3f7cfd961c
commit 1b6bcc53b1
+1 -1
View File
@@ -247,7 +247,7 @@ def check_build(complete_file_list: list[str], use_upper_setuptools_version: boo
errors.extend(check_files('sdist', expected_sdist_files, actual_sdist_files))
errors.extend(check_files('wheel', expected_wheel_files, actual_wheel_files))
errors = [f'{msg} ({setuptools_version})' for msg in errors]
errors = [f'{msg} (setuptools=={setuptools_version})' for msg in errors]
return errors