Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 731730 - dev-python/pyenchant-3.1.0 fails tests
Summary: dev-python/pyenchant-3.1.0 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 731498 737618
  Show dependency tree
 
Reported: 2020-07-08 13:13 UTC by Agostino Sarubbo
Modified: 2020-08-19 03:34 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,16.33 KB, text/plain)
2020-07-08 13:13 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-07-08 13:13:15 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pyenchant fails tests.
Discovered on: ppc64  (internal ref: ppc64_at)
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-08 13:13:24 UTC
Created attachment 648370 [details]
build.log

build log and emerge --info
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2020-08-18 21:34:56 UTC
same on ia64
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2020-08-18 21:49:17 UTC
"""
            newobjs = list(_check_docstrings(obj, errors))
            tocheck.extend([obj for obj in newobjs if obj not in checked])
>       assert not errors
E       AssertionError: assert not [(<function set_prefix_dir at 0x3fffb9694680>, 'plugins', 55)]
"""

If I read _check_docstrings() definition correctly at https://github.com/pyenchant/pyenchant/blob/master/tests/test_docstrings.py#L124 spell checker does not like 'plugins' word in set_prefix_dir() docstring: https://github.com/pyenchant/pyenchant/blob/master/enchant/__init__.py#L903
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-08-19 03:19:34 UTC
So I suppose this depends on the installed dictionaries somehow.  In any case, this test is silly, so I'll just remove it.
Comment 5 Larry the Git Cow gentoo-dev 2020-08-19 03:34:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91bc663e322dec89f11ac037ed3d42529340c836

commit 91bc663e322dec89f11ac037ed3d42529340c836
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-08-19 03:23:23 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-08-19 03:34:43 +0000

    dev-python/pyenchant: Disable apparently broken self-spelling test
    
    Closes: https://bugs.gentoo.org/731730
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/pyenchant/pyenchant-3.1.0.ebuild | 5 +++++
 1 file changed, 5 insertions(+)