diff --git a/pyftdi/__init__.py b/pyftdi/__init__.py index 35c35b56..4e89ac14 100644 --- a/pyftdi/__init__.py +++ b/pyftdi/__init__.py @@ -6,7 +6,7 @@ #pylint: disable-msg=missing-docstring -__version__ = '0.53.1' +__version__ = '0.53.2' __title__ = 'PyFtdi' __description__ = 'FTDI device driver (pure Python)' __uri__ = 'http://github.com/eblot/pyftdi' diff --git a/pyftdi/doc/installation.rst b/pyftdi/doc/installation.rst index 75ad7a5f..9f95d904 100644 --- a/pyftdi/doc/installation.rst +++ b/pyftdi/doc/installation.rst @@ -131,12 +131,14 @@ Python dependencies Dependencies should be automatically installed with PIP. - * pyusb >= 1.0.0 + * pyusb >= 1.0.0, < 1.2.0 * pyserial >= 3.0 Do *not* install PyUSB_ from GitHub development branch (``master``, ...). Always prefer a stable, tagged release. +PyUSB 1.2.0 also broke the backward compatibility of the Device API, so it will +not work with PyFtdi for the time being. Installing with PIP ``````````````````` diff --git a/requirements.txt b/requirements.txt index df4603c6..81ed4151 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -pyusb>=1.0 +pyusb>=1.0, < 1.2.0 pyserial >= 3.0 diff --git a/setup.py b/setup.py index dbe5b652..3c241020 100755 --- a/setup.py +++ b/setup.py @@ -46,7 +46,7 @@ 'Topic :: System :: Hardware :: Hardware Drivers', ] INSTALL_REQUIRES = [ - 'pyusb >= 1.0.0', + 'pyusb >= 1.0.0, < 1.2.0', 'pyserial >= 3.0', ] TEST_REQUIRES = [