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)
pull/85987/head
Sviatoslav Sydorenko 2 months ago committed by Matt Martz
parent 3f7cfd961c
commit 1b6bcc53b1
No known key found for this signature in database
GPG Key ID: 40832D88E9FC91D8

@ -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

Loading…
Cancel
Save