Summary: | dev-python/hgtools: fails tests with python3.2+ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
Component: | Current packages | Assignee: | Matthew Thode ( prometheanfire ) <prometheanfire> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, python, tdalman |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bitbucket.org/jaraco/hgtools/issue/11/hgtoolsversioning-doctest-fails-with | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 292402 | ||
Attachments: |
Build log with python3.2
files/hgtools-doctest.patch |
An upgrade to the latest version of hgtools should fix the problem. The issue you referenced is resolved now. 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.
fixex in current version 2.0.2 |
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 ==============================