diff options
author | Doug Hellmann <doug@doughellmann.com> | 2018-04-17 16:45:10 -0400 |
---|---|---|
committer | Doug Hellmann <doug@doughellmann.com> | 2018-04-18 11:56:25 -0400 |
commit | 0124bf49191b629f9248df0391582265f6f01b68 (patch) | |
tree | e9ac5fb58eaf0b773198446fee918bb4f97f26a2 /tox.ini | |
parent | f244549faec0953c627999ba41888d9adf304111 (diff) | |
download | taskflow-0124bf49191b629f9248df0391582265f6f01b68.tar.gz |
stop using tox_install.sh
Duplicate the dependencies that are listed in extras and place them in
a test-requirements.txt file so we can install them using the
constraints list.
In order to add the new requirements file, we have to make the constraints
and requirements match each other and the global settings.
Change-Id: I4dae402fe37015f0f512d5e9a6426d5f39526347
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -16,11 +16,12 @@ setenv = VIRTUAL_ENV={envdir} BRANCH_NAME=master CLIENT_NAME=taskflow -install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} # We need to install a bit more than just `test' because those drivers have # custom tests that we always run deps = - .[test,workers,zookeeper,database,redis,eventlet] + -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} + -r{toxinidir}/test-requirements.txt + -r{toxinidir}/requirements.txt commands = python setup.py testr --slowest --testr-args='{posargs}' |