To get some information from the system, which we then use to choose the
appropriate static requirements file, we need to run some commands,
something that nox will refuse to do if `--install-only` is passed.
We work around it by manually patching the value of
`session._runner.global_config.install_only` for the commands that we
MUST run, and only those and then we set it back to the value it had
before.
For additional information about why we have to do this, please see:
https://github.com/theacodes/nox/pull/181
* Updated paramiko to version 2.2.3 for python3.7 support
* Handle nox running under Py2 and Py3
* Stop compiling static TCP requirements.
* Fix Amazon 2018.03 in excludes
* Compile requirements files
```
10:38:21 test_down (integration.runners.test_manage.ManageTest) ... 09:37:29,619 [salt.minion :3064][CRITICAL] Unexpected error while connecting to localhost
10:38:21 Traceback (most recent call last):
10:38:21 File "/tmp/kitchen/testing/salt/minion.py", line 3036, in _connect_syndic
10:38:21 yield syndic.connect_master(failed=failed)
10:38:21 File "/tmp/kitchen/testing/.nox/runtests-parametrized-2-7-coverage-true-crypto-none-transport-tcp/lib/python2.7/site-packages/tornado/gen.py", line 1055, in run
10:38:21 value = future.result()
10:38:21 File "/tmp/kitchen/testing/.nox/runtests-parametrized-2-7-coverage-true-crypto-none-transport-tcp/lib/python2.7/site-packages/tornado/concurrent.py", line 238, in result
10:38:21 raise_exc_info(self._exc_info)
10:38:21 File "/tmp/kitchen/testing/.nox/runtests-parametrized-2-7-coverage-true-crypto-none-transport-tcp/lib/python2.7/site-packages/tornado/gen.py", line 1063, in run
10:38:21 yielded = self.gen.throw(*exc_info)
10:38:21 File "/tmp/kitchen/testing/salt/minion.py", line 1218, in connect_master
10:38:21 master, self.pub_channel = yield self.eval_master(self.opts, self.timeout, self.safe, failed)
10:38:21 File "/tmp/kitchen/testing/.nox/runtests-parametrized-2-7-coverage-true-crypto-none-transport-tcp/lib/python2.7/site-packages/tornado/gen.py", line 1055, in run
10:38:21 value = future.result()
10:38:21 File "/tmp/kitchen/testing/.nox/runtests-parametrized-2-7-coverage-true-crypto-none-transport-tcp/lib/python2.7/site-packages/tornado/concurrent.py", line 238, in result
10:38:21 raise_exc_info(self._exc_info)
10:38:21 File "/tmp/kitchen/testing/.nox/runtests-parametrized-2-7-coverage-true-crypto-none-transport-tcp/lib/python2.7/site-packages/tornado/gen.py", line 307, in wrapper
10:38:21 yielded = next(result)
10:38:21 File "/tmp/kitchen/testing/salt/minion.py", line 713, in eval_master
10:38:21 pub_channel = salt.transport.client.AsyncPubChannel.factory(self.opts, **factory_kwargs)
10:38:21 File "/tmp/kitchen/testing/salt/transport/client.py", line 161, in factory
10:38:21 import salt.transport.zeromq
10:38:21 File "/tmp/kitchen/testing/salt/transport/zeromq.py", line 41, in <module>
10:38:21 import zmq.error
10:38:21 ImportError: No module named zmq.error
```