NumPy Library to Drop Support for Python 2

(Click the public account above to quickly follow)

NumPy is a scientific computing library for Python that provides matrix operations and is generally used alongside SciPy and matplotlib.

NumPy Library to Drop Support for Python 2

Today, on NumPy’s GitHub homepage, it was announced that the NumPy library will drop support for Python 2 starting January 1, 2019.

Excerpt from ‘Python Developers’:

The Python core team will stop supporting Python 2 in 2020. The NumPy project has supported both Python 2 and Python 3 since 2010, but we have found that our limited resources can no longer support Python 2. Therefore, we also plan to drop support for Python 2.

The corresponding timeline is as follows:

  • Before December 31, 2018, all NumPy releases will support both Python 2 and Python 3.

  • Starting from January 1, 2019, new features of NumPy will only support Python 3.

The last version of NumPy for Python 2 will be designated as a Long-Term Support (LTS) version, meaning we will continue to merge bug fixes and create bug patches for it for an extended period. The LTS version will be supported until December 31, 2019.

From January 1, 2020, the NumPy community will completely say goodbye to support for Python 2. However, PyPI will continue to support Python 2. If any commercial vendors wish to extend LTS support after January 1, 2020, we are willing to allow them to use the LTS branch in the official NumPy repository.

Did you gain something from this article? Please share it with more people.

Follow ‘Python Developers’ to enhance your Python skills

NumPy Library to Drop Support for Python 2

NumPy Library to Drop Support for Python 2

Purchase Code: Copy the following red content and open Taobao to purchase

Fanpin Club, use ¥Geek T-shirt¥ for a sneak preview (long press to copy the entire text, open Taobao on your phone to enter the event content)

Leave a Comment