From 7d111e827a8962db368931d8f5393b18a09dbeec Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Tue, 21 Jun 2016 15:37:08 +0200 Subject: [PATCH] Disable warnerrors=True in setup.cfg This feature is not working for a while, which potentially allowed errors to sneak into the tree. The next pbr release will fix the feature, effectively re-enabling it for us. It may break our gate if at that point we will have warnings in the documentation. So just disable the flag for now, wait for the next pbr release, and revert the patch back, fixing any warnings that may be present in the tree at that time. Change-Id: I117a458d2b4b043fa0238eebc061586761691841 --- setup.cfg | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index 2111a5c8e3c..21676c1f92c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -184,5 +184,9 @@ input_file = neutron/locale/neutron.pot [wheel] universal = 1 -[pbr] -warnerrors = true +# NOTE(ihrachys): disable until a new pbr release is released that will +# actually make the flag effective. Otherwise, we may be broken by the next pbr +# release. More info at: +# http://lists.openstack.org/pipermail/openstack-dev/2016-June/097849.html +#[pbr] +#warnerrors = true