From 838464ba2eebd715de626c11d0f39dbe3fd84b0f Mon Sep 17 00:00:00 2001 From: Enol Fernandez Date: Thu, 16 Jan 2025 08:52:31 +0000 Subject: [PATCH 1/2] Remove requirements files They are no longer needed --- requirements.txt | 16 ---------------- test-requirements.txt | 13 ------------- 2 files changed, 29 deletions(-) delete mode 100644 requirements.txt delete mode 100644 test-requirements.txt diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 74ab89d7..00000000 --- a/requirements.txt +++ /dev/null @@ -1,16 +0,0 @@ -Mako -PyYAML -six -pbr -defusedxml -requests -pyOpenSSL -stevedore -# For OpenStack -#python-keystoneclient -#python-novaclient -#python-glanceclient -#keystoneauth1 -# For AWS -#python-dateutil -#boto3 diff --git a/test-requirements.txt b/test-requirements.txt deleted file mode 100644 index 18e51db4..00000000 --- a/test-requirements.txt +++ /dev/null @@ -1,13 +0,0 @@ -bandit>=1.1.0,<=1.7.9 -fixtures>=0.3.14 -defusedxml -# This is due to py2.7, could be removed in the future -mock -requests -pyOpenSSL -python-novaclient -python-glanceclient -testtools -python-dateutil -boto3 -pytest<8.4 From 1f19bf9fad6e26e8b5318c91d0a0e57df7b7e390 Mon Sep 17 00:00:00 2001 From: Enol Fernandez Date: Thu, 16 Jan 2025 08:55:19 +0000 Subject: [PATCH 2/2] tox is not used anymore --- tox.ini | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 tox.ini diff --git a/tox.ini b/tox.ini deleted file mode 100644 index 9caddb3a..00000000 --- a/tox.ini +++ /dev/null @@ -1,34 +0,0 @@ -[tox] -minversion = 1.6 -envlist = py37,py38,py27,nonascii -skipsdist = True - -[testenv] -usedevelop = True -install_command = pip install -U {opts} {packages} -setenv = - VIRTUAL_ENV={envdir} -deps = -r{toxinidir}/requirements.txt - -r{toxinidir}/test-requirements.txt -commands = python setup.py test {posargs} - -[testenv:bandit] -# NOTE(browne): This is required for the integration test job of the bandit -# project. Please do not remove. -# B110: except: pass -# B410: importing etree -# B702: Test for use of mako templates -commands = bandit -r cloud_info_provider -x tests -s B110,B410,B702 - -[testenv:venv] -commands = {posargs} - -[testenv:cobertura] -deps = pytest-cov - -r{toxinidir}/requirements.txt - -r{toxinidir}/test-requirements.txt -commands = py.test --cov=cloud_info_provider --cov-report=xml --cov-report=term-missing cloud_info_provider/tests - -[testenv:nonascii] -commands = python -c "import glob; [open(n).read().encode('ascii') for n in glob.glob('cloud_info_provider/formatters/templates/*')]" -deps =