<commit_before>************
Installation
************

Requirements
============

Astropy has the following strict requirements:

- `Python <http://www.python.org/>`_ 2.7, 3.3, 3.4, 3.5 or 3.6

  - Prior to Astropy v1.0, Python 3.1 and 3.2 were also supported

  - Prior to Astropy v1.2, Python 2.6 was supported

- `Numpy`_ |minimum_numpy_version| or later

Astropy also depends on other packages for optional features:

- `h5py <http://h5py.org/>`_: To read/write
  :class:`~astropy.table.Table` objects from/to HDF5 files.

- `BeautifulSoup <http://www.crummy.com/software/BeautifulSoup/>`_: To read
  :class:`~astropy.table.table.Table` objects from HTML files.

- `PyYAML <http://pyyaml.org>`_: To read/write
  :class:`~astropy.table.Table` objects from/to the Enhanced CSV ASCII table format.

- `scipy`_: To power a variety of features (currently
  mainly cosmology-related functionality).

- `xmllint <http://www.xmlsoft.org/>`_: To validate VOTABLE XML files.

- `matplotlib <http://matplotlib.org/>`_: To provide plotting functionality that `astropy.visualization` enhances.
<commit_msg>Add pytest to requirements list<commit_after>************
Installation
************

Requirements
============

Astropy has the following strict requirements:

- `Python <http://www.python.org/>`_ 2.7, 3.3, 3.4, 3.5 or 3.6

  - Prior to Astropy v1.0, Python 3.1 and 3.2 were also supported

  - Prior to Astropy v1.2, Python 2.6 was supported

- `Numpy`_ |minimum_numpy_version| or later

- `pytest`_ 2.8 or later

Astropy also depends on other packages for optional features:

- `h5py <http://h5py.org/>`_: To read/write
  :class:`~astropy.table.Table` objects from/to HDF5 files.

- `BeautifulSoup <http://www.crummy.com/software/BeautifulSoup/>`_: To read
  :class:`~astropy.table.table.Table` objects from HTML files.

- `PyYAML <http://pyyaml.org>`_: To read/write
  :class:`~astropy.table.Table` objects from/to the Enhanced CSV ASCII table format.

- `scipy`_: To power a variety of features (currently
  mainly cosmology-related functionality).

- `xmllint <http://www.xmlsoft.org/>`_: To validate VOTABLE XML files.

- `matplotlib <http://matplotlib.org/>`_: To provide plotting functionality that `astropy.visualization` enhances.

{'fraction_non_alphanumeric': 0.1572832886505809, 'fraction_numerical': 0.021447721179624665, 'mean_word_length': 4.147126436781609, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7509720', 'n_tokens_mistral': 810, 'n_tokens_neox': 750, 'n_words': 222}