Age | Commit message (Collapse) | Author | Files | Lines |
|
- 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>
|
|
py38 is the oldest py version support vs
Ubuntu 22.04 python third-party.
It updates requirements to yoga too.
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I9d39f3600a4d0c432b7caf2f0b2bd51554e12318
|
|
If we don't specify a version of pylint, jenkins jobs in gerrit
sometimes fail for a reason unrelated to the submitted change because a
newer version of pylint adding new checks is used for the first time
during the job run. This is very annoying.
Let's stick to the latest version of pylint known to work with nfvbench,
and we will consider an update later on.
Change-Id: Ia2f87d0730ec1e733905a002a651ad6bcdf7edbb
Signed-off-by: Gwenael Lambrouin <gwenael.lambrouin@orange.com>
|
|
- remove version constraints on the "hacking" python package (flake8
plugin that enforces openstack coding style) because this was the root
cause holding flake8 in the past.
- require flake8>=3.3.0 to have python 3.6 support
- ignore all the new errors introduced by newer versions of the tools.
The point here is to have flake8 back with equal functionality. If
wanted, some of the new error codes could be re-enabled, but this would
require to fix the code and could lead to accidental regressions.
- align minimum package version numbers in requirements-dev.txt and
test-requirements.txt
Signed-off-by: Gwenael Lambrouin <gwenael.lambrouin@orange.com>
Change-Id: I2e85aded58f1b2b9b5e750dba66ac68b13e150a5
|
|
Change-Id: I17b1b2a97f0bc185d3906250d5f91b4c8fcb9686
Signed-off-by: Max Klyus <mklyus@cisco.com>
|
|
Change-Id: Ic55a07145f27c4cfaa6df5523df3940ca4433af1
Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com>
|
|
Change-Id: I5b96349d2eb2fc21a15dde6adbd72f7e84c737bf
Signed-off-by: ahothan <ahothan@cisco.com>
|
|
Change-Id: Ie2993886dc8e95c5f73ccdb871add8b96ffcc849
Signed-off-by: ahothan <ahothan@cisco.com>
|