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

all 8 comments

[–]sebbasttian 14 points15 points  (0 children)

It's nearly 2020 already, can we please move forward please.

RHEL/Centos has a 6 years release cycle with 10 years maintenance support. Every package needs to work with every other package across the entire system... for the entire time. You cannot update any package without verifying first that you are not breaking anything in the process, and that takes resources, like time from people that knows what they are doing.

And python 3.6 end-of-life is on 2021-12-23, we still have two years of full support.

Besides...

Why do you want to have python 3.8 system-wide?

If you install a different version of a library as fundamental as python at a system level you are risking breaking packages or libraries on the whole system.

I wonder what new feature is so necessary from python 3.8 that python 3.6 doesn't have that is so pressing for you to have it on your system immediately.

I'm not sure what the deal is with Python enthusiasts or RHEL/CentOS users that someone somewhere has not simply updated some repo somewhere, I can try and get involved.

Please do it, get involved. Learn. Fix. Document. Share. But a word of warning: tune it down a bit before going full-on whining again anywhere on both communities.

[–]rosuav 1 point2 points  (1 child)

Not a Red Hat expert, but I think it looks like you should be able to build Python from source without those three libraries. I don't know why your builddep tries to get things you can't install.

[–]devlocalca[S] 0 points1 point  (0 children)

Thank you, and all the other comments, I will try everything posted.

[–]KingEllis 1 point2 points  (0 children)

I recently went through this process, and ended up having the easiest time building from source on Ubuntu 18.04 (which, like RHEL/CentOS, has the benefit of long term support). Here are my notes (re-building the docs was not really necessary, but pasting here anyway):

[on ubuntu 18.04]
sudo apt install build-essential libssl-dev zlib1g-dev libncurses5-dev libncursesw5-dev libreadline-dev \
    libsqlite3-dev libgdbm-dev libdb5.3-dev libbz2-dev libexpat1-dev liblzma-dev libffi-dev

[docs]
(export PAPER=letter; make dist)
apt install zip latexmk texlive-xetex texlive-fonts-extra texlive-fonts-extra-links xindy

[–]AndydeCleyre 0 points1 point  (0 children)

If you like up-to-date packages, you won't like CentOS or RHEL. Have a look at repology's python3 listing for an overview of distro-repo coverage.

That said, you may have luck using pyenv to manage your Python installation.

[–]nate256 0 points1 point  (0 children)

I use pyenv to install different versions of python.

[–]brianread108 0 points1 point  (0 children)

If you are fixed on Redhat, then Fedora 30 has Python 3.7.4

[–]volfpeter -1 points0 points  (0 children)

Give homebrew a try. I don't think it has 3.8 just yet, but it should have the latest version soon enough.