customisations but there are many other tweaks are possible. Consult
the Python 3 :py:mod:`ssl` package documentation for further options.
+Old pyOpenSSL Versions
++++++++++++++++++++++++
+
+IMAPClient's TLS functionality will not behaviour correctly if an
+out-of-date version of pyOpenSSL is used. On some systems
+(particularly OS X) the system installed version of pyOpenSSL will
+take precedence over any user installed version. Use of virtualenvs is
+strongly encouraged to work around this.
+
+IMAPClient checks the installed pyOpenSSL version at import time and
+will fail early if an old pyOpenSSL version is found.
+
Using gevent with IMAPClient
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Some extra monkey patching is required so that the gevent_ package can
:tocdepth: 1
+===============
+ Version 1.0.2
+===============
+
+Changed
+-------
+- Explicitly check that the required pyOpenSSL version is installed
+- Start testing against Python 3.5
+- Update doc links from readthedocs.org to readthedocs.io
+
+Fixed
+-----
+- Allow installation from alternate directories
+
===============
Version 1.0.1
===============
from .version import min_pyopenssl_version
if V(installed_pyopenssl_version) < V(min_pyopenssl_version):
- raise ImportError("pyOpenSSL version (%s) is too old. Need at least %s."
- % (installed_pyopenssl_version, min_pyopenssl_version))
+ raise ImportError(
+ "pyOpenSSL version (%s) is too old. Need at least %s.\n"
+ "See http://imapclient.rtfd.io/#old-pyopenssl-versions"
+ % (installed_pyopenssl_version, min_pyopenssl_version))
check_pyopenssl_version()