Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482730 - dev-python/pylint-1.0.0 version bump
Summary: dev-python/pylint-1.0.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL: http://www.logilab.org/blogentry/163292
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-27 22:16 UTC by René 'Necoro' Neumann
Modified: 2014-05-07 07:06 UTC (History)
4 users (show)

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


Attachments
dev-python/astroid (astroid-1.0.1.ebuild,1.27 KB, text/plain)
2014-02-03 16:19 UTC, yegle
Details
logilab-common-0.60.1.ebuild (logilab-common-0.60.1.ebuild,2.22 KB, text/plain)
2014-02-03 16:20 UTC, yegle
Details
pylint-1.1.0.ebuild (pylint-1.1.0.ebuild,1.66 KB, text/plain)
2014-02-03 16:21 UTC, yegle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description René 'Necoro' Neumann 2013-08-27 22:16:26 UTC
dev-python/pylint version 1.0.0 has been released. This includes some better support for Python3, which would be really nice to have.

Unfortunately, this also needs bumps (and renames!) of dependencies.

Thanks!
Comment 1 yegle 2013-10-11 17:52:43 UTC
Also please add python3_3 to PYTHON_TARGETS list.
Comment 2 yegle 2013-10-11 17:53:41 UTC
Sorry I mean adding python3_3 to PYTHON_COMPAT list in the ebuild file. I apology for my mistake.
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2013-10-15 10:33:17 UTC
yegle, could you care to attach patch with this and updated dependencies? :) TIA.
Comment 4 yegle 2014-02-03 16:19:53 UTC
Created attachment 369442 [details]
dev-python/astroid

logilab-astng was renamed to astroid, so is the ebuild file.
Comment 5 yegle 2014-02-03 16:20:51 UTC
Created attachment 369444 [details]
logilab-common-0.60.1.ebuild

Add Python3.3 support
Comment 6 yegle 2014-02-03 16:21:47 UTC
Created attachment 369446 [details]
pylint-1.1.0.ebuild

Change download link, add Python3.3 support
Comment 7 Markus Walter 2014-02-04 17:36:07 UTC
(In reply to yegle from comment #5)
> Created attachment 369444 [details]
> logilab-common-0.60.1.ebuild
> 
> Add Python3.3 support

The attached ebuilds work fine. Thanks a lot. :)

However the logilab-common ebuild fails tests for python3.3 on my hardened ~amd64 machine like follows.

=======================  unittest_umessage.py  =======================
FF.F
======================================================================
FAIL: test_decode_QP (unittest_umessage.UMessageTC)
----------------------------------------------------------------------
Traceback (most recent call last)
  File "/var/tmp/portage/dev-python/logilab-common-0.60.1/work/logilab-common-0.60.1-python3_3/test/lib/logilab_common-0.60.1-py3.3.egg/logilab/common/test/unittest_umessage.py", line 59, in test_decode_QP
    self.assertEqual(test, 'Raphaël DUPONT<raphael.dupont@societe.fr>')
  File "/usr/lib64/python3.3/unittest/case.py", line 641, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib64/python3.3/unittest/case.py", line 1020, in assertMultiLineEqual
    self.fail(self._formatMessage(msg, standardMsg))
  File "/usr/lib64/python3.3/unittest/case.py", line 508, in fail
    raise self.failureException(msg)
AssertionError: 'Raphaël  DUPONT<raphael.dupont@societe.fr>' != 'Raphaël DUPONT<raphael.dupont@societe.fr>'
- Raphaël  DUPONT<raphael.dupont@societe.fr>
?        -
+ Raphaël DUPONT<raphael.dupont@societe.fr>


                              no stdout                               
                              no stderr                               
======================================================================
FAIL: test_get_all (unittest_umessage.UMessageTC)
----------------------------------------------------------------------
Traceback (most recent call last)
  File "/var/tmp/portage/dev-python/logilab-common-0.60.1/work/logilab-common-0.60.1-python3_3/test/lib/logilab_common-0.60.1-py3.3.egg/logilab/common/test/unittest_umessage.py", line 49, in test_get_all
    self.assertEqual(to, ['élément à accents <alf@logilab.fr>'])
  File "/usr/lib64/python3.3/unittest/case.py", line 641, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib64/python3.3/unittest/case.py", line 844, in assertListEqual
    self.assertSequenceEqual(list1, list2, msg, seq_type=list)
  File "/usr/lib64/python3.3/unittest/case.py", line 826, in assertSequenceEqual
    self.fail(msg)
  File "/usr/lib64/python3.3/unittest/case.py", line 508, in fail
    raise self.failureException(msg)
AssertionError: Lists differ: ['élément à  accents <alf@logi... != ['élément à accents <alf@logil...

First differing element 0:
élément à  accents <alf@logilab.fr>
élément à accents <alf@logilab.fr>

- ['élément à  accents <alf@logilab.fr>']
?            -

+ ['élément à accents <alf@logilab.fr>']

                              no stdout                               
                              no stderr                               
======================================================================
FAIL: test_get_subject (unittest_umessage.UMessageTC)
----------------------------------------------------------------------
Traceback (most recent call last)
  File "/var/tmp/portage/dev-python/logilab-common-0.60.1/work/logilab-common-0.60.1-python3_3/test/lib/logilab_common-0.60.1-py3.3.egg/logilab/common/test/unittest_umessage.py", line 44, in test_get_subject
    self.assertEqual(subj, 'À LA MER')
  File "/usr/lib64/python3.3/unittest/case.py", line 641, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib64/python3.3/unittest/case.py", line 1020, in assertMultiLineEqual
    self.fail(self._formatMessage(msg, standardMsg))
  File "/usr/lib64/python3.3/unittest/case.py", line 508, in fail
    raise self.failureException(msg)
AssertionError: 'À  LA MER' != 'À LA MER'
- À  LA MER
?  -
+ À LA MER
Comment 8 Patrick Lauer gentoo-dev 2014-05-07 07:06:16 UTC
*pylint-1.1.0 (16 Feb 2014)

  16 Feb 2014; Ian Delaney <idella4@gentoo.org> +pylint-1.1.0.ebuild:
  bump; add IUSE doc & test, doc build & install, update deps, update test
  phase, tidy install phase