Pin test dependencies

Change-Id: I5474e093a5fbd1e6cefb8984ea6cec3628e192a7
Story: TRIPLEOCI-514
This commit is contained in:
Sorin Sbarnea 2021-06-24 13:24:39 +01:00 committed by Sorin Sbârnea
parent 29dbd915ec
commit 6984eadf13
2 changed files with 277 additions and 0 deletions

265
constraints.txt Normal file
View File

@ -0,0 +1,265 @@
#
# This file is autogenerated by pip-compile with python 3.9
# To update, run:
#
# pip-compile --output-file=constraints.txt --pip-args='-chttps://releases.openstack.org/constraints/upper/master' requirements.txt setup.py test-requirements.txt
#
ansi2html==1.6.0
# via
# -r test-requirements.txt
# molecule
ansible==2.9.23
# via -r test-requirements.txt
ansible-lint==5.0.12
# via molecule
appdirs==1.4.4
# via virtualenv
arrow==1.1.0
# via jinja2-time
attrs==21.2.0
# via pytest
bcrypt==3.2.0
# via paramiko
binaryornot==0.4.4
# via cookiecutter
bracex==2.1.1
# via wcmatch
cerberus==1.3.2
# via molecule
certifi==2021.5.30
# via requests
cffi==1.14.5
# via
# bcrypt
# cryptography
# pynacl
cfgv==3.3.0
# via pre-commit
chardet==4.0.0
# via
# binaryornot
# requests
click==8.0.1
# via
# click-help-colors
# cookiecutter
# molecule
click-help-colors==0.9
# via molecule
colorama==0.4.4
# via
# -r requirements.txt
# rich
# tripleo-ci (setup.py)
commonmark==0.9.1
# via rich
cookiecutter==1.7.3
# via molecule
coverage==5.5
# via pytest-cov
cryptography==3.4.7
# via
# ansible
# paramiko
distlib==0.3.2
# via virtualenv
docker==5.0.0
# via molecule-docker
enrich==1.2.6
# via
# ansible-lint
# molecule
execnet==1.9.0
# via pytest-xdist
filelock==3.0.12
# via virtualenv
greenlet==1.1.0
# via sqlalchemy
identify==2.2.10
# via pre-commit
idna==2.10
# via requests
iniconfig==1.1.1
# via pytest
jenkinsapi==0.3.11
# via
# -r requirements.txt
# tripleo-ci (setup.py)
jinja2==3.0.1
# via
# ansible
# cookiecutter
# jinja2-time
# molecule
jinja2-time==0.2.0
# via cookiecutter
markupsafe==2.0.1
# via jinja2
molecule[test]==3.3.4
# via
# -r test-requirements.txt
# molecule-containers
# molecule-docker
# molecule-podman
# pytest-molecule
molecule-containers==0.2.1
# via -r test-requirements.txt
molecule-docker==0.2.4
# via
# -r test-requirements.txt
# molecule-containers
molecule-podman==0.3.0
# via
# -r test-requirements.txt
# molecule-containers
more-itertools==8.8.0
# via pytest-plus
nodeenv==1.6.0
# via pre-commit
packaging==20.9
# via
# ansible-lint
# molecule
# pytest
paramiko==2.7.2
# via
# -r test-requirements.txt
# molecule
pbr==5.6.0
# via
# -r requirements.txt
# tripleo-ci (setup.py)
pexpect==4.8.0
# via molecule
pluggy==0.13.1
# via
# molecule
# pytest
poyo==0.5.0
# via cookiecutter
pre-commit==2.13.0
# via -r test-requirements.txt
ptyprocess==0.7.0
# via pexpect
py==1.10.0
# via
# pytest
# pytest-forked
pycparser==2.20
# via cffi
pygments==2.9.0
# via rich
pynacl==1.4.0
# via paramiko
pyparsing==2.4.7
# via packaging
pytest==6.2.4
# via
# -r test-requirements.txt
# molecule
# pytest-cov
# pytest-forked
# pytest-helpers-namespace
# pytest-html
# pytest-metadata
# pytest-mock
# pytest-plus
# pytest-testinfra
# pytest-verbose-parametrize
# pytest-xdist
pytest-cov==2.12.1
# via
# -r test-requirements.txt
# molecule
pytest-forked==1.3.0
# via pytest-xdist
pytest-helpers-namespace==2021.4.29
# via molecule
pytest-html==3.1.1
# via
# -r test-requirements.txt
# molecule
# pytest-molecule
pytest-metadata==1.11.0
# via pytest-html
pytest-mock==3.6.1
# via molecule
pytest-molecule==1.3.4
# via -r test-requirements.txt
pytest-plus==0.2
# via
# -r test-requirements.txt
# molecule
pytest-testinfra==6.4.0
# via molecule
pytest-verbose-parametrize==1.7.0
# via molecule
pytest-xdist==2.3.0
# via
# -r test-requirements.txt
# molecule
python-dateutil==2.8.1
# via arrow
python-slugify==5.0.2
# via cookiecutter
pytz==2021.1
# via jenkinsapi
pyyaml==5.4.1
# via
# -r test-requirements.txt
# ansible
# ansible-lint
# molecule
# molecule-containers
# pre-commit
requests==2.25.1
# via
# -r test-requirements.txt
# cookiecutter
# docker
# jenkinsapi
rich==10.4.0
# via
# ansible-lint
# enrich
# molecule
ruamel.yaml==0.17.10
# via ansible-lint
ruamel.yaml.clib==0.2.2
# via ruamel.yaml
six==1.16.0
# via
# bcrypt
# cookiecutter
# jenkinsapi
# pynacl
# pytest-verbose-parametrize
# python-dateutil
# tenacity
# virtualenv
sqlalchemy==1.4.19
# via
# -r requirements.txt
# tripleo-ci (setup.py)
subprocess-tee==0.3.2
# via molecule
tenacity==7.0.0
# via ansible-lint
text-unidecode==1.3
# via python-slugify
toml==0.10.2
# via
# pre-commit
# pytest
# pytest-cov
urllib3==1.26.5
# via requests
virtualenv==20.4.7
# via pre-commit
wcmatch==8.2
# via ansible-lint
websocket-client==1.1.0
# via docker
# The following packages are considered to be unsafe in a requirements file:
# setuptools

12
tox.ini
View File

@ -25,6 +25,7 @@ passenv =
CURL_CA_BUNDLE
DOCKER_*
MOLECULE_*
PIP_CONSTRAINT={env:PIP_CONSTRAINT:constraints.txt}
REQUESTS_CA_BUNDLE
SSH_AUTH_SOCK
SSL_CERT_FILE
@ -39,6 +40,17 @@ commands_pre =
commands =
python -m pytest --html={envlogdir}/reports.html --self-contained-html {tty:-s} {env:TEST_PARAMS} {posargs}
[testenv:deps]
description = Bump all test dependencies
basepython = python3
deps =
pre-commit>=2.6.0
pip-tools>=5.4.0
setuptools>=51.1.1
skip_install = true
commands =
pip-compile --upgrade --output-file=constraints.txt --pip-args "-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}" setup.py test-requirements.txt requirements.txt
[testenv:venv]
commands = {posargs}