I'm the dev/maintainer of a relatively popular python project (which is also in the community repo), and there's one guy who has forked it once we dropped support for py2 in December 2020 (almost a year after its end of life) and he's been updating his fork and patching upstream commits almost every single day. Must've been a thousand commits now or so with a shitton of backports because of syntax and API incompatibilities, or missing APIs in the python standard library.
I can only shake my head when looking at this effort and unnecessary mess. This isn't even justifiable for embedded or special-case devices which are running this python code, because Python 3 should be available even there. And running code on ancient python 2 builds comes at the risk of all the unpatched security issues (in python itself as well as the dependencies in use), and there have been a couple of them already since its EOL.
The sad part is that this person made lots of contributions prior to the py2 support removal and they've pretty much stopped contributing after forking the project.
If I wouldn't know the reasons for wasting time on maintaining a py2 fork, I would say that it was some kind of py2 fetish or a fetish for keeping old code alive, but it's most certainly because there are people who are running the project on some TV boxes/receivers/whatever where the hardware vendor has locked down the system and doesn't maintain it anymore. Sounds great if you want to be part of a botnet with all these security issues being unpatched.
"Irregardless" is a double negative, so it actually means that whatever comes before it in the sentence does depend on what comes after. The word you want is "regardless" - literally "without regard".
when the OS is in EOL stage, it becomes prone in security vulnerabilities (unless you're an expert that who compiled his own system and you may wonder what does updates for) same in programming language. (not really in the language but in the structure of the code)
For most people, waste of disk space. For any critical program that use it, since their is no more update from upstream, it is considered a security risk. Best to migrate from packages that required python2.
Python 3 has been out for the better part of 20 years now? It took 10 years for Python 3 to gain traction, and frustrated, I dropped out of Python development as a result.
It is high time to put Python 2 to bed already. I am not aware of this reticence to upgrade with any other computer language.
Because not in every situations it makes sense. Sure, for applications that are in production, it does make sense, but for other things, it depends.
One thing are scripts: python is a scripting language, and it was used for a lot of years to write scripts. What if you have a ton of python2 scripts that still work perfectly fine? What is the value (that there must exist to justify spending time, and thus money) that will give updating to python3?
Also, for things that are under maintenance? What if I need to work on a legacy project to fix a bug that is written in python2, or that requires python2 as a build dependency? Do I have to spend days porting all the python2 to python3?
What even things that you have no control of? How many software, scripts, projects require some piece of python2 to work, build or do stuff?
To me not having python2 in the repositories is not a good decision...
Python 2 has been EOL since 2020, was supposed to go EOL in 2015 (but didn't because too many people were still using it), and was deprecated in 2008.
EOL means it will receive no more updates - not even security updates. Thus, having anything using it is a security risk.
Arch has upgraded all packages from the main repo to use Python 3 - thus, there is no reason for Python 2 to remain in the official repos. If some AUR package needs Python 2, then someone will put it in the AUR (hopefully along with appropriate disclaimers that the software is unmaintained).
why does arch devs doesnt care about backwards compatability?.
Hi. For 300β¬ a month I will provide you with a Python2 package that is compatible with the current maya version packaged in AUR. I even toss in 48h response time telephone support in multiple languages.
Arch is not the only distro that starting to drop python2. Ubuntu is also doing it, albeit very slowly. Backward compatibility cannot be done by distro packagers and maintainers alone. They can only do so much after upstream (python developers) has declared python2 EOL.
And consider that python programs often break and need patching from just updating between minor version, I don't think this is a surprise.
96 comments
I'm the dev/maintainer of a relatively popular python project (which is also in the community repo), and there's one guy who has forked it once we dropped support for py2 in December 2020 (almost a year after its end of life) and he's been updating his fork and patching upstream commits almost every single day. Must've been a thousand commits now or so with a shitton of backports because of syntax and API incompatibilities, or missing APIs in the python standard library.
I can only shake my head when looking at this effort and unnecessary mess. This isn't even justifiable for embedded or special-case devices which are running this python code, because Python 3 should be available even there. And running code on ancient python 2 builds comes at the risk of all the unpatched security issues (in python itself as well as the dependencies in use), and there have been a couple of them already since its EOL.
Imagine spending the same ammount of effort lifting/changing whatever system that enforced Py2 :)
The sad part is that this person made lots of contributions prior to the py2 support removal and they've pretty much stopped contributing after forking the project.
If I wouldn't know the reasons for wasting time on maintaining a py2 fork, I would say that it was some kind of py2 fetish or a fetish for keeping old code alive, but it's most certainly because there are people who are running the project on some TV boxes/receivers/whatever where the hardware vendor has locked down the system and doesn't maintain it anymore. Sounds great if you want to be part of a botnet with all these security issues being unpatched.
Agreed, but try explaining that to management.
finally
π¦π¦π¦π¦π¦π¦
r/rustcirclejerk
it's r/rustjerk
glad to see this TBH. I am sad we can't just deprecate all the python 2 tutorials on youtube / websites out there too
The pain when you're looking for a solution, find exactly what you need, and it's specific to python2 and nobody updated it for python3.
If you really need python2 you should preferably just use pypy (not pypy3), pypy is still there in repos.
Keeping it or having python 2 into your code will highly cost of time and money. Imagine updating your code into python 3π
Wait I'm confused, do you think this is good or bad? Either way updating to python 3 is not optional now irregardless of what Arch does.
non-anti-irregardless
"Irregardless" is a double negative, so it actually means that whatever comes before it in the sentence does depend on what comes after. The word you want is "regardless" - literally "without regard".
when the OS is in EOL stage, it becomes prone in security vulnerabilities (unless you're an expert that who compiled his own system and you may wonder what does updates for) same in programming language. (not really in the language but in the structure of the code)
tldr:
πππππ = π
Just as I finally broke out of my print-space-item habit!
Good. Python 3 isnβt exactly new.
What's the harm in keeping them? Sorry
Keeping Python 2 would encourage people to continue using it.
For most people, waste of disk space. For any critical program that use it, since their is no more update from upstream, it is considered a security risk. Best to migrate from packages that required
python2.Python 3 has been out for the better part of 20 years now? It took 10 years for Python 3 to gain traction, and frustrated, I dropped out of Python development as a result.
It is high time to put Python 2 to bed already. I am not aware of this reticence to upgrade with any other computer language.
Perl 6 has entered the chat.
It's because essentially no other language was dumb enough to be as incompatible with its prior version as python 3 was.
10 years you mean?
Because not in every situations it makes sense. Sure, for applications that are in production, it does make sense, but for other things, it depends.
One thing are scripts: python is a scripting language, and it was used for a lot of years to write scripts. What if you have a ton of python2 scripts that still work perfectly fine? What is the value (that there must exist to justify spending time, and thus money) that will give updating to python3?
Also, for things that are under maintenance? What if I need to work on a legacy project to fix a bug that is written in python2, or that requires python2 as a build dependency? Do I have to spend days porting all the python2 to python3?
What even things that you have no control of? How many software, scripts, projects require some piece of python2 to work, build or do stuff?
To me not having python2 in the repositories is not a good decision...
Python 2 has been EOL since 2020, was supposed to go EOL in 2015 (but didn't because too many people were still using it), and was deprecated in 2008.
EOL means it will receive no more updates - not even security updates. Thus, having anything using it is a security risk.
Arch has upgraded all packages from the main repo to use Python 3 - thus, there is no reason for Python 2 to remain in the official repos. If some AUR package needs Python 2, then someone will put it in the AUR (hopefully along with appropriate disclaimers that the software is unmaintained).
Deleted before we saved it.
Deleted before we saved it.
Deleted before we saved it.
Deleted before we saved it.
Deleted before we saved it.
this will break maya 2022.3 python 2 script console, why does arch devs doesnt care about backwards compatability?.
at least as soon ive seen it ive downloaded the package,now its gone from the regular repo.
Maya is an AUR package.
Said console uses Python 3 by default.
Python 2's end of life was first announced in 2008. It has been officially dead since January 2020.
Hi. For 300β¬ a month I will provide you with a Python2 package that is compatible with the current maya version packaged in AUR. I even toss in 48h response time telephone support in multiple languages.
Where should I send the invoice?
you're welcome to maintain abandonware yourself in your own repo
Indeed, I happily maintain Python 2 for an internal fork of Blender 2.49b.
Luckily Python is actually quite easy to maintain.
Because Python2 has been unsupported for more than 2.5 years
Arch is not the only distro that starting to drop
python2. Ubuntu is also doing it, albeit very slowly. Backward compatibility cannot be done by distro packagers and maintainers alone. They can only do so much after upstream (python developers) has declaredpython2EOL.And consider that python programs often break and need patching from just updating between minor version, I don't think this is a surprise.
You can upload the dropped packages onto AUR and maintain them there.
This is a rolling release. It changes compatibility over time. It does not provide stable ABI.
If you really need python 2, install it yourself locally using ASDF to avoid polluting your entire system.
TIL Autodesk Maya supports Linux.
maybe python2-pip is somewhere in the https://archive.archlinux.org/ i just need to find it.
atleast somebody tell me where in which repo python2-pip was?