Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 418151 - dev-python/autopep8-0.6.2 version bump request
Summary: dev-python/autopep8-0.6.2 version bump request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-29 16:01 UTC by Ian Delaney (RETIRED)
Modified: 2012-05-29 18:49 UTC (History)
2 users (show)

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


Attachments
ebuild patch (autopep8.patch,914 bytes, patch)
2012-05-29 16:01 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Delaney (RETIRED) gentoo-dev 2012-05-29 16:01:26 UTC
Created attachment 313539 [details, diff]
ebuild patch

archtester autopep8 # USE_PYTHON="2.6 2.7 2.7-pypy-1.8 3.1 3.2" ebuild autopep8-0.6.2.ebuild clean test merge
>>> Original instance of package unmerged safely.
 * Compilation and optimization of Python modules for CPython 2.6      [ ok ]
 * Compilation and optimization of Python modules for CPython 2.7      [ ok ]
 * Compilation and optimization of Python modules for PyPy 1.8 (Python 2.7) [ ok ]
 * Compilation and optimization of Python modules for CPython 3.1      [ ok ]
 * Compilation and optimization of Python modules for CPython 3.2      [ ok ]
>>> dev-python/autopep8-0.6.2 merged.

Note;  from setup.py
    tests_require=['nose'],
    test_suite='nose.collector',

Though it doesn't indicate anywhere that I can find, pep8-1.1 is required to pass tests.   pep8-1.0.1 installed sees 6 tests fail.  
RDEPEND=">=dev-python/pep8-1.1

python2.6 hangs during tests at

test_e231 (test_autopep8.TestFixPEP8Error) ... ^Z
[3]+  Stopped                 USE_PYTHON="2.6 2.7 2.7-pypy-1.8 3.1 3.2" ebuild autopep8-0.6.2.ebuild clean test merge

Subsequently;
PYTHON_TESTS_RESTRICTED_ABIS="2.6"
alternately
PYTHON_DEPEND="*:2.7"; &&  RESTRICT_PYTHON_ABIS="2.[56]"
Comment 1 Arfrever Frehtes Taifersar Arahesis 2012-05-29 16:43:50 UTC
All tests pass for me with CPython 2.6.
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2012-05-29 16:47:22 UTC
ok thanks Afrever.  I don't know what's invoking a hang here
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-05-29 18:49:43 UTC
+*autopep8-0.6.2 (29 May 2012)
+
+  29 May 2012; Kacper Kowalik <xarthisius@gentoo.org> +autopep8-0.6.2.ebuild:
+  Version bump wrt #418151 by Ian Delaney <johneed@hotmail.com>. Use github as
+  SRC_URI
+