Add warning about GitPython 2.0.9 incompatibility with Python 2.6 (#37099)

This commit is contained in:
Erik Johnson 2016-10-19 19:06:07 -05:00 committed by Nicole Thomas
parent 39d59ab0df
commit 68eeb29783

View file

@ -138,6 +138,21 @@ install GitPython`` (or ``easy_install GitPython``) as root.
Therefore, it may be necessary to delete the GitPython directory from the
build cache in order to ensure that the specified version is installed.
.. warning::
GitPython_ 2.0.9 and newer is not compatible with Python 2.6. If installing
GitPython_ using pip on a machine running Python 2.6, make sure that a
version earlier than 2.0.9 is installed. This can be done on the CLI by
running ``pip install 'GitPython<2.0.9'``, or in a :py:func:`pip.installed
<salt.states.pip_state.installed>` state using the following SLS:
.. code-block:: yaml
GitPython:
pip.installed:
- name: 'GitPython < 2.0.9'
Dulwich
-------