Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Robottelo setup on Python 3.11 #9668

Closed
1 task done
ogajduse opened this issue Jun 7, 2022 · 3 comments
Closed
1 task done

Robottelo setup on Python 3.11 #9668

ogajduse opened this issue Jun 7, 2022 · 3 comments

Comments

@ogajduse
Copy link
Member

ogajduse commented Jun 7, 2022

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

@ogajduse ogajduse changed the title Robottelo setup with Python 3.11 Robottelo setup on Python 3.11 Jun 7, 2022
@ogajduse
Copy link
Member Author

ogajduse commented Sep 3, 2022

I have just built ssh2-python with Python 3.11. Marking the issue as done.

@ogajduse
Copy link
Member Author

ogajduse commented Sep 3, 2022

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

@ogajduse
Copy link
Member Author

ogajduse commented Jan 4, 2023

We now run robottelo in our automation on Python 3.11.

@ogajduse ogajduse closed this as completed Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant