From 75430a95b9e130710d4072f2a3567349caa4523a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Thu, 20 Apr 2017 15:28:11 +0200 Subject: [PATCH] gather: Process dependencies sorted MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Instead of going in random order, we should do it deterministically and process the dependencies in order. This should actually fix a problem where `glibc-langpack` packages are missing on some architectures for Fedora Rawhide. Fixes: https://pagure.io/pungi-fedora/issue/214 Signed-off-by: Lubomír Sedlář --- pungi/gather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pungi/gather.py b/pungi/gather.py index 20cc33d3..fe68db67 100644 --- a/pungi/gather.py +++ b/pungi/gather.py @@ -645,7 +645,7 @@ class Pungi(PungiBase): continue self.resolved_deps[req] = None - for add in added: + for add in sorted(added): self.get_package_deps(add) return added