config/sysinv/sysinv/sysinv
Al Bailey 4927790c0d Update sysinv tox for python3.9
sysinv will now use python3.9 for pylint, flake8, bandit

basepython is now set to python3.9

The zuul jobs for older versions are now updated or removed
The nodeset for python 3.9 jobs is set to debian-bullseye

pylint.rc changes include:
 - Upversion to latest pylint (2.16)
 - remove suppressions that no longer exist.
 - add suppressions for new checks added in recent pylint
 - update pylint.rc settings that no longer exist.
 - remove explicit enabling of pylint checkers from python2
   that are on by default in python3

Note: some of the newly suppressed pylint error codes will
be un-suppressed in later commits.

A subtle issue has also been fixed where a variable was
shadowing an imported method, and would have led to a
an exception when logging an error. The variable has been
renamed.

Example CLI service-parameter command for that code path:
 system service-parameter-modify kubernetes \
  kube_apiserver_volumes \
  default-audit-policy-file='{"hostPath":"x", "name":"y"}'

The CLI of the previous code would show the following
in its exception case without the fix
   'int' object is not callable

Test Plan:
  PASS: run tox in a debian build environment.
  PASS: build/install/unlock AIO-SX
  PASS: service-parameter CLI command still works

Story: 2010531
Task: 47279

Change-Id: I989ec6e75463be0a4dcd2c7727cd69584c2a20a2
Signed-off-by: Al Bailey <al.bailey@windriver.com>
2023-02-07 15:18:42 +00:00
..
.eggs StarlingX open source release updates 2018-05-31 07:35:52 -07:00
contrib StarlingX open source release updates 2018-05-31 07:35:52 -07:00
doc/source Change openstack-dev to openstack-discuss 2018-12-04 23:37:31 -05:00
etc/sysinv Deprecate old policy engine and restrict access 2022-08-10 11:18:38 -03:00
scripts Fix subcloud going offline if certificates expire 2023-01-20 02:57:01 +00:00
sysinv Update sysinv tox for python3.9 2023-02-07 15:18:42 +00:00
tools Deprecate sysinv.openstack.common.db in favor of oslo_db 2020-02-07 11:55:49 -06:00
.coveragerc StarlingX open source release updates 2018-05-31 07:35:52 -07:00
.gitignore Update sysinv to not invoke ceph during unit testing 2018-10-02 13:19:43 -05:00
.stestr.conf Cleanup sysinv tox py27 warnings 2019-05-31 08:35:50 -05:00
CONTRIBUTING.rst Update CONTRIBUTING.rst and add HACKING.rst 2019-09-27 09:00:29 -05:00
HACKING.rst Update CONTRIBUTING.rst and add HACKING.rst 2019-09-27 09:00:29 -05:00
LICENSE StarlingX open source release updates 2018-05-31 07:35:52 -07:00
MANIFEST.in Deprecate old policy engine and restrict access 2022-08-10 11:18:38 -03:00
README.rst StarlingX open source release updates 2018-05-31 07:35:52 -07:00
babel.cfg StarlingX open source release updates 2018-05-31 07:35:52 -07:00
openstack-common.conf Remove sysinv.openstack.common.loopingcall 2021-08-13 16:30:11 +00:00
pylint.rc Update sysinv tox for python3.9 2023-02-07 15:18:42 +00:00
requirements.txt Add ZeroMQ RPC backend 2022-11-24 13:28:01 -03:00
setup.cfg Merge sysinv_fpga_agent with sysinv_agent 2022-10-03 14:12:28 -04:00
setup.py Add a zuul job for sysinv tox unittest 2018-08-13 16:34:06 +08:00
test-requirements.txt Update sysinv tox for python3.9 2023-02-07 15:18:42 +00:00
tox.ini Update sysinv tox for python3.9 2023-02-07 15:18:42 +00:00
upper-constraints.txt Update tox.ini files to use stein constraints 2019-06-25 14:45:54 -04:00

README.rst

Placeholder to allow setup.py to work. Removing this requires modifying the setup.py manifest.