Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564796 - =dev-python/pbr-1.8.1: fails tests with pypy3
Summary: =dev-python/pbr-1.8.1: fails tests with pypy3
Status: RESOLVED DUPLICATE of bug 564784
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-03 12:05 UTC by Paolo Pedroni
Modified: 2015-11-04 08:07 UTC (History)
0 users

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


Attachments
pbr-1.8.1:20151103-115228.log.gz (pbr-1.8.1:20151103-115228.log.gz,8.19 KB, application/gzip)
2015-11-03 12:05 UTC, Paolo Pedroni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Pedroni 2015-11-03 12:05:24 UTC
Created attachment 416006 [details]
pbr-1.8.1:20151103-115228.log.gz

running install_egg_info
Copying /var/tmp/portage/dev-python/pbr-1.8.1/work/pbr-1.8.1-pypy3/pbr.egg-info to /var/tmp/portage/dev-python/pbr-1.8.1/work/pbr-1.8.1-pypy3/test/lib/pbr-1.8.1-py3.2.egg-info
running install_scripts
Installing pbr script to /var/tmp/portage/dev-python/pbr-1.8.1/work/pbr-1.8.1-pypy3/test/scripts
running=OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} ${PYTHON:-python} -m subunit.run discover -t ./ .  
======================================================================
FAIL: unittest2.loader._FailedTest.pbr.tests.test_integration
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
ImportError: Failed to import test module: pbr.tests.test_integration
Traceback (most recent call last):
  File "/usr/lib64/pypy3/site-packages/mock/mock.py", line 81, in <module>
    inspectsignature = inspect.signature
AttributeError: 'module' object has no attribute 'signature'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib64/pypy3/site-packages/unittest2/loader.py", line 456, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib64/pypy3/site-packages/unittest2/loader.py", line 395, in _get_module_from_name
    __import__(name)
  File "pbr/tests/test_integration.py", line 24, in <module>
    from pbr.tests.test_packaging import TestRepo
  File "pbr/tests/test_packaging.py", line 48, in <module>
    import mock
  File "/usr/lib64/pypy3/site-packages/mock/__init__.py", line 2, in <module>
    import mock.mock as _mock
  File "/usr/lib64/pypy3/site-packages/mock/mock.py", line 83, in <module>
    import funcsigs
ImportError: No module named funcsigs
======================================================================
FAIL: unittest2.loader._FailedTest.pbr.tests.test_packaging
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
ImportError: Failed to import test module: pbr.tests.test_packaging
Traceback (most recent call last):
  File "/usr/lib64/pypy3/site-packages/mock/mock.py", line 81, in <module>
    inspectsignature = inspect.signature
AttributeError: 'module' object has no attribute 'signature'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib64/pypy3/site-packages/unittest2/loader.py", line 456, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib64/pypy3/site-packages/unittest2/loader.py", line 395, in _get_module_from_name
    __import__(name)
  File "pbr/tests/test_packaging.py", line 48, in <module>
    import mock
  File "/usr/lib64/pypy3/site-packages/mock/__init__.py", line 2, in <module>
    import mock.mock as _mock
  File "/usr/lib64/pypy3/site-packages/mock/mock.py", line 83, in <module>
    import funcsigs
ImportError: No module named funcsigs
Ran 87 tests in 8.033s
FAILED (id=0, failures=2, skips=9)

# emerge -1pqv =dev-python/pbr-1.8.1
[ebuild     U ] dev-python/pbr-1.8.1 [1.6.0] USE="{test*}" PYTHON_TARGETS="pypy pypy3 python2_7 python3_4 -python3_3 (-python3_5)"
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2015-11-04 08:07:42 UTC

*** This bug has been marked as a duplicate of bug 564784 ***