Hi,
On Mon, Apr 20, 2020 at 3:28 PM Nils.Magnus@t-systems.com wrote:
Hi CentOS developers, especially Cloud SIG team,
tl;dr: I need some help in packaging Python3 packages available in PyPI for CentOS 7.
Details:
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).
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.
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.
The affected packages are available in PyPI:
- https://pypi.org/project/openstacksdk/ (version 0.46.0)
- https://pypi.org/project/python-openstackclient/ (version 5.2.0, not
to be confused with “openstackclient” without the “python-“ prefix, which is stuck at 4.0.0)
- https://pypi.org/project/otcextensions/ (version 0.6.9, but this our
own business)
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?
Currently python3 packages on CentOS 7 are not planned in CloudSIG. I summarized the challenges of building openstack python3 packages on CentOS 7 in:
https://blogs.rdoproject.org/2020/02/migration-paths-for-rdo-from-centos-7-t...
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.
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.
Best regards,
Alfredo
Thank you + Regards,
/Nils _______________________________________________ CentOS-devel mailing list CentOS-devel@centos.org https://lists.centos.org/mailman/listinfo/centos-devel