From 52d2e3bbf017c981297c198f0616dc7364cefdde Mon Sep 17 00:00:00 2001 From: santanude Date: Wed, 7 Dec 2022 16:02:53 +0530 Subject: [PATCH] Add dependencies in tox file for CLM job SMO-113 Signed-off-by: santanude Change-Id: Iafd58a421882c2a9afb594395b01f7386e79dc71 --- requirements.txt | 37 ++++++++++++++++++++++++++----------- tox.ini | 17 ++++++++++++++++- 2 files changed, 42 insertions(+), 12 deletions(-) diff --git a/requirements.txt b/requirements.txt index a5367a0..697d3b8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,24 +1,39 @@ attrs==22.1.0 -certifi==2022.6.15 +certifi==2022.9.24 charset-normalizer==2.1.1 click==8.1.3 confluent-kafka==1.9.2 +coverage==6.5.0 +exceptiongroup==1.0.4 Flask==2.2.2 -gevent==21.12.0 -greenlet==1.1.3 -idna==3.3 -importlib-metadata==4.12.0 -importlib-resources==5.9.0 +future==0.18.2 +gevent==22.10.2 +greenlet==2.0.1 +idna==3.4 +importlib-metadata==5.1.0 +importlib-resources==5.10.1 +iniconfig==1.1.1 itsdangerous==2.1.2 Jinja2==3.1.2 -jsonschema==4.15.0 +jsonschema==4.17.3 kafka-python==2.0.2 MarkupSafe==2.1.1 +mock==4.0.3 +packaging==21.3 pkgutil-resolve-name==1.3.10 -pyrsistent==0.18.1 +pluggy==1.0.0 +pyparsing==3.0.9 +pyrsistent==0.19.2 +pytest==7.2.0 +pytest-cov==4.0.0 +pytest-mock==3.10.0 +PyYAML==6.0 requests==2.28.1 -urllib3==1.26.12 +requests-mock==1.10.0 +six==1.16.0 +tomli==2.0.1 +urllib3==1.26.13 Werkzeug==2.2.2 -zipp==3.8.1 +zipp==3.11.0 zope.event==4.5.0 -zope.interface==5.4.0 +zope.interface==5.5.2 diff --git a/tox.ini b/tox.ini index 1fde1fb..d604449 100644 --- a/tox.ini +++ b/tox.ini @@ -29,7 +29,22 @@ commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinid [testenv:clm] # use pip to report dependencies with versions whitelist_externals = sh -commands = sh -c 'pip freeze > requirements.txt' +deps = + pytest + coverage + pytest-cov + requests + jsonschema + kafka-python + gevent + PyYAML + pytest-mock + flask + confluent-kafka + future + mock + requests_mock +commands = sh -c 'pip3 freeze > {toxinidir}/requirements.txt' [testenv:coverage] deps = -- 2.16.6