From 1dcbc041fa523bc158c02031a88c4647080b88e8 Mon Sep 17 00:00:00 2001 From: Ian Humphrey Date: Mon, 17 Jun 2019 11:49:14 -0700 Subject: [PATCH 1/2] Update .travis.yml to avoid attrs version conflict Conflict is: `error: attrs 17.3.0 is installed but attrs>=17.4.0 is required by {'jsonschema'}` It looks like: pytest installs attrs 17.3.0 databroker -> jsonschema requires 17.4.0 For some reason, pip was not installing the higher required version. (https://github.com/pypa/pip/issues/5335 looks like a closed pip issue that illustrates the problem) --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index d5d0645..9906853 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,7 @@ addons: - qtbase5-dev install: - pip install cx_freeze==6.0b1 +- pip install databroker # avoid attrs version conflict - pip install coveralls pytest - pip install git+https://github.com/lbl-camera/Xi-cam.core.git - pip install git+https://github.com/lbl-camera/Xi-cam.plugins.git From 70e912df126c33befd7101b31f400b832f101dcb Mon Sep 17 00:00:00 2001 From: Ian Humphrey Date: Mon, 17 Jun 2019 12:44:50 -0700 Subject: [PATCH 2/2] Update .travis.yml with explicit attrs upgrade python3.6 on travis comes with attrs 17.3.0 already installed. Since this creates a conflict with databroker -> jsonschema -> attrs (17.4.0), immediately upgrade the attrs package to at least 17.4.0 before installing anything else. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9906853..c6c23eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,8 +14,8 @@ addons: packages: - qtbase5-dev install: +- pip install --upgrade attrs>=17.4.0 # travis python3.6 has attrs 17.3.0 installed - pip install cx_freeze==6.0b1 -- pip install databroker # avoid attrs version conflict - pip install coveralls pytest - pip install git+https://github.com/lbl-camera/Xi-cam.core.git - pip install git+https://github.com/lbl-camera/Xi-cam.plugins.git