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.
This commit is contained in:
Sviatoslav Sydorenko 2025-10-08 17:02:16 +02:00 committed by 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко)
parent 0cd36ce6d0
commit 53afc6f203

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