BUG: fix incorrect number of wheels in logs (#2517)

* BUG: fix incorrect number of wheels in logs

* add a test

---------

Co-authored-by: mayeut <mayeut@users.noreply.github.com>
This commit is contained in:
Clément Robert
2025-07-26 13:13:01 +02:00
committed by GitHub
co-authored by mayeut
parent 13b086e3c6
commit c89609aaf2
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -242,7 +242,7 @@ class Logger:
github_summary = self._github_step_summary(duration=duration, options=options)
Path(summary_path).write_text(filter_ansi_codes(github_summary), encoding="utf-8")
n_wheels = len([info for info in self.summary if not info.filename])
n_wheels = len([info for info in self.summary if info.filename])
s = "s" if n_wheels > 1 else ""
duration_str = humanize.naturaldelta(duration)
print()