Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887845 - dev-python/abydos-0.5.0-r3 fails tests (DASH-SYSTEM): ImportError: cannot import name float from numpy __init__.py)
Summary: dev-python/abydos-0.5.0-r3 fails tests (DASH-SYSTEM): ImportError: cannot imp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew Nowa Ammerlaan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-22 08:08 UTC by Agostino Sarubbo
Modified: 2023-10-16 12:17 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,828.94 KB, text/plain)
2022-12-22 08:08 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 2022-12-22 08:08:19 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/abydos-0.5.0-r3 fails tests (DASH-SYSTEM).
Discovered on: amd64 (internal ref: dash_tinderbox)

NOTE:
(DASH-SYSTEM) in the summary means that the bug was found on a machine that runs /bin/sh as dash but this bug MAY or MAY NOT BE related to dash.
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-22 08:08:22 UTC
Created attachment 844621 [details]
build.log

build log and emerge --info
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-12-22 14:32:13 UTC
Last commit in Jan 2021, and only test dep of dev-python/textdistance — let's add it to treecleaner queue but wait a few days in case anything happens.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-12-23 13:36:25 UTC
Small update:

1) the issue is actually fixed upstream, it didn't make it to a release yet

2) upstream indicated hope for a release by year's end

3) it turned out that textdistance's tests aren't using abydos after all, at least with the current deselect/ignore list

I'm going to check if test_external indeed needs deselecting.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-12-23 13:45:40 UTC
Ok, so unless I'm mistaken, textdistance's tests would pass just fine, if only abydos weren't broken due to numpy imports.
Comment 5 Larry the Git Cow gentoo-dev 2023-09-14 09:10:17 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=524f5d91aa54d596c9320b6e84ce0ee6f964b3cc

commit 524f5d91aa54d596c9320b6e84ce0ee6f964b3cc
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2023-09-14 09:08:58 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2023-09-14 09:08:58 +0000

    profiles: mask dev-python/abydos for removal
    
    Bug: https://bugs.gentoo.org/887845
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 profiles/package.mask | 8 ++++++++
 1 file changed, 8 insertions(+)
Comment 6 Larry the Git Cow gentoo-dev 2023-10-16 12:17:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=107769aa6737b77533d55f9f961f6a2727c616a7

commit 107769aa6737b77533d55f9f961f6a2727c616a7
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2023-10-16 12:15:32 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2023-10-16 12:15:32 +0000

    dev-python/abydos: treeclean
    
    Closes: https://bugs.gentoo.org/887845
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 dev-python/abydos/Manifest                         |  1 -
 dev-python/abydos/abydos-0.5.0-r3.ebuild           | 51 ----------------------
 .../abydos/files/abydos-0.5.0-fix-py3.10.patch     | 33 --------------
 dev-python/abydos/metadata.xml                     | 13 ------
 profiles/package.mask                              |  8 ----
 5 files changed, 106 deletions(-)