<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 24, 2020 at 1:16 PM Neale Ferguson <<a href="mailto:neale@sinenomine.net">neale@sinenomine.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US">
<div class="gmail-m_-4771936506789393960WordSection1">
<p class="MsoNormal">Thanks for the pointers.<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal">The most recent openstack-macros we built is openstack-macros-2018.1.2-0.el7. It is quite different to the one in the URL you provided:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New";color:black">%py_req_cleanup() \<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New";color:black">sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg \<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New";color:black">rm -rf *requirements.txt \<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Courier New";color:black">%nil<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">This appears to be part of openstack-macros-2019. I can’t see this file in the vault. I will grab it from elsewhere and give it a go.</p></div></div></blockquote><div><br></div><div>You can get it from <a href="https://cbs.centos.org/koji/buildinfo?buildID=25233">https://cbs.centos.org/koji/buildinfo?buildID=25233</a></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_-4771936506789393960WordSection1"><p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><span style="font-size:10pt;font-family:"Arial",sans-serif;color:black">Neale</span><span style="font-family:"Arial",sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border-color:rgb(181,196,223) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0in 0in">
<p class="MsoNormal"><span style="font-size:12pt;color:black"><u></u> <u></u></span></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal">When using "%{<span class="gmail-m_-4771936506789393960gmail-pl-smi">pyver_bin</span>} setup.py build_sphinx -b html", warning iserror is taken from a parameter in setup.cfg:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="https://github.com/openstack/oslo.reports/blob/stable/train/setup.cfg#L42" target="_blank">https://github.com/openstack/oslo.reports/blob/stable/train/setup.cfg#L42</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">It's enabled there. However, in RDO, we disable it with macro py_req_cleanup:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><a href="https://github.com/openstack/rpm-packaging/blob/stable/train/openstack/openstack-macros/macros.openstack-rdo#L22" target="_blank">https://github.com/openstack/rpm-packaging/blob/stable/train/openstack/openstack-macros/macros.openstack-rdo#L22</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Are you using the updated version of openstack-macros?, can you check how py_req_cleanup is defined?
<u></u><u></u></p>
</div>
<blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal"><u></u> <u></u></p>
</blockquote>
</div>
</div>
</div>
</div>
_______________________________________________<br>
CentOS-devel mailing list<br>
<a href="mailto:CentOS-devel@centos.org" target="_blank">CentOS-devel@centos.org</a><br>
<a href="https://lists.centos.org/mailman/listinfo/centos-devel" rel="noreferrer" target="_blank">https://lists.centos.org/mailman/listinfo/centos-devel</a><br>
</blockquote></div></div>