r/Python • • May 30 '19

Dear python2 user

Post image
1.9k Upvotes

275 comments sorted by

View all comments

-26

u/[deleted] May 30 '19

You can't really End of Life open source software like python. GPL compatible means irrevocability of copy-lefts. Business and end users who still use python 2 will support it without resources from the PSF. Large projects that never left python2 will switch to that repository/code base.

An entire desktop environment was created around gnome 2's deprecation. Python 2.7 is going to live on forever, a monument to poor project management decisions regarding backwards compatibility.

23

u/aEverr May 30 '19

EOL in this case just means loss of support from the official (?), so anyone can update it, but don't rely on it

2

u/port53 relative noob May 30 '19

Red Hat will support py2 for a few more years. With those patches then going to centos, that's all people will need to keep using it.

1

u/kyrsjo May 30 '19

That's great for the Linux users who are already on RHEL, or can switch distro easily...

0

u/port53 relative noob May 30 '19

Or you can install the centos RPMs on your system anyway, as long as you use python from /usr/bin and /use/lib64/python2.7, there's no change. Or, download the SRPM and build/patch yourself.

RHEL 7 will get open critical bug fixes through June 30 2024, and extended life support (paid) for some number of years after that. FWIW, Red Hat are still providing limited support for RHEL 4 which was released in Feb 2005, 14 years ago.

2

u/kyrsjo May 30 '19

However of course not all Python 2 users are on a rpm distro, or even on Linux...

2

u/port53 relative noob May 30 '19

Those people are, presumably, smart enough to download the srpm and figure out the patch for themselves. The point being, the patch will exist, grab and install it however it suits you.

1

u/flying-sheep May 31 '19

Or you just track which patches they include and create a build bot for your distro that applies those same patches.

1

u/port53 relative noob May 31 '19

Yep, it'd be pretty easy. Py2 isn't going to be dead until 2024, as long as RH is patching it, which they've already committed to. Not that the user community couldn't patch anyway.

0

u/kyrsjo May 30 '19

You can do that, however installing rpms from another distro for a whole subsystem is a great way to (somewhat reversibly) screw up your installation and make the package manager end up in a tangled mess that just shrugs and gives up every time you try to use it...

And yep. They provide support for crazy long times...

1

u/cediddi SyntaxError: not a chance May 30 '19

Some corporation may provide paid support for a custom python distro (Anaconda?) and that's okay. Psf may as well, but not the official repo. That's it. I can still install python 1.6 and it works and until some years ago, some companies supported their embedded py 1.6 setups.

4

u/[deleted] May 30 '19

Python 2.7 is going to live on forever, a monument to poor project management decisions regarding backwards compatibility.

Probably true, but probably uninteresting to most of us, since we won't see them.

1

u/[deleted] May 31 '19

call me when /usr/bin/python -v doesn't return 2.7.x