Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 402171

Summary: dev-python/astng-0.23.1 version bump request
Product: Gentoo Linux Reporter: Ian Delaney (RETIRED) <idella4>
Component: [OLD] LibraryAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: Normal    
Version: 10.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild
ebuild patch for astng-0.23.1.ebuild made against a copied astng-0.22.0.ebuild

Description Ian Delaney (RETIRED) gentoo-dev 2012-02-04 16:04:25 UTC
Created attachment 300915 [details]
ebuild

archtester astng # ebuild astng-0.23.1.ebuild clean test

Ran 238 test cases in 1.56s (1.56s CPU), 2 failures, 10 skipped
7 modules OK (2 failed)

however;

archtester astng # FEATURES=test emerge =dev-python/astng-0.23.1::gentoo 

>>> Emerging (1 of 1) dev-python/astng-0.23.1
>>> Installing (1 of 1) dev-python/astng-0.23.1

which technically trumps the above.

good to go.
Comment 1 Patrick Lauer gentoo-dev 2012-02-08 03:25:59 UTC
  File "<string>", line 73
    assert `1`
           ^
SyntaxError: invalid syntax

                              no stdout                               
                              no stderr                               
*******************************************************************************
Ran 102 test cases in 1.21s (0.59s CPU), 8 errors, 3 failures, 5 skipped
2 modules OK (7 failed)
failures: /var/tmp/portage/dev-python/astng-0.23.1/temp/test-3.2/usr/lib64/python3.2/site-packages/logilab/astng/test/unittest_regrtest [2/6], /var/tmp/portage/dev-python/astng-0.23.1/temp/test-3.2/usr/lib64/python3.2/site-packages/logilab/astng/test/unittest_inference [3/75], /var/tmp/portage/dev-python/astng-0.23.1/temp/test-3.2/usr/lib64/python3.2/site-packages/logilab/astng/test/unittest_nodes [1/1], /var/tmp/portage/dev-python/astng-0.23.1/temp/test-3.2/usr/lib64/python3.2/site-packages/logilab/astng/test/unittest_builder [1/1], /var/tmp/portage/dev-python/astng-0.23.1/temp/test-3.2/usr/lib64/python3.2/site-packages/logilab/astng/test/unittest_scoped_nodes [1/1], /var/tmp/portage/dev-python/astng-0.23.1/temp/test-3.2/usr/lib64/python3.2/site-packages/logilab/astng/test/unittest_lookup [1/1], /var/tmp/portage/dev-python/astng-0.23.1/temp/test-3.2/usr/lib64/python3.2/site-packages/logilab/astng/test/unittest_manager [2/8]
 * ERROR: dev-python/astng-0.23.1 failed (test phase):
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2012-03-16 17:56:01 UTC
Created attachment 305639 [details, diff]
ebuild patch for astng-0.23.1.ebuild made against a copied astng-0.22.0.ebuild

gentoo64 astng # FEATUES=test USE_PYTHON="2.5 2.6 2.7" ebuild astng-0.23.1.ebuild clean test

SKIPPED: test_3k_as_string (unittest_nodes.AsString)
check as_string for python 3k syntax
        test python 3k specific
*******************************************************************************
Ran 242 test cases in 2.09s (2.09s CPU), 3 skipped
All 9 modules OK

Python3 restricted.  good to go
Comment 3 Patrick Lauer gentoo-dev 2012-04-19 06:45:27 UTC
+  19 Apr 2012; Patrick Lauer <patrick@gentoo.org> +astng-0.23.1.ebuild:
+  Bump for #402171
Comment 4 Arfrever Frehtes Taifersar Arahesis 2012-04-19 23:39:59 UTC
dev-python/astng supports Python 3. Restricting of 3.* Python ABIs in dev-python/astng breaks dev-python/pylint, which supports Python 3 and depends on dev-python/astng.

astng-0.23.1 seems to be mostly based on astng-0.21.1.ebuild instead of astng-0.22.0.ebuild, so many fixes were lost.

dev-python/astng should not depend on dev-python/unittest2. dev-python/logilab-common already depends on dev-python/unittest2.
Comment 5 Mike Gilbert gentoo-dev 2012-04-19 23:41:19 UTC
Re-opening per Arfrever's comments.
Comment 6 Mike Gilbert gentoo-dev 2012-04-20 01:43:35 UTC
  20 Apr 2012; Mike Gilbert <floppym@gentoo.org> astng-0.23.1.ebuild:
  Rebase ebuild from 0.22.0, restoring python 3 support. Use separate source
  directories as this makes the test suite pass in python 2. TODO: Figure out
  why.