[CentOS-devel] Python 3

Fri Sep 29 02:22:34 UTC 2017
Nico Kadel-Garcia <nkadel at gmail.com>

On Wed, Sep 27, 2017 at 10:54 AM, Thomas F Herbert <therbert at redhat.com> wrote:
>
>
> On 09/25/2017 10:05 AM, Jonathan Billings wrote:
>
> Python 3 is available in the SCL repos.  The /usr/bin/python in
> CentOS6 and CentOS7 are very unlikely to ever be changed from Python
> 2.x, due to how most of the management tools for RHEL/CentOS are
> written in Python 2.x.
>
> Johathon,
> Thanks for the suggestion. However, I am trying to build a package for
> Centos distribution and an upstream change now requires Python 3 during the
> build process. I think that SCL is in extras or EPEL isn't it?

It's a separate repository, which CentOS rebuilds from Red Hat
published content, much like the rest of CentOS. See
https://wiki.centos.org/AdditionalResources/Repositories/SCL

The command "yum install centos-release-scl" is your friend for access
to the tools. A good look at the SRPM's over at
http://vault.centos.org/ is invaluable for the build structure.
Setting up "mock" to build them locally, I can ount you to some github
repos that are helpful if you like.

> --
> Thomas F Herbert
> NFV and Fast Data Planes
> Office of Technology
> Red Hat
>
> _______________________________________________
> CentOS-devel mailing list
> CentOS-devel at centos.org
> https://lists.centos.org/mailman/listinfo/centos-devel
>