From f70de2d32ca9e116b947d412d4632f4e1d961e59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= Date: Sun, 11 Feb 2018 13:43:03 +0000 Subject: Until Issue #38 is fixed, expect construct 2.8, and not 2.9. The API changed in slightly incompatible ways so I'll have some work to make sure this works on both versions (and that there is some test around it, possibly). --- setup.py | 14 +++++++------- test-requirements.txt | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/setup.py b/setup.py index 0a9f258..046a422 100644 --- a/setup.py +++ b/setup.py @@ -49,15 +49,15 @@ setup( # These are all the drivers' dependencies. Optional dependencies are # listed as mandatory for the feature. 'otultra2': ['pyserial'], - 'otultraeasy': ['construct', 'pyserial'], - 'otverio2015': ['construct', 'python-scsi'], - 'otverioiq': ['construct', 'pyserial'], - 'fsinsulinx': ['construct', 'hidapi'], - 'fslibre': ['construct', 'hidapi'], + 'otultraeasy': ['construct>=2.8,<2.9', 'pyserial'], + 'otverio2015': ['construct>=2.8,<2.9', 'python-scsi'], + 'otverioiq': ['construct>=2.8,<2.9', 'pyserial'], + 'fsinsulinx': ['construct>=2.8,<2.9', 'hidapi'], + 'fslibre': ['construct>=2.8,<2.9', 'hidapi'], 'fsoptium': ['pyserial'], - 'fsprecisionneo': ['construct', 'hidapi'], + 'fsprecisionneo': ['construct>=2.8,<2.9', 'hidapi'], 'accucheck_reports': [], - 'sdcodefree': ['construct', 'pyserial'], + 'sdcodefree': ['construct>=2.8,<2.9', 'pyserial'], }, entry_points = { 'console_scripts': [ diff --git a/test-requirements.txt b/test-requirements.txt index 29ac573..b1dd11d 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,5 +1,5 @@ absl-py -construct +construct>=2.8,<2.9 pytest pytest-timeout pyserial -- cgit v1.2.3