[opensuse-python] Backporting argcomplete for SLE-12
Hi! We need a newer version of argcomplete in SLE-12 to be able to package the Azure CLI utilities (at least 1.8.0), also with single-spec enabled. I have currently copied version 1.9.2 from SUSE:SLE-15:Update, but the testsuite fails for me and so far I'm unable to resolve the issue, output below. Does anyone have a clue how to fix the failure? Adrian [ 52s] + /usr/bin/python2 setup.py test [ 52s] running test [ 52s] running egg_info [ 52s] writing requirements to argcomplete.egg-info/requires.txt [ 52s] writing argcomplete.egg-info/PKG-INFO [ 52s] writing top-level names to argcomplete.egg-info/top_level.txt [ 52s] writing dependency_links to argcomplete.egg-info/dependency_links.txt [ 52s] reading manifest file 'argcomplete.egg-info/SOURCES.txt' [ 52s] reading manifest template 'MANIFEST.in' [ 52s] writing manifest file 'argcomplete.egg-info/SOURCES.txt' [ 52s] running build_ext [ 52s] Traceback (most recent call last): [ 52s] File "setup.py", line 48, in <module> [ 52s] 'Topic :: Terminals' [ 52s] File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 143, in setup [ 52s] return distutils.core.setup(**attrs) [ 52s] File "/usr/lib64/python2.7/distutils/core.py", line 151, in setup [ 52s] dist.run_commands() [ 52s] File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands [ 52s] self.run_command(cmd) [ 52s] File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command [ 52s] cmd_obj.run() [ 52s] File "/usr/lib/python2.7/site-packages/setuptools/command/test.py", line 228, in run [ 52s] self.run_tests() [ 52s] File "/usr/lib/python2.7/site-packages/setuptools/command/test.py", line 250, in run_tests [ 52s] exit=False, [ 52s] File "/usr/lib64/python2.7/unittest/main.py", line 94, in __init__ [ 52s] self.parseArgs(argv) [ 52s] File "/usr/lib64/python2.7/unittest/main.py", line 149, in parseArgs [ 52s] self.createTests() [ 52s] File "/usr/lib64/python2.7/unittest/main.py", line 158, in createTests [ 52s] self.module) [ 52s] File "/usr/lib64/python2.7/unittest/loader.py", line 130, in loadTestsFromNames [ 52s] suites = [self.loadTestsFromName(name, module) for name in names] [ 52s] File "/usr/lib64/python2.7/unittest/loader.py", line 103, in loadTestsFromName [ 52s] return self.loadTestsFromModule(obj) [ 52s] File "/usr/lib/python2.7/site-packages/setuptools/command/test.py", line 54, in loadTestsFromModule [ 52s] tests.append(self.loadTestsFromName(submodule)) [ 52s] File "/usr/lib64/python2.7/unittest/loader.py", line 100, in loadTestsFromName [ 52s] parent, obj = obj, getattr(obj, part) [ 52s] AttributeError: 'module' object has no attribute 'test' [ 52s] error: Bad exit status from /var/tmp/rpm-tmp.ZG1UZg (%check) [ 52s] [ 52s] [ 52s] RPM build errors: [ 52s] Bad exit status from /var/tmp/rpm-tmp.ZG1UZg (%check) [ 52s]
participants (1)
-
John Paul Adrian Glaubitz