Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709944 - dev-python/argcomplete-1.11.1 fails test_console_script_module, test_console_script_module_wheel, test_console_script_package, test_console_script_package_wheel
Summary: dev-python/argcomplete-1.11.1 fails test_console_script_module, test_console_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-02-17 14:14 UTC by ernsteiswuerfel
Modified: 2020-04-26 19:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (argcomplete-1.11.1:20200217-015807.log,20.89 KB, text/plain)
2020-02-17 14:14 UTC, ernsteiswuerfel
Details
emerge --info (file_709944.txt,5.81 KB, text/plain)
2020-02-17 14:14 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2020-02-17 14:14:20 UTC
Created attachment 614102 [details]
build.log

[...]
======================================================================
FAIL: test_console_script_module (__main__.TestBashGlobal)
Test completing a console_script for a module.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test.py", line 1207, in test_console_script_module
    self._test_console_script()
  File "test/test.py", line 1203, in _test_console_script
    self.assertEqual(self.sh.run_command(command), 'arg\r\n')
AssertionError: u'bash: test-module: command not found\r\n' != u'arg\r\n'
- bash: test-module: command not found
+ arg


======================================================================
FAIL: test_console_script_module_wheel (__main__.TestBashGlobal)
Test completing a console_script for a module from a wheel.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test.py", line 1215, in test_console_script_module_wheel
    self._test_console_script(wheel=True)
  File "test/test.py", line 1203, in _test_console_script
    self.assertEqual(self.sh.run_command(command), 'arg\r\n')
AssertionError: u'bash: test-module: command not found\r\n' != u'arg\r\n'
- bash: test-module: command not found
+ arg


======================================================================
FAIL: test_console_script_package (__main__.TestBashGlobal)
Test completing a console_script for a package.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test.py", line 1211, in test_console_script_package
    self._test_console_script(package=True)
  File "test/test.py", line 1203, in _test_console_script
    self.assertEqual(self.sh.run_command(command), 'arg\r\n')
AssertionError: u'bash: test-package: command not found\r\n' != u'arg\r\n'
- bash: test-package: command not found
+ arg


======================================================================
FAIL: test_console_script_package_wheel (__main__.TestBashGlobal)
Test completing a console_script for a package from a wheel.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test.py", line 1219, in test_console_script_package_wheel
    self._test_console_script(package=True, wheel=True)
  File "test/test.py", line 1203, in _test_console_script
    self.assertEqual(self.sh.run_command(command), 'arg\r\n')
AssertionError: u'bash: test-package: command not found\r\n' != u'arg\r\n'
- bash: test-package: command not found
+ arg


----------------------------------------------------------------------
Ran 140 tests in 89.587s

FAILED (failures=4, skipped=2, expected failures=14)
 * ERROR: dev-python/argcomplete-1.11.1::gentoo failed (test phase):
 *   (no error message)
Comment 1 ernsteiswuerfel archtester 2020-02-17 14:14:56 UTC
Created attachment 614104 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-04-26 19:50:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a803b8ad117e31bf622f7858422805742b6c1e4

commit 5a803b8ad117e31bf622f7858422805742b6c1e4
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-04-26 19:50:15 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-04-26 19:50:35 +0000

    dev-python/argcomplete: Require non-ancient dev-python/pip for tests
    
    Tests fail with pip-9, so require >=19.  Sadly, this means rekeywording.
    
    Closes: https://bugs.gentoo.org/709944
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../argcomplete/argcomplete-1.11.1-r1.ebuild       | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)