Skip to content

Commit 7e784fb

Browse files
fix(list-overrides): update stale and missing plugin hook names in --details output
Remove three hook names that never existed in the codebase (get_build_requirements, get_build_sdist_requirements, get_build_wheel_requirements) and add five hooks that were missing (get_build_system_dependencies, get_build_backend_dependencies, get_build_sdist_dependencies, get_install_dependencies_of_sdist, update_extra_environ). Closes: #1107 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>
1 parent 8cf4c74 commit 7e784fb

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/fromager/commands/list_overrides.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,15 @@ def list_overrides(
8181
"prepare_source",
8282
"build_sdist",
8383
"build_wheel",
84-
"get_build_requirements",
85-
"get_build_sdist_requirements",
86-
"get_build_wheel_requirements",
84+
"get_build_system_dependencies",
85+
"get_build_backend_dependencies",
86+
"get_build_sdist_dependencies",
87+
"get_install_dependencies_of_sdist",
8788
"expected_source_archive_name",
8889
"expected_source_directory_name",
8990
"add_extra_metadata_to_wheels",
91+
# from packagesettings/_hooks.py
92+
"update_extra_environ",
9093
]:
9194
if hasattr(pbi.plugin, hook):
9295
plugin_hooks.append(hook)

0 commit comments

Comments
 (0)