| 1 |
====================== |
| 2 |
First-party extensions |
| 3 |
====================== |
| 4 |
|
| 5 |
Hypothesis has minimal dependencies, to maximise |
| 6 |
compatibility and make installing Hypothesis as easy as possible. |
| 7 |
|
| 8 |
Our integrations with specific packages are therefore provided by ``extra`` |
| 9 |
modules that need their individual dependencies installed in order to work. |
| 10 |
You can install these dependencies using the setuptools extra feature as e.g. |
| 11 |
``pip install hypothesis[django]``. This will check installation of compatible versions. |
| 12 |
|
| 13 |
You can also just install hypothesis into a project using them, ignore the version |
| 14 |
constraints, and hope for the best. |
| 15 |
|
| 16 |
In general "Which version is Hypothesis compatible with?" is a hard question to answer |
| 17 |
and even harder to regularly test. Hypothesis is always tested against the latest |
| 18 |
compatible version and each package will note the expected compatibility range. If |
| 19 |
you run into a bug with any of these please specify the dependency version. |
| 20 |
|
| 21 |
The following lists the available extras in Hypothesis and their documentation. |
| 22 |
|
| 23 |
* :ref:`hypothesis[cli] <hypothesis-cli>` |
| 24 |
* :ref:`hypothesis[codemods] <codemods>` |
| 25 |
* :ref:`hypothesis[django] <hypothesis-django>` |
| 26 |
* :ref:`hypothesis[numpy] <hypothesis-numpy>` |
| 27 |
* :ref:`hypothesis[lark] <hypothesis-lark>` |
| 28 |
* :ref:`hypothesis[pytz] <hypothesis-pytz>` |
| 29 |
* :ref:`hypothesis[dateutil] <hypothesis-dateutil>` |
| 30 |
* :ref:`hypothesis[dpcontracts] <hypothesis-dpcontracts>` |