Error installing zato-apitest


Hi everyone!

Now that I have a working prototype using Zato with enough functionality, I wanted to try Zato API Test before trying out even more features from Zato (caching, scheduler, etc.).

So I followed the installation instructions on the Zato docs and, when executing sudo pip install zato-apitest I got the following error:

$ sudo pip install zato-apitest
The directory '/home/jsabater/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/jsabater/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting zato-apitest
Collecting pyflakes==0.8.1 (from zato-apitest)
Collecting behave==1.2.4 (from zato-apitest)
  Downloading (343kB)
    100% |████████████████████████████████| 348kB 2.3MB/s 
Collecting flake8==2.1.0 (from zato-apitest)
Collecting cassandra-driver==2.1.1 (from zato-apitest)
  Downloading (106kB)
    100% |████████████████████████████████| 112kB 4.0MB/s 
Collecting configobj==5.0.5 (from zato-apitest)
Collecting jsonpointer==1.3 (from zato-apitest)
Collecting six==1.6.1 (from zato-apitest)
Collecting blist==1.3.6 (from zato-apitest)
  Downloading (122kB)
    100% |████████████████████████████████| 122kB 1.3MB/s 
Collecting datadiff==1.1.5 (from zato-apitest)
Collecting mccabe==0.2.1 (from zato-apitest)
Collecting nose==1.3.3 (from zato-apitest)
  Downloading (274kB)
    100% |████████████████████████████████| 276kB 1.2MB/s 
Collecting parse-type==0.3.4 (from zato-apitest)
  Downloading (62kB)
    100% |████████████████████████████████| 71kB 3.8MB/s 
Collecting psycopg2==2.5.3 (from zato-apitest)
  Downloading (690kB)
    100% |████████████████████████████████| 696kB 1.3MB/s 
    Complete output from command python egg_info:
    running egg_info
    creating pip-egg-info/psycopg2.egg-info
    writing pip-egg-info/psycopg2.egg-info/PKG-INFO
    writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt
    writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt
    writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt'
    Error: could not determine PostgreSQL version from '10.5'
Command "python egg_info" failed with error code 1 in /tmp/pip-install-7_4_80/psycopg2/

I am trying this on KDEneon, which is based on Ubuntu 18.04, using PostgreSQL 10.5 for the prototype.


Can you try it out now? I have just pushed a new version, 1.12.


It went fine (no errors). I’ll start testing as soon as possible. For your information:

$ sudo pip install --upgrade zato-apitest
[sudo] password for jsabater: 
Collecting zato-apitest
  Downloading (41kB)
    100% |████████████████████████████████| 51kB 1.3MB/s 
Collecting mock>=1.0.1 (from zato-apitest)
  Downloading (56kB)
    100% |████████████████████████████████| 61kB 1.5MB/s 
Collecting configobj>=5.0.5 (from zato-apitest)
Collecting arrow>=0.4.2 (from zato-apitest)
  Downloading (65kB)
    100% |████████████████████████████████| 71kB 12.9MB/s 
Collecting click>=6.7 (from zato-apitest)
  Downloading (81kB)
    100% |████████████████████████████████| 81kB 31.9MB/s 
Requirement already satisfied, skipping upgrade: argparse>=1.2.1 in /usr/lib/python2.7 (from zato-apitest) (1.2.1)
Collecting bunch>=1.0.1 (from zato-apitest)
Collecting sqlalchemy>=0.9.7 (from zato-apitest)
Collecting zato-vault-client (from zato-apitest)
Collecting base32-crockford>=0.2.0 (from zato-apitest)
Collecting parse>=1.6.4 (from zato-apitest)
Collecting blist>=1.3.6 (from zato-apitest)
  Downloading (122kB)
    100% |████████████████████████████████| 122kB 36.7MB/s 
Collecting datadiff>=1.1.5 (from zato-apitest)
Collecting twine (from zato-apitest)
Collecting requests-testadapter>=0.3.0 (from zato-apitest)
Collecting behave>=1.2.4 (from zato-apitest)
  Downloading (136kB)
    100% |████████████████████████████████| 143kB 14.8MB/s 
Collecting python-dateutil>=2.2 (from zato-apitest)
  Downloading (211kB)
    100% |████████████████████████████████| 215kB 13.8MB/s 
Collecting pyflakes>=2.0.0 (from zato-apitest)
  Downloading (53kB)
    100% |████████████████████████████████| 61kB 27.0MB/s 
Requirement already satisfied, skipping upgrade: mccabe<0.7.0,>=0.6.0 in /usr/local/lib/python2.7/dist-packages (from zato-apitest) (0.6.1)
Collecting jsonpointer>=1.3 (from zato-apitest)
Collecting zato-websocket-client (from zato-apitest)
Collecting coverage>=3.7.1 (from zato-apitest)
  Downloading (199kB)
    100% |████████████████████████████████| 204kB 16.4MB/s 
Requirement already satisfied, skipping upgrade: wsgiref>=0.1.2 in /usr/lib/python2.7 (from zato-apitest) (0.1.2)
Collecting requests>=2.3.0 (from zato-apitest)
  Downloading (60kB)
    100% |████████████████████████████████| 61kB 13.0MB/s 
Collecting lxml>=3.3.5 (from zato-apitest)
  Downloading (5.8MB)
    100% |████████████████████████████████| 5.8MB 6.2MB/s 
Collecting psycopg2>=2.5.3 (from zato-apitest)
  Downloading (2.7MB)
    100% |████████████████████████████████| 2.7MB 19.1MB/s 
Collecting parse-type>=0.3.4 (from zato-apitest)
Collecting cassandra-driver>=2.1.1 (from zato-apitest)
  Downloading (228kB)
    100% |████████████████████████████████| 235kB 19.4MB/s 
Requirement already satisfied, skipping upgrade: six>=1.6.1 in /usr/lib/python2.7/dist-packages (from zato-apitest) (1.11.0)
Collecting nose>=1.3.3 (from zato-apitest)
  Downloading (154kB)
    100% |████████████████████████████████| 163kB 17.5MB/s 
Requirement already satisfied, skipping upgrade: enum34>=1.0 in /usr/lib/python2.7/dist-packages (from zato-apitest) (1.1.6)
Requirement already satisfied, skipping upgrade: flake8>=2.1.0 in /usr/local/lib/python2.7/dist-packages (from zato-apitest) (3.5.0)
Collecting pep8>=1.5.7 (from zato-apitest)
  Downloading (41kB)
    100% |████████████████████████████████| 51kB 29.3MB/s 
Collecting pysandra-unit>=0.4.1 (from zato-apitest)
  Downloading (15.3MB)
    100% |████████████████████████████████| 15.3MB 3.3MB/s 
Collecting funcsigs>=1; python_version < "3.3" (from mock>=1.0.1->zato-apitest)
Collecting pbr>=0.11 (from mock>=1.0.1->zato-apitest)
  Downloading (106kB)
    100% |████████████████████████████████| 112kB 42.3MB/s 
Collecting backports.functools_lru_cache>=1.2.1 (from arrow>=0.4.2->zato-apitest)
Collecting hvac (from zato-vault-client->zato-apitest)
  Downloading (74kB)
    100% |████████████████████████████████| 81kB 34.6MB/s 
Requirement already satisfied, skipping upgrade: setuptools>=0.7.0 in /usr/lib/python2.7/dist-packages (from twine->zato-apitest) (39.0.1)
Collecting pkginfo>=1.4.2 (from twine->zato-apitest)
Collecting readme-renderer>=21.0 (from twine->zato-apitest)
Collecting tqdm>=4.14 (from twine->zato-apitest)
  Downloading (45kB)
    100% |████████████████████████████████| 51kB 27.5MB/s 
Collecting requests-toolbelt>=0.8.0 (from twine->zato-apitest)
  Downloading (54kB)
    100% |████████████████████████████████| 61kB 24.0MB/s 
Collecting traceback2; python_version < "3.0" (from behave>=1.2.4->zato-apitest)
Collecting future (from zato-websocket-client->zato-apitest)
  Downloading (827kB)
    100% |████████████████████████████████| 829kB 22.1MB/s 
Collecting gevent (from zato-websocket-client->zato-apitest)
  Downloading (4.2MB)
    100% |████████████████████████████████| 4.2MB 10.5MB/s 
Collecting ws4py (from zato-websocket-client->zato-apitest)
  Downloading (51kB)
    100% |████████████████████████████████| 61kB 31.9MB/s 
Requirement already satisfied, skipping upgrade: idna<2.8,>=2.5 in /usr/lib/python2.7/dist-packages (from requests>=2.3.0->zato-apitest) (2.6)
Collecting urllib3<1.25,>=1.21.1 (from requests>=2.3.0->zato-apitest)
  Downloading (117kB)
    100% |████████████████████████████████| 122kB 23.1MB/s 
Collecting certifi>=2017.4.17 (from requests>=2.3.0->zato-apitest)
  Downloading (146kB)
    100% |████████████████████████████████| 153kB 16.4MB/s 
Requirement already satisfied, skipping upgrade: chardet<3.1.0,>=3.0.2 in /usr/lib/python2.7/dist-packages (from requests>=2.3.0->zato-apitest) (3.0.4)
Collecting futures (from cassandra-driver>=2.1.1->zato-apitest)
Requirement already satisfied, skipping upgrade: configparser; python_version < "3.2" in /usr/local/lib/python2.7/dist-packages (from flake8>=2.1.0->zato-apitest) (3.5.0)
Requirement already satisfied, skipping upgrade: pycodestyle<2.4.0,>=2.0.0 in /usr/local/lib/python2.7/dist-packages (from flake8>=2.1.0->zato-apitest) (2.3.1)
Collecting pyyaml (from pysandra-unit>=0.4.1->zato-apitest)
  Downloading (270kB)
    100% |████████████████████████████████| 276kB 36.5MB/s 
Requirement already satisfied, skipping upgrade: Pygments in /usr/lib/python2.7/dist-packages (from readme-renderer>=21.0->twine->zato-apitest) (2.2.0)
Collecting bleach>=2.1.0 (from readme-renderer>=21.0->twine->zato-apitest)
  Downloading (148kB)
    100% |████████████████████████████████| 153kB 16.7MB/s 
Collecting docutils>=0.13.1 (from readme-renderer>=21.0->twine->zato-apitest)
  Downloading (543kB)
    100% |████████████████████████████████| 552kB 14.1MB/s 
Collecting linecache2 (from traceback2; python_version < "3.0"->behave>=1.2.4->zato-apitest)
Collecting greenlet>=0.4.14; platform_python_implementation == "CPython" (from gevent->zato-websocket-client->zato-apitest)
Collecting webencodings (from bleach>=2.1.0->readme-renderer>=21.0->twine->zato-apitest)
flake8 3.5.0 has requirement pyflakes<1.7.0,>=1.5.0, but you'll have pyflakes 2.0.0 which is incompatible.
Installing collected packages: funcsigs, pbr, mock, configobj, python-dateutil, backports.functools-lru-cache, arrow, click, bunch, sqlalchemy, urllib3, certifi, requests, hvac, zato-vault-client, base32-crockford, parse, blist, datadiff, pkginfo, future, webencodings, bleach, docutils, readme-renderer, tqdm, requests-toolbelt, twine, requests-testadapter, linecache2, traceback2, parse-type, behave, pyflakes, jsonpointer, greenlet, gevent, ws4py, zato-websocket-client, coverage, lxml, psycopg2, futures, cassandra-driver, nose, pep8, pyyaml, pysandra-unit, zato-apitest
  Running install for configobj ... done
  Running install for arrow ... done
  Running install for bunch ... done
  Running install for zato-vault-client ... done
  Running install for parse ... done
  Running install for blist ... done
  Running install for datadiff ... done
  Running install for future ... done
  Running install for requests-testadapter ... done
  Found existing installation: pyflakes 1.6.0
    Uninstalling pyflakes-1.6.0:
      Successfully uninstalled pyflakes-1.6.0
  Running install for ws4py ... done
  Running install for zato-websocket-client ... done
  Running install for cassandra-driver ... done
  Running install for pyyaml ... done
  Running install for pysandra-unit ... done
Successfully installed arrow-0.12.1 backports.functools-lru-cache-1.5 base32-crockford-0.3.0 behave-1.2.6 bleach-3.0.2 blist-1.3.6 bunch-1.0.1 cassandra-driver-3.15.1 certifi-2018.10.15 click-7.0 configobj-5.0.6 coverage-4.5.1 datadiff-2.0.0 docutils-0.14 funcsigs-1.0.2 future-0.17.0 futures-3.2.0 gevent-1.3.7 greenlet-0.4.15 hvac-0.6.4 jsonpointer-2.0 linecache2-1.0.0 lxml-4.2.5 mock-2.0.0 nose-1.3.7 parse-1.9.0 parse-type-0.4.2 pbr-5.1.0 pep8-1.7.1 pkginfo-1.4.2 psycopg2-2.7.5 pyflakes-2.0.0 pysandra-unit-0.4.3 python-dateutil-2.7.4 pyyaml-3.13 readme-renderer-23.0 requests-2.20.0 requests-testadapter-0.3.0 requests-toolbelt-0.8.0 sqlalchemy-1.2.12 tqdm-4.28.1 traceback2-1.4.0 twine-1.12.1 urllib3-1.24 webencodings-0.5.1 ws4py-0.5.1 zato-apitest-1.12 zato-vault-client-1.3 zato-websocket-client-1.6.1

Where the important bit might be:

flake8 3.5.0 has requirement pyflakes<1.7.0,>=1.5.0, but you'll have pyflakes 2.0.0 which is incompatible.

Thanks :slight_smile: