diff options
author | Gwenael Lambrouin <gwenael.lambrouin@orange.com> | 2023-01-06 17:53:23 +0100 |
---|---|---|
committer | Gwenael Lambrouin <gwenael.lambrouin@orange.com> | 2023-11-30 10:38:14 +0100 |
commit | 8ecfd4c886507fe602398a8623e6044d40ea8090 (patch) | |
tree | 7f8ee7250d78e0669b32f5603a491731ee81c0ce /test-requirements.txt | |
parent | b33d3b4bc7ae7113ffca9b049eef1be172e22d29 (diff) |
- remove useless Python packages
- make the purpose of each requirements.txt file explicit
- don't overlap between requirements.txt files
- fix requirements so that the "new" pip dependency resolver (enabled by
default since pip 20.3) work. Consequently, it is not necessary to pin
pip version to 20.2.4 and we can drop tox-pip-version
- remove unused tox environments
- skip the installation of nfvbench in the tox environments where this
is not necessary
- update pylint 2.10.2 => 2.15.9 (that was necessary to fix some
requirement conflicts):
- disable some of new checkers:
consider-using-f-string,consider-using-generator,unnecessary-lambda-assignment,implicit-str-concat,global-variable-not-assigned
- remove many obsolete checkers from the disable list
- apply a simple refactor suggestion in nfvbench code
- upgrade to Python 3.8 some remaining references to Python 3.6
Change-Id: I55c0fb144b9199681962f396582590aba89ed02c
Signed-off-by: Gwenael Lambrouin <gwenael.lambrouin@orange.com>
Diffstat (limited to 'test-requirements.txt')
-rw-r--r-- | test-requirements.txt | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/test-requirements.txt b/test-requirements.txt index da52c9d..4fa57c3 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,21 +1,21 @@ +# Python dependencies required by tox to run unit tests and code quality checks +# +# (dependencies required to build and check the docs can be found in +# docs/requirements.txt) +# # The order of packages is significant, because pip processes them in the order # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -hacking +# Requirements for nfvbench unit tests: +pytest # MIT +scapy>=2.3.1 +# Extra requirements for behave_tests unit tests: +pytest-subtests -coverage!=4.4 # Apache-2.0 -discover +# Requirements for pep8 test: +hacking==5.0.0 flake8>=3.3.0 -python-subunit # Apache-2.0/BSD -scapy>=2.3.1 -sphinx!=1.6.6,!=1.6.7,!=2.1.0,!=3.0.0,!=3.4.2 # BSD -sphinx-rtd-theme # MIT -oslosphinx # Apache-2.0 -oslotest<4;python_version<'3.6' # Apache-2.0 -oslotest;python_version>='3.6' # Apache-2.0 -testrepository # Apache-2.0/BSD -testscenarios # Apache-2.0/BSD -testtools # MIT -pytest # MIT -pylint==2.10.2 + +# Requirements for linter test: +pylint==2.15.9 |