Closed ogajduse closed 1 year ago
I have just built ssh2-python with Python 3.11. Marking the issue as done.
There seem to be a few insignificant warnings during test collection.
$ pytest --collect-only tests/foreman/
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.11.0rc1, pytest-7.1.2, pluggy-1.0.0
shared_function enabled - OFF - scope: - storage: file
rootdir: /home/ogajduse/repos/robottelo, configfile: pyproject.toml
plugins: forked-1.4.0, xdist-2.5.0, services-2.2.1, reportportal-5.1.2, mock-3.8.2, ibutsu-2.2.4
collected 5702 items / 389 deselected / 5313 selected
Test collection output omitted ...
============================================================================= warnings summary =============================================================================
../../.virtualenvs/ssh2-python-py311/lib/python3.11/site-packages/botocore/utils.py:15
/home/ogajduse/.virtualenvs/ssh2-python-py311/lib/python3.11/site-packages/botocore/utils.py:15: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
import cgi
../../.virtualenvs/ssh2-python-py311/lib/python3.11/site-packages/botocore/httpsession.py:41
/home/ogajduse/.virtualenvs/ssh2-python-py311/lib/python3.11/site-packages/botocore/httpsession.py:41: DeprecationWarning: 'urllib3.contrib.pyopenssl' module is deprecated and will be removed in a future release of urllib3 2.x. Read more in this issue: https://github.com/urllib3/urllib3/issues/2680
from urllib3.contrib.pyopenssl import orig_util_SSLContext as SSLContext
../../.virtualenvs/ssh2-python-py311/lib/python3.11/site-packages/hvac/v1/__init__.py:117
/home/ogajduse/.virtualenvs/ssh2-python-py311/lib/python3.11/site-packages/hvac/v1/__init__.py:117: DeprecationWarning: Call to deprecated property 'kv'. This property will be removed in version '0.9.0' Please use the 'kv' property on the 'Client.secrets' attribute moving forward.
return utils.getattr_with_deprecated_properties(
../../.virtualenvs/ssh2-python-py311/lib/python3.11/site-packages/_pytest/config/__init__.py:1252
/home/ogajduse/.virtualenvs/ssh2-python-py311/lib/python3.11/site-packages/_pytest/config/__init__.py:1252: PytestConfigWarning: Unknown config option: rp_ignore_errors
self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================================================== 5313/5702 tests collected (389 deselected) in 55.31s ===========================================================
2022-09-03 19:26:40 - robottelo.collection - INFO - Processing test items to add testimony token markers
We now run robottelo in our automation on Python 3.11.
This is a tracking issue for robottelo setup on Python 3.11
Missing system packages
libxslt-devel - required by libxml2 package cmake - required by ssh2-python
Blocking issues