.. _installing:
Installation
============
Required dependencies
---------------------
- Python 3.8 or later
- `xarray `__
- For :doc:`ncdiff`: one or more NetCDF engines;
see :func:`xarray.open_dataset`
.. _mindeps_policy:
Minimum dependency versions
---------------------------
recursive_diff adopts a rolling policy based on `NEP-29
`_ regarding the minimum
supported version of its dependencies:
- **Python:** 42 months
(`NEP-29 `_)
- **numpy:** 24 months
(`NEP-29 `_)
- **all other libraries:** 12 months
The above should be interpreted as *the minor version (X.Y) initially published no more
than N months ago*. Patch versions (x.y.Z) are not pinned, and only the latest available
at the moment of publishing the xarray release is guaranteed to work.
You can see the actual minimum tested versions in the `anaconda requirements file
`_.
Testing
-------
To run the test suite after installing recursive_diff, first install
(via pypi or conda)
- `py.test `_: Simple unit testing library
and run
``py.test``.