3 ms·
What would kill Python 2? RCE in pip?
by brians 6y ago
What would kill Python 2? RCE in pip?
- saila 6y agoThe pip docs say support for Python 2.7 will be dropped in January 2021 or if there are show-stopping bugs in Python 2.7 that affect pip before then: https://github.com/pypa/pip/blob/master/docs/html/development/release-process.rst#python-2-support https://github.com/pypa/pip/blob/master/docs/html/developmen...
- banana_giraffe 6y agoDoes that mean that random things that rebuild or restart and require "pip install requests" before they start up or whatever will just gleefully break on Jan 2021?
- saila 6y agoI'm guessing you'll get a warning when installing or updating pip on Python 2.7. I know for Python 3.4, pip has been showing a deprecation warning whenever it's installed for a while now. I assume they'll do the same for 2.7. So, I suppose the answer to your question is yes--if you blindly update pip and/or you don't heed those warnings and pin your pip version accordingly. Edit: I was curious, so I installed the latest Python 2.7 and pip. `pip install` (or any other pip command) shows a deprecation warning with info about dropping support for Python 2.7 every time you run it.