Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 449276 - dev-python/logilab-common-0.58.3-r1: pytest relies on constructs no longer in py3.3
Summary: dev-python/logilab-common-0.58.3-r1: pytest relies on constructs no longer in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python-3.3
  Show dependency tree
 
Reported: 2012-12-30 10:45 UTC by Michał Górny
Modified: 2015-07-08 14:07 UTC (History)
2 users (show)

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


Attachments
Build log for py3.3 (build-python3.3.log,43.77 KB, text/plain)
2012-12-30 10:45 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-12-30 10:45:59 UTC
Created attachment 333744 [details]
Build log for py3.3

Traceback (most recent call last):
  File "/tmp/portage/dev-python/logilab-common-0.58.3-r1/work/logilab-common-0.58.3-python3_3/test/usr/bin/pytest", line 6, in <module>
    from logilab.common.pytest import run
  File "/usr/lib64/python3.3/site-packages/logilab/common/pytest.py", line 124, in <module>
    from logilab.common import testlib, STD_BLACKLIST
  File "/usr/lib64/python3.3/site-packages/logilab/common/testlib.py", line 481, in <module>
    class TestCase(unittest.TestCase):
  File "/usr/lib64/python3.3/site-packages/logilab/common/testlib.py", line 1174, in TestCase
    assertItemsEqual = unittest.TestCase.assertSameElements
AttributeError: type object 'TestCase' has no attribute 'assertSameElements'
Comment 1 Tolga Dalman 2013-05-03 10:05:41 UTC
The bug is at least reported upstream: http://www.logilab.org/ticket/105845.
It's still open, so I guess it's not fixed with 0.59.1.
Comment 2 Sean Santos 2013-06-02 19:31:57 UTC
That bug was about something else. But I've reported upstream now:

http://www.logilab.org/ticket/144526
Comment 3 Mike Gilbert gentoo-dev 2013-09-02 17:37:41 UTC
The fix for this is in 0.60.0. It still fails tests, so I'm leaving PYTHON_TARGETS alone.
Comment 4 Pacho Ramos gentoo-dev 2013-10-13 08:27:26 UTC
0.60.0 is still skipping python3_3:
# 0.60.0 fails unittest_umessage with python3.3
# http://www.logilab.org/ticket/149345
PYTHON_COMPAT=( python{2_6,2_7,3_2} pypy2_0 )

this also blocks dev-python/astng from migrating
Comment 5 Pacho Ramos gentoo-dev 2013-10-18 17:47:00 UTC
(In reply to Pacho Ramos from comment #4)
> 0.60.0 is still skipping python3_3:
> # 0.60.0 fails unittest_umessage with python3.3
> # http://www.logilab.org/ticket/149345
> PYTHON_COMPAT=( python{2_6,2_7,3_2} pypy2_0 )
> 
> this also blocks dev-python/astng from migrating

Does it imply it doesn WORK with python3.3? Looks like opensuse and fedora are supplying it with 3.3 :/
Comment 6 Pacho Ramos gentoo-dev 2015-07-08 14:07:47 UTC
3.3 and 3.4 support were added at some point