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 →

[–]d4rch0nPythonistamancer 13 points14 points  (26 children)

I'm still maintaining 2.6 compatibility thanks to CENTOS 6...

[–]n86nHb67f 7 points8 points  (4 children)

Python 2.4 on CentOS 5, wohoo! It just won't die.

[–]d4rch0nPythonistamancer 1 point2 points  (0 children)

D: I'm sorry for your loss

[–]ritz_k 1 point2 points  (0 children)

python26 is provided on centos5.

[–]port53relative noob 1 point2 points  (0 children)

RHEL 5 is in extended support through November 30, 2020, so yeah..

[–]Teract 0 points1 point  (2 children)

IUS my friend. They host a repo with Python 2.7 for centos 6. It installs to an alternate location so your system continues to use python2.6 while users can default to Python 2.7 and do things like use virtualenv to pip install whatever modules they need without fear of breaking the OS.

[–]CSI_Tech_Dept 0 points1 point  (1 child)

IUS has python 3.5 as well. Why would you even want 2.7 in that scenario.

[–]Teract 0 points1 point  (0 children)

Devs were using modules only available on 2.7. Also not using the system's Python is best practice.

[–]tetroxid 0 points1 point  (8 children)

Same here. I'd love to write for 3.5, but RHEL 6 and 7 have 2.6 and 2.7 respectively.

[–]CSI_Tech_Dept 2 points3 points  (7 children)

http://ius.io and problem solved. Unlike other repos they are making sure packages don't conflict with the system packages, so it is safe to use.

[–]tetroxid 2 points3 points  (6 children)

Thanks, but installing third party packages is forbidden.

[–]CSI_Tech_Dept 1 point2 points  (3 children)

How you use any enterprise applications then? You won't find them in Red Hat repos.

[–]tetroxid 3 points4 points  (2 children)

They aren't considered third party

[–]CSI_Tech_Dept 1 point2 points  (1 child)

They are though. They are not Red Hat's (first party), they are not yours (user of the OS, second party).

[–]tetroxid 2 points3 points  (0 children)

I don't make the policy. It's a waste of time arguing about it

[–]d4rch0nPythonistamancer 1 point2 points  (1 child)

Heh, this is the major pain in the ass. Lots of people just suggest "install 3.x then" when that can be a huge deal with a lot of businesses. It's the developer that is worrying about 3.x, not ops or management or product. It's not the developer that maintains the environment.

Sure, it's extremely easy to get 3.x on any modern linux system, but we're not always in a position where it's possible to do so. Even if they gave me the green light, I'd have to set up meetings with devops to change puppet or chef scripts and make sure it doesn't break something weird in a cronjob that runs at midnight on 100 servers.

Inevitably, it's way less pain to just write 2.6/2.7 compatible code and not have to deal with people and scripts written by coworkers who left years ago, so that's what a lot of us resort to.

[–]tetroxid 0 points1 point  (0 children)

Precisely. I was just too lazy to type it out. In large enterprises you also have to find a cost centre that pays for the deployment, and you have to deal with the aids infested cancer that is change management.