Created attachment 315575 [details, diff] ebuild patch archtester anyvc # ebuild anyvc-0.3.7.1.ebuild clean test running test suite as is, it fails on 2 tests, both from the 1 test def test_isdir(repo): in tests/repository/test_history.py. =================================== FAILURES =================================== ________________________ test_isdir[direct-subversion] _________________________ repo = <anyvc.subversion.repo.SubversionRepository object at 0x18a8ed0> ........................................... with root.join('testdir/test.txt').open('w') as f: > f.write("test") tests/repository/test_history.py:91: > svnfile = root.open_file(file) E SubversionException: ("File not found: transaction '0-0', path '/testdir/test.txt'", 160013) ------------------------------------------------ anyvc/subversion/repo.py:108: SubversionException ____________________________ test_isdir[direct-git] ____________________________ --------------------------------------------------- > assert head.isfile("/testdir/test.txt") E assert <bound method GitRevision.isfile of <anyvc.git.repo.GitRevision object at 0x1b00410>>('/testdir/test.txt') E + where <bound method GitRevision.isfile of <anyvc.git.repo.GitRevision object at 0x1b00410>> = <anyvc.git.repo.GitRevision object at 0x1b00410>.isfile tests/repository/test_history.py:94: AssertionError ========= 2 failed, 105 passed, 9 skipped, 6 xfailed in 77.53 seconds ========== I have confirmed that these is a test that can never pass because it's seeking a directory not there to be found. dir testdir && test.txt are not present in the source. with root.join('testdir/test.txt').open('w') as f: f.write("test") sees it assuming it has access to the / of system and therefore doesn't work run from an ebuild, so deleting this test from test file tests/repository/test_history.py. It could alternately be marked as an xfail; peas in a pod from ebuild of mercurial-2.2.2 PYTHON_USE_WITH="threads" The effect being that pypy support is defeated because python.eclass needs tweaking to distinguish python from pypy when it comes to PYTHON_USE_WITH. pypy can't even get tried until python.eclass 'knows' that pypy does not have a threads use flag. Does anyone know if it is supposed to support python3? Doesn't seem to say 1 way or the other, and tests error out only on print format.
Created attachment 315577 [details, diff] files/ patch deleting 1 test
RESOLVED: FIXED, ain't it?
aversion bump request is fixed when it's bumped. What fix are you talking about?
bumped 28 Jun 2012