* Fix CI job that check rally installation with CentOS 9. Previously it
used CentOS 8 node :)
* Start using Ubuntu 22.04 LTS as much as possible
* Use python 3.10 by default for most tox envs
* Fix issues with new hacking&flake8
* Rewrite the way of preparation for tox
Change-Id: I77eba97596df4448065982956c3b6fb08c8e45db
Rally code is not compatible with SQLAlchemy-2.0.0,
until it's compatible let's pin it.
CI jobs are broken with multiple errors, so to get
this in also need following fixes:-
- Remove python-dev from bindep to fix announce-release
and docs jobs
- Update upper-constraints for testtools to 2.5.0 to fix
issues with python3.10+
- Update tox.ini for tox4 compatibility
- Ignore warnings introdueced with oslo.db-12.1.0,
SQLAlchemy-1.4.46
- Make tox-cover job non-voting as to get it passing
coverage report need to succeed for previous commit,
which will not succeed without the required changes
in this patch. It will be made voting again in follow
up patch.
Related-Bug: #2004022
Change-Id: Ifcffd11e300e1485fdbfa54b23bcdcaa6ad61011
All strings are considered as unicode string from Python 3.
This patch drops the explicit unicode literal (u'...')
appearances from the unicode strings.
Change-Id: I06cead907a0fbc019eece1305d505c4e153363a9
Fixes following:-
- download the different version pip file
- add project dir to git safe to allow installation
with pip, more details in [1]
[1] https://bugs.launchpad.net/devstack/+bug/1968798
Change-Id: Iedcf4207b51424c11625e34f146ebd67df2dc4c5
Python3.9 has been added by the TC to the list of supported python
versions, so it will be nice to test against it.
Signed-off-by: Dr. Jens Harbott <harbott@osism.tech>
Change-Id: I06c0c4bc4f23e8255c539ff54d258ae1c7eb717b
inspect.getargspec was deprecated since Python 3.0 and
inspect.getfullargspec is its replacement with correct handling of
function annotations and keyword-only parameters[1].
[1] https://docs.python.org/3/library/inspect.html#inspect.getargspec
Change-Id: Id843607e7a416e15f24b820979564193f8e9ab2b
Resolves warnings like the following:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
Change-Id: Ib0926420094443126be322d759c37a926675984b
The recent version of unittests discovered several issues:
* Context manager should be used while reading files
to ensure that file descriptors are closed at the right time.
* wrong test data at test_consume_results_sla_failure_abort. the number
add_iteration execution should not be less that number of iteration
results.
Change-Id: Ibd79f0c444a8cffcca0349b80aab79cd4c115158