As noted in here: https://phab.qadevel.cloud.fedoraproject.org/D148?id=431#inline-1282 this code could be optimized by using koji multi-calls. This will need a bit different approach also in _squash_rpms_to_builds() (respective file: https://bitbucket.org/fedoraqa/task-depcheck/commits/e492c9e60487dc7166d2f3798d4bac3055fb6771#chg-depcheck/squash_results.py )
_squash_rpms_to_builds()
This ticket had assigned some Differential requests: D176 D175
Metadata Update from @jskladan: - Issue tagged with: easyfix