From 55ddc8bd2ce16f15d5587274dbd13e8aa507c934 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Thu, 10 May 2018 17:51:54 +0100 Subject: [PATCH] Remove docs/requirements.txt from py_pkgs lookup output There is no need to build the docs python packages when doing a repo build. The packages aren't required for a successful deployment of OpenStack. The output of their data just adds noise to the output of the lookup, and delays the build with unnecessary extra wheel builds. Change-Id: Ia60e1a49d9befdbafdaf89e5cf21e17985a706e7 --- lookup/py_pkgs.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lookup/py_pkgs.py b/lookup/py_pkgs.py index d641ad1c..44bbc285 100644 --- a/lookup/py_pkgs.py +++ b/lookup/py_pkgs.py @@ -626,6 +626,9 @@ class DependencyFileProcessor(object): return_list.insert(index, file_name) else: for file_name in return_list: + print(file_name) + if file_name.endswith('doc/requirements.txt'): + continue if file_name.endswith('other-requirements.txt'): continue elif file_name.endswith('bindep.txt'):