mirror of
https://github.com/zebrajr/ansible.git
synced 2025-12-06 00:19:48 +01:00
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:
parent
0cd36ce6d0
commit
53afc6f203
|
|
@ -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('sdist', expected_sdist_files, actual_sdist_files))
|
||||||
errors.extend(check_files('wheel', expected_wheel_files, actual_wheel_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
|
return errors
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user