The error was:
+ /usr/bin/python3 selftest.py
Traceback (most recent call last):
File "/builddir/build/BUILD/nose-1.3.7/build/tests/nose/plugins/manager.py", line 250, in __getattr__
return self._proxies[call]
~~~~~~~~~~~~~^^^^^^
KeyError: 'loadTestsFromModule'
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 60, in <module>
nose.run_exit()
^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/nose-1.3.7/build/tests/nose/core.py", line 118, in __init__
unittest.TestProgram.__init__(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/unittest/main.py", line 101, in __init__
self.runTests()
^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/nose-1.3.7/build/tests/nose/core.py", line 207, in runTests
result = self.testRunner.run(self.test)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/nose-1.3.7/build/tests/nose/core.py", line 62, in run
test(result)
^^^^^^^^^^^^
File "/builddir/build/BUILD/nose-1.3.7/build/tests/nose/suite.py", line 177, in __call__
return self.run(*arg, **kw)
^^^^^^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/nose-1.3.7/build/tests/nose/suite.py", line 224, in run
test(orig)
^^^^^^^^^^
File "/usr/lib64/python3.11/unittest/suite.py", line 84, in __call__
return self.run(*args, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/nose-1.3.7/build/tests/nose/suite.py", line 72, in run
for test in self._tests:
^^^^^^^^^^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/nose-1.3.7/build/tests/nose/suite.py", line 99, in _get_tests
for test in self.test_generator:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/nose-1.3.7/build/tests/nose/loader.py", line 190, in loadTestsFromDir
yield self.loadTestsFromName(
^^^^^^^^^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/nose-1.3.7/build/tests/nose/loader.py", line 430, in loadTestsFromName
return self.loadTestsFromModule(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/nose-1.3.7/build/tests/nose/loader.py", line 353, in loadTestsFromModule
tests.extend(self.loadTestsFromDir(module_path))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/nose-1.3.7/build/tests/nose/loader.py", line 182, in loadTestsFromDir
yield self.loadTestsFromName(
^^^^^^^^^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/nose-1.3.7/build/tests/nose/loader.py", line 430, in loadTestsFromName
return self.loadTestsFromModule(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/nose-1.3.7/build/tests/nose/loader.py", line 355, in loadTestsFromModule
for test in self.config.plugins.loadTestsFromModule(module, path):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/nose-1.3.7/build/tests/nose/plugins/manager.py", line 252, in __getattr__
proxy = self.proxyClass(call, self._plugins)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/nose-1.3.7/build/tests/nose/plugins/manager.py", line 96, in __init__
self.addPlugin(p, call)
^^^^^^^^^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/nose-1.3.7/build/tests/nose/plugins/manager.py", line 108, in addPlugin
len(inspect.getargspec(meth)[0]) == 2:
^^^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'getargspec'
Also:
- Rename python-nose to python2-nose and use Python provides macro.
- Include the license with the -docs subpackage.
- Use symlinks to provide man pages for all the Python version variants of /usr/bin/nosetests.
- The -docs subpackage no longer requires python-nose since it doesn't truly need it.