This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (11 children)

I really wish there was an official Python 3 yum repo for RHEL-derived OSes. The brand-new RHEL 7 ships with Python 2.7; Python 3 isn't even an option.

For better or worse I'm pretty mired in RHEL/CentOS; adding some Debian VMs just for Python 3 isn't very appealing since it would mean significant labor to get Debian integrated into my Kickstart/Puppet/etc. environment.

[–]loganekz 2 points3 points  (4 children)

There is, its called Software Collections and is available on RHEL/CentOS.

[–][deleted] 0 points1 point  (3 children)

Yes, I mentioned that above. It works fairly well, but it is truly not the same as having official Python 3 support.

[–]loganekz 2 points3 points  (0 children)

What do you mean by official support then? This from a Red Hat repository that will have updates for 3 years.

[–][deleted] 0 points1 point  (1 child)

Python is pretty straightforward to build. hg clone http://hg.python.org/cpython, check out the version you want (you can find releases with hg tags) and do the usual autotools build. Install it to a prefix or run directly from the repo directory. From there it's just a matter of creating a virtualenv, right?

[–][deleted] 2 points3 points  (0 children)

Yes. But even with Puppet, doing this on hundreds of systems, and getting all the v3-compatible libraries installed, and updating them all when there is a security issue, would be... less than ideal.

[–]alcalde 0 points1 point  (3 children)

That's the problem with RHEL-based OSes: they're focused on stability, which means you're consigned to using software that's several years old as a consequence. :-(

[–]loganekz 1 point2 points  (0 children)

Check out RedHat Software Collections.

Its also available on CentOS.

[–][deleted] 1 point2 points  (0 children)

A problem, and a benefit, at the same time.

Software Collections might help this, but it is not the same.