News for hackers. Stuff that matters.
Re:Pyenv – lets you easily switch between multiple versions ... by sumtechguy on Monday March 25, 2024 @10:42AM (#39816948)
I just hit it a few days ago. 3rd party script that I did not write. The dev has lost interest in it 3 years ago. It is written for 2.7.x (and it is a nontrivial amount of code). So my choices are some sort of pyenv thing (or one of them), or fix up the script myself so it runs on 3.12. I lucked out and someone else had already done the second thing. One project I worked on was 2.4.x. If they ever have to update that (which I hope they have) to something more recent I could see them doing it until they port it over. That is not even a lib or anything that is just the main prog.
Re:Pyenv – lets you easily switch between multiple versions ... by airstrike on Monday March 25, 2024 @12:31PM (#39818324)
download python 2.7 and run it? no pyenv needed
Re:Pyenv – lets you easily switch between multiple versions ... by Hackbraten on Monday March 25, 2024 @02:03PM (#39819439)
2.7 has been EOL for five years. It doesn’t get security updates nor bug fixes.
Re:Pyenv – lets you easily switch between multiple versions ... by akurtzhs on Monday March 25, 2024 @02:37PM (#39819781)
Python Foundation support ended that long ago, but vendors maintained it for longer. Red Hat support for it through RHEL 7 ends 30 June 2024, however, and my guess is they’re the last ones.
Re:Pyenv – lets you easily switch between multiple versions ... by sumtechguy on Wednesday March 27, 2024 @11:02AM (#39840190)
For this use case it is probably fine to have 2.7.x installed to use for this. Just annoyed. The downside to having it that way is this weird stray python installed. Would rather use something to switch it around to make it easier to keep track. But in the end it didnt mater as someone else had already updated it and I did not have to bother. Maybe next time :)