Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 450666 - dev-python/hgtools: fails tests with python3.2+
Summary: dev-python/hgtools: fails tests with python3.2+
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL: https://bitbucket.org/jaraco/hgtools/...
Whiteboard:
Keywords:
Depends on:
Blocks: python-3.2
  Show dependency tree
 
Reported: 2013-01-06 22:47 UTC by Michał Górny
Modified: 2013-05-06 15:32 UTC (History)
3 users (show)

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


Attachments
Build log with python3.2 (build-python3.2.log,6.98 KB, text/plain)
2013-01-06 22:47 UTC, Michał Górny
Details
files/hgtools-doctest.patch (hgtools-doctest.patch,369 bytes, patch)
2013-05-04 09:31 UTC, Wang Jiajun
Details | Diff

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 2013-01-06 22:47:32 UTC
Created attachment 334686 [details]
Build log with python3.2

After fixing the ebuild to run the test suite, I get one small failure with python3.2+:

=========================================== FAILURES ============================================
___________________________________________ [doctest] ___________________________________________
063             """
064             >>> str(SummableVersion('1.9.3').as_number())
Expected:
    '1.93'
Got:
    '1.9300000000000002'

/tmp/portage/dev-python/hgtools-2.0.2/work/hgtools-2.0.2-python3_2/lib/hgtools/versioning.py:64: DocTestFailure
============================= 1 failed, 27 passed in 86.77 seconds ==============================
Comment 1 Tolga Dalman 2013-05-03 10:32:08 UTC
An upgrade to the latest version of hgtools should fix the problem. The issue you referenced is resolved now.
Comment 2 Wang Jiajun 2013-05-04 09:31:29 UTC
Created attachment 347330 [details, diff]
files/hgtools-doctest.patch

Here is the patch to fix the test failure, if you want to keep this version in the portage tree.

Now the issue does not exist in newer versions.
Comment 3 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2013-05-06 15:32:13 UTC
fixex in current version 2.0.2