openstack-ansible/test-requirements.txt
Jesse Pretorius 255de9876b Update tox configuration
In order to prepare for implementing requirements management by the
OpenStack requirements management process, and to enable the use of
tox to execute the functional test, this patch implements
some changes to the tox configuration:

- The minimum tox version is increased in order to be able to use
  constraints for the python packages.
- The OpenStack upper-constraints are used when preparing the test
  venv for the linters checks.
- Any proxy environment variables set on the test host are passed
  into the venv to enable testing from behind a proxy.
- The environment variables used by Ansible tests are moved into
  a new venv called 'ansible' and this environment is inherited
  by all Ansible-related tests.
- The docs test will clean-up an existing build directory before
  executing the docs build.
- The releasenotes build cannot use upper-constraints at this point,
  so it doesn't.
- The Ansible role download will no longer ignore errors so that any
  problems discovered will result in a failed test.
- A functional test environment which executes the gate-check-commit
  script is added in order to allow the switch to using the same
  functional test execution job in OpenStack-CI as is used for the
  roles. This, in turn, enables the execution of the job for multiple
  Operating Systems (CentOS, Ubuntu Xenial, etc).
- The 'ansible' and 'ansible-lint' requirements are moved from
  test-requirements to the tox file in order to ensure that we
  can abide by the global-requirements contract.
- The test-requirement for 'mock' has its formatting changed to
  be consistent with other test-requirements.

Change-Id: Ida78a2eae93da5fc56ec6a3d58e75c7db0f08b16
2016-07-06 16:22:18 +01:00

15 lines
321 B
Plaintext

bashate==0.5.0 # Apache-2.0
coverage<=4.0.3 # Apache-2.0
flake8==2.2.4
hacking>=0.10.0,<0.11
mccabe==0.2.1 # capped for flake8
mock==2.0.0
pep8==1.5.7
pyflakes==0.8.1
virtualenv>=14.0.0
# this is required for the docs build jobs
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
oslosphinx>=2.5.0 # Apache-2.0
reno>=0.1.1 # Apache-2.0