python-nose fails to build with Python 3.11.0a1. Traceback (most recent call last): File "/builddir/build/BUILD/nose-1.3.7/build/tests/nose/result.py", line 14, in <module> from unittest.runner import _TextTestResult ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ImportError: cannot import name '_TextTestResult' from 'unittest.runner' (/usr/lib64/python3.11/unittest/runner.py) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/nose-1.3.7/selftest.py", line 59, in <module> import nose ^^^^^^^^^^^ File "/builddir/build/BUILD/nose-1.3.7/build/tests/nose/__init__.py", line 1, in <module> from nose.core import collector, main, run, run_exit, runmodule ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/nose-1.3.7/build/tests/nose/core.py", line 15, in <module> from nose.result import TextTestResult ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/nose-1.3.7/build/tests/nose/result.py", line 16, in <module> from unittest import _TextTestResult ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ImportError: cannot import name '_TextTestResult' from 'unittest' (/usr/lib64/python3.11/unittest/__init__.py) Removed many old deprecated unittest features: An alias of the TextTestResult class: _TextTestResult (deprecated in Python 3.2). (Contributed by Serhiy Storchaka in bpo-45162.) https://bugs.python.org/issue45162 https://docs.python.org/3.11/whatsnew/3.11.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.11/fedora-rawhide-x86_64/02916315-python-nose/ For all our attempts to build python-nose with Python 3.11, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.11/package/python-nose/ 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.11: https://copr.fedorainfracloud.org/coprs/g/python/python3.11/ Let us know here if you have any questions. Python 3.11 is already included in Fedora 35. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.11. 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.
https://src.fedoraproject.org/rpms/python-nose/pull-request/5
Merged into the rawhide branch.