python-verboselogs fails to build with Python 3.10.0b1: =================================== FAILURES =================================== ____________________ VerboseLogsTestCase.test_pylint_plugin ____________________ self = <verboselogs.tests.VerboseLogsTestCase testMethod=test_pylint_plugin> def test_pylint_plugin(self): """Test the :mod:`verboselogs.pylint` module.""" saved_args = sys.argv try: sys.argv = ['pylint', '--load-plugins', 'verboselogs.pylint', '--errors-only', 'verboselogs'] > __import__('pylint').run_pylint() verboselogs/tests.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.10/site-packages/pylint/__init__.py:24: in run_pylint PylintRun(sys.argv[1:]) /usr/lib/python3.10/site-packages/pylint/lint/run.py:266: in __init__ linter.load_plugin_modules(self._plugins) /usr/lib/python3.10/site-packages/pylint/lint/pylinter.py:503: in load_plugin_modules module = astroid.modutils.load_module_from_name(modname) /usr/lib/python3.10/site-packages/astroid/modutils.py:212: in load_module_from_name return importlib.import_module(dotted_name) /usr/lib64/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) ... _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ # Verbose, notice, and spam log levels for Python's logging module. # # Author: Glenn Matthews <glenn> # Last Change: August 7, 2017 # URL: https://verboselogs.readthedocs.io """ Pylint_ plugin to fix invalid errors about the :mod:`logging` module. .. _Pylint: https://pypi.python.org/pypi/pylint """ from astroid import MANAGER, scoped_nodes, nodes > from astroid.__pkginfo__ import numversion E ImportError: cannot import name 'numversion' from 'astroid.__pkginfo__' (/usr/lib/python3.10/site-packages/astroid/__pkginfo__.py) verboselogs/pylint.py:14: ImportError For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.10/fedora-rawhide-x86_64/02172592-python-verboselogs/ For all our attempts to build python-verboselogs with Python 3.10, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/package/python-verboselogs/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.10: https://copr.fedorainfracloud.org/coprs/g/python/python3.10/ Let us know here if you have any questions. Python 3.10 will be included in Fedora 35. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.10. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
I've also enabled tracking in https://koschei.fedoraproject.org/package/python-verboselogs to see fi this is Python 3.10 related (it does not seem to be).
As suspected, it is not related to Python 3.10. from astroid import MANAGER, scoped_nodes, nodes > from astroid.__pkginfo__ import numversion E ImportError: cannot import name 'numversion' from 'astroid.__pkginfo__' (/usr/lib/python3.9/site-packages/astroid/__pkginfo__.py) verboselogs/pylint.py:14: ImportError