Python 2.7 Support¶
In the Fall 2019, we will be dropping support for Python 2.7. This follows movement from other packages within the scientific Python ecosystem. This includes:
- Core Python developers will stop support for Python 2.7 January 1, 2020
- NumPy feature releases will be Python 3 only starting January 1, 2019, and support for the last release supporting Python 2 will end January 1, 2020.
- XArray will drop 2.7 January 1, 2019 as well
- Matplotlib’s 3.0 release, tentatively Summer 2018, will be Python 3 only; the current 2.2 release will be the last long term release that supports 2.7, and its support will cease January 1, 2020.
The last release of MetPy before this time (Spring or Summer 2019) will be the last that support Python 2.7. This version of MetPy will not receive any long term support or additional bug fix releases after the next minor release. The packages for this version will remain available on Conda or PyPI.
In general, MetPy tries to support minor versions of dependencies released within the last two years. For Python itself, that means supporting the last two minor releases, as well as currently supporting Python 2.7.
- matplotlib >= 2.0.0
- numpy >= 1.11.0
- scipy >= 0.17.0
- pint >= 0.8
- xarray >= 0.10.7
- traitlets >= 4.3.0
- enum34 (for python < 3.4)
- pooch >= 0.1, < 0.3
The easiest way to install MetPy is through
pip install metpy
conda install -c conda-forge metpy
The source code can also be grabbed from GitHub. From the base of the source directory, run:
pip install .
This will build and install MetPy into your current Python installation.