Skip to content

tox: drop python 3.8 from the list#1577

Merged
praiskup merged 1 commit intorpm-software-management:mainfrom
praiskup:praiskup-no-python-3.8
May 6, 2025
Merged

tox: drop python 3.8 from the list#1577
praiskup merged 1 commit intorpm-software-management:mainfrom
praiskup:praiskup-no-python-3.8

Conversation

@praiskup
Copy link
Member

@praiskup praiskup commented May 6, 2025

We still support Mock on RHEL 8+, which provides quite an old version of Python v3.9. But no need to worry about Python 3.8 which seems to fail in Tox now.

@praiskup praiskup force-pushed the praiskup-no-python-3.8 branch 7 times, most recently from 4e107f4 to 68bed7c Compare May 6, 2025 11:55
We still support Mock on RHEL 8, which runs on Python v3.6, and RHEL 9
which is on Python v3.9.  Version 3.8 probably never used with Mock.

Currently tests fail with Python 3.8 (pyroute2 problem):

_____________ ERROR collecting mock/tests/test_package_manager.py ______________
mock/tests/test_package_manager.py:10: in <module>
    from mockbuild.config import setup_default_config_opts
mock/py/mockbuild/config.py:29: in <module>
    from .util import set_use_nspawn, setup_operations_timeout
mock/py/mockbuild/util.py:41: in <module>
    from pyroute2 import IPRoute
.tox/py38/lib/python3.8/site-packages/pyroute2/__init__.py:16: in <module>
    from pyroute2.cli.console import Console
.tox/py38/lib/python3.8/site-packages/pyroute2/cli/console.py:6: in <module>
    from pyroute2.cli.session import Session
.tox/py38/lib/python3.8/site-packages/pyroute2/cli/session.py:9: in <module>
    from pyroute2.cli.parser import Parser
.tox/py38/lib/python3.8/site-packages/pyroute2/cli/parser.py:13: in <module>
    from pyroute2.common import basestring
.tox/py38/lib/python3.8/site-packages/pyroute2/common.py:90: in <module>
    ns: dict[str, Any],
E   TypeError: 'type' object is not subscriptable
@praiskup praiskup force-pushed the praiskup-no-python-3.8 branch from 68bed7c to cdc8712 Compare May 6, 2025 11:57
@praiskup praiskup merged commit fa6d655 into rpm-software-management:main May 6, 2025
16 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant