<div dir="ltr"><div>Hi,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 20, 2020 at 3:28 PM <<a href="mailto:Nils.Magnus@t-systems.com">Nils.Magnus@t-systems.com</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="DE">
<div class="gmail-m_3350972490302943032WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi CentOS developers, especially Cloud SIG team,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">tl;dr: I need some help in packaging Python3 packages available in PyPI for CentOS 7.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Details:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">we are a public cloud provider based on OpenStack and many of our customers and partners unfortunately still request CentOS 7 images for their VMs. In my team we support the upstream development of OpenStack SDK and OpenStack
 Client (both seem to be de facto one combined team now) and also provide some extensions specific to our cloud (via a plugin mechanism in recent releases of the SDK).<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Our clients frequently ask for updated RPMs for CentOS 7. I wonder if you as CentOS community at large are interested in having them as well, or, if not, if you could point me in the right direction how to build them.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">One major conflict I am currently struggling with is that virtually all Python 2.7 code is not only no longer supported (due to a community goal in OpenStack), but actually removed (which is in itself a good decision,
 no doubt about it). The mentioned packages work well with Python 3, but as I understand it, Python 3 is not available by vanilla CentOS 7.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">The affected packages are available in PyPI:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<ul style="margin-top:0cm" type="disc">
<li class="gmail-m_3350972490302943032MsoListParagraph">
<span lang="EN-US"><a href="https://pypi.org/project/openstacksdk/" target="_blank"><span lang="DE">https://pypi.org/project/openstacksdk/</span></a></span> (version 0.46.0)<u></u><u></u></li><li class="gmail-m_3350972490302943032MsoListParagraph">
<a href="https://pypi.org/project/python-openstackclient/" target="_blank"><span lang="EN-US">https://pypi.org/project/python-openstackclient/</span></a><span lang="EN-US"> (version 5.2.0, not to be confused with “openstackclient” without the “python-“ prefix, which is stuck
 at 4.0.0)<u></u><u></u></span></li><li class="gmail-m_3350972490302943032MsoListParagraph">
<span lang="EN-US"><a href="https://pypi.org/project/otcextensions/" target="_blank">https://pypi.org/project/otcextensions/</a> (version 0.6.9, but this our own business)<u></u><u></u></span></li></ul>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">They are all easily installed with “pip” once you have a Python 3 environment, but draw a total of 100 other packages as dependencies. Could you please advise how to proceed if someone insists on RPMs for those?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> </span></p></div></div></blockquote><div><br></div><div>Currently python3 packages on CentOS 7 are not planned in CloudSIG. I summarized the challenges of building openstack python3 packages on CentOS 7 in:</div><div><br></div><div><a href="https://blogs.rdoproject.org/2020/02/migration-paths-for-rdo-from-centos-7-to-8/">https://blogs.rdoproject.org/2020/02/migration-paths-for-rdo-from-centos-7-to-8/</a></div><div><br></div><div>For the clients part only, I don't have the list of dependencies and packages needed but in fedora, where we build only the clients is around 50. If anyone with experience in creating packages and ideally with some background on CentOS build tooling is willing to collaborate on it, I'll be happy to onboard and support in this effort.<br></div><div><br></div><div>An alternative for some users could be to create a centos8 container with all openstack clients and run them from the container although i understand that may not cover all use cases. <br></div><div><br></div><div>Best regards,</div><div><br></div><div>Alfredo<br></div><div><br></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="DE"><div class="gmail-m_3350972490302943032WordSection1"><p class="MsoNormal"><span lang="EN-US"><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Thank you + Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">/Nils<u></u><u></u></span></p>
</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>