Categories: NewsData

“We will raise a toast to Python 2” — NumPy announces transition plan to Python 3

2 min read

Since 2010, NumPy has been supporting both Python 2 and Python 3 in parallel. But now that the Python core team is planning to discontinue Python 2 in 2020, NumPy has announced it will drop Python 2.7 support.

The developers of the Python language extended support of Python 2.7 from 2015 to 2020, recognizing that many people were still using Python 2. But the transition to Python 3 was unavoidable, after all. Sensing the inevitable, NumPy decided to join the league of projects that have pledged to drop support for Python 2.7 no later than 2020.

NumPy team cited “an increasing burden on our limited resources” for deciding to drop Python 2 support. “Now that we’re entering the final years of community-supported Python 2, the NumPy project wants to clarify our plans, with the goal of helping our downstream ecosystem make plans and accomplish the transition with as little disruption as possible,” the project team said.

NumPy’s transition plan to Python 3.x

  • Until Dec. 31, 2018, all NumPy releases will fully support both Python 2 and Python 3.
  • Starting Jan. 1, 2019, any new feature releases will support only Python 3.
  • The last Python 2 supporting release will be designated as a long term support (LTS) release, meaning NumPy will continue to merge bug fixes and make bug fix releases for a longer period than usual. Specifically, it will be supported by the community until Dec. 31, 2019.

“On Jan. 1, 2020, we will raise a toast to Python 2, and community support for the last Python 2 supporting release will come to an end,” NumPy announced. “However, it will continue to be available on PyPI indefinitely, and if any commercial vendors wish to extend the LTS support past this point then we are open to letting them use the LTS branch in the official NumPy repository to coordinate that.”

The above is a graceful way of transition. So even though the extra 5 years were sufficient for a smooth passage, the Python team has decided to live by the core principles of free and open source software, by not obstructing third party paid support.

What next?

“If you are a NumPy user who requires ongoing Python 2 support in 2020 or later, then please contact your vendor. If you are a vendor who wishes to continue to support NumPy on Python 2 in 2020+, please get in touch; ideally we’d like you to get involved in maintaining the LTS before it actually hits end of life so that we can make a clean handoff,” the team said.

To minimize disruption, running pip install numpy on Python 2 will continue to give the last working release in perpetuity, but after Jan. 1, 2019, it may not contain the latest features. After Jan. 1, 2020, it may not contain the latest bug fixes.

Python 2.7 was a major release, and there could be users who may require third party paid support in 2020. But there is nothing like enjoying the free, first party support for any software project. Please start planning to move to Python 3.

Abhishek Jha

Writes and reports on lnformation Technology. Full stack on artificial intelligence, data science, and music.

Share
Published by
Abhishek Jha

Recent Posts

Top life hacks for prepping for your IT certification exam

I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…

3 years ago

Learn Transformers for Natural Language Processing with Denis Rothman

Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…

3 years ago

Learning Essential Linux Commands for Navigating the Shell Effectively

Once we learn how to deploy an Ubuntu server, how to manage users, and how…

3 years ago

Clean Coding in Python with Mariano Anaya

Key-takeaways:   Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…

3 years ago

Exploring Forms in Angular – types, benefits and differences   

While developing a web application, or setting dynamic pages and meta tags we need to deal with…

3 years ago

Gain Practical Expertise with the Latest Edition of Software Architecture with C# 9 and .NET 5

Software architecture is one of the most discussed topics in the software industry today, and…

3 years ago